Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Xavier

Pages: [1] 2 3 ... 78
1
PreenFM2 / Re: global tune, midi-offset for presets and more...
« on: August 15, 2017, 03:21:43 PM »

Cool for the global tune !  :)

oscillator structure is definied here :
https://github.com/Ixox/preenfm2/blob/master/src/synth/Common.h#L324
This structure is used in the global Synth param structure :
https://github.com/Ixox/preenfm2/blob/master/src/synth/Common.h#L398
Then this global structure variable is defined at the instrument level here :
https://github.com/Ixox/preenfm2/blob/master/src/synth/Timbre.h#L159
(I need to get rid of the space/tab problem, indentation is not nice in github ;) )

Adding a new parameterrowengine is not easy, it will make your memory mapping incompatible with the current presets saved on your USB.
I have this problem for a very long time so that's why convertMemoryToParam and convertParamToMemory functions are for :)
https://github.com/Ixox/preenfm2/blob/master/src/filesystem/PreenFMFileType.cpp#L252

Xavier

2
PreenFM2 / Re: Thoughts about operator tuning
« on: August 15, 2017, 03:03:51 PM »
I'm away from home for a couple of weeks still so i cannot try anything.

The suggestion from SirPrimalform in the first message of this thread sounds good to me.
Here are some clues.

I don't think you need new variables.
Add a new Constant here :
https://github.com/Ixox/preenfm2/blob/master/src/synth/SynthState.h#L250

Modify SynthState.cpp
https://github.com/Ixox/preenfm2/blob/master/src/synth/SynthState.cpp#L198
To add your UI string for this new "Frequency type" value.
Line 204 replace OSC_FT_FIXE by the new constat you added in SynthState.h.

At this point the value should show up in the UI.

Modify Osc.cpp and add a "case" in the switch to calculate your frequecy when the new Ftype is selected.
Use the variable detune for your Hertz detune calculation.

I don't think you need to modify FMDIsplay.cpp but you can search for "OSC_FT_" and see there are some hack there to have the display show/hide ftune depending on FType.

Make sense ?

3
PreenFM2 / Re: Thoughts about operator tuning
« on: August 14, 2017, 03:56:28 PM »
this is an old topic, but i would like to see this implemented as well!

I don't have any plan to implement this.
But Lokki, now you know where the change would be  ;)
https://github.com/Ixox/preenfm2/blob/master/src/synth/Osc.cpp#L178

Ftype menu is defined here :
https://github.com/Ixox/preenfm2/blob/master/src/synth/SynthState.cpp#L204

Xavier

4
PreenFM2 / Re: Envelope for amplitude ?
« on: August 14, 2017, 03:43:24 PM »
Hi,

Every operator has its own enveloppe that can be set. See part 2 here :
http://ixox.fr/preenfm2/manual/synth-edit-mode/


Xavier

5
PreenFM2 / Re: simply great
« on: August 14, 2017, 03:39:07 PM »

Thanks for the feedback :)
So glad to read this....

6
PreenFM2 / Re: global tune, midi-offset for presets and more...
« on: August 14, 2017, 03:37:29 PM »
.... would need some ideas as to where the midi to frequency is happening in the code, global-tune would just be a constant fractional value added to the midi note.

Here is the newNote function where the frequency array is used.
https://github.com/Ixox/preenfm2/blob/master/src/synth/Osc.cpp#L180
(+ glideToNote function just bellow).

In the Osc.cpp init function, it should be easy to modify frequencies. Multiply all 128 values by 442/440 and you'll get a 442 hertz reference.

The array is one of the pre-generated array in :
https://github.com/Ixox/preenfm2/blob/master/waveforms/waves.c

Xavier

7
PreenFM2 / Re: Screen problem
« on: August 11, 2017, 10:08:07 AM »
Hi,

If trying another power don't change anything.

You have to open your preenfm2 :
. Try to reinsert the preenF405 and the display.

Still does not work ?
. Resolder the connection points. The header on the display, the header on the PCB and the preenF405 40 pins socket.

Xavier

8
PreenFM2 / Re: 2 filters in parallel
« on: August 09, 2017, 11:05:01 AM »
Hi,

That would require some changes, but why not..
The FX are implemented here :
https://github.com/Ixox/preenfm2/blob/master/src/synth/Timbre.cpp#L491

A solution that should work without modification, is to have all instruments with same preset and listening to the same midi channel.
Set a different filter for each instrument.
You'll get 4 filters in parallel, but with limited polyphony.

Xavier

9
PreenFM2 / Re: USB noise - cheap solution!
« on: August 09, 2017, 10:58:49 AM »

Thanks for the info  :)

When you power with a PSU AND plug the USB to a computer, did you remove the JMP2 jumper ?

Removing the JMP2 will prevent using the power from the USB.
If you leave it you have current from both the PSU and the computer coming in the preenfm2 which must be avoided.

Xavier

10
PreenFM2 / Re: Arpeggiator Latch and All Sounds Off
« on: August 03, 2017, 04:16:34 PM »

Yes sounds like a bug. Not very high priority though.
I think you can still press "INST"&"MENU" to stop all sounds.

Xavier

11
PreenFM2 / Re: Full-Speed NPRN dump crashing
« on: August 03, 2017, 04:14:38 PM »

You can try to increase the midi in buffer size and see if that fixes your problem :
https://github.com/Ixox/preenfm2/blob/master/src/PreenFM_irq.c#L24

If there's not enough CCM memory anymore try to remove "__attribute__ ((section(".ccmnoload")));"

Xavier

12
PreenFM2 / Re: midi channel for combo program change
« on: August 02, 2017, 12:46:06 PM »

Cool thanks...  :)
That's an interesting modification.

13
PreenFM2 / Re: Revised PreenFM2 MIDI page
« on: August 02, 2017, 12:43:51 PM »
NRPN has no limit, but crash free is not guarantee.
The preenfm2 UI has a limit.
As simple as that ;)

Xavier

14
PreenFM2 / Re: Revised PreenFM2 MIDI page
« on: July 31, 2017, 02:53:12 PM »
Thanks  :)
I'll make a diff and update the page.

Xavier

15

I'll take a look at your #3. Doesn't it work with my editor ?
(I cannot verify right now).

Sysex in the preenfm 2 : "Sysex can be used to store and restore single presets. This sysex is not really usable outside the preenfm2. It contains a memory dump of the the preenfm2 memory. Set of 32 bits floating point numbers split in 7bits messages."

Can also be used to easily copy a preset from a preenfm2 to another one.

It dumps the presets of your current instrument (but double check that).

preenfm2 sysex dumps were not done to be edited.

Xavier


Pages: [1] 2 3 ... 78