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] 4 5 ... 79
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.
(+ 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 :


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

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.


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

That would require some changes, but why not..
The FX are implemented here :

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.


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.


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.


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 :

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


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

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

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 ;)


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



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.


PreenFM2 / Re: PC/Mac Editor version 2.00
« on: July 31, 2017, 11:46:19 AM »

Did you correctly assign the midi out/in in the options/midi settings menu ?

I know it's weird as it's midi only but you also have to select a sample rate supported by your audio hardware.

PreenFM2 / Re: midi channel for combo program change
« on: July 31, 2017, 11:39:38 AM »
Nice to see people digging into the code  :)

I think you're lookging for this :
You could add a MIDI_CHANNEL_ALL that would listen to a specific midi channel a spread the commands to the 4 instruments.

The UI structures is defined here :

Defaults values are here :

And the midi command to instruments is here :



From what i understand with NRPN, the device chose for each of its parameter whether CC38 is required.
Once you know for one parameter whether it must be sent (or not), you have to send it (or not).

The preenfm2 always expect CC38 to be sent. That's simple :)

I don't know what you send to CC 100 and 101, so it's difficult to guess why that makes your preenfm2 slow down.

Any patch are welcome, i don't guarantee i'll put it in the official firmware though ;)

PreenFM2 / Re: NRPN and MIDI documentation questions and issues
« on: July 25, 2017, 10:44:36 PM »
Quote from: feijai
I'm confused by this.  Each of the step sequencers has a gate, which is an available destination for modulation.  But there is also the "Gate" destination.  Where does this go?  How does it differ from the step sequencer gates?  Is it documented somewhere?
Also, what is O*Fh?  It also doesn't appear to be documented.

Both step sequencers has a gate. But the gate effect is a totally different gate.
It an internal effect in serial with the LH/BP... effect.
Try to play with it, you'll understand.

Docs needs to be updated for O*fh : explanation is currently here
New in firmware 2.05

Quote from: feijai
17. All clickable encoders are connected to the same digital in... So they cannot have different behaviour.
:-(  There were many opportunities there.  :-(

PCB/hardware limit.


As you noticed, the preenfm2 it not NRPN proof, sending wrong value can crash it.

7.8. I unlinked the order in the preenfm2 UI and the internal value. preenfm2 had many firmware upgrades which saw new parameters, some parameters needed a new internal value but had to be inserted in the existing list.

9. for freq >= 1.0 the increment/decrement is set to 0.1.

10. agreed.

11. The number of voice is supposed to be the number of voices saved with the preset. Or if the other instruments have voices that prevent this number to be set for the newly loaded preset.

12. Not sure i understand. Saving sysex dump all current instrument parameteres. Combo are the 4 instruments saved at the same time.

Pages: 1 2 [3] 4 5 ... 79