Recent Posts

Pages: [1] 2 3 ... 10
1
PreenFM2 / Re: MIDI messages question
« Last post by Xavier on June 21, 2017, 09:14:15 PM »

For all NRPN floating point params : the forumla is :
Code: [Select]
            valueToSend = (floatValue - param->minValue) * 100.0f + .1f ; // minValue if the minimal value authorized for the param (-1.0; 0.0...).
            cc.value[0] = 6;
            cc.value[1] = (unsigned char) (valueToSend >> 7);
            sendMidiCCOut(&cc, false);
            cc.value[0] = 38;
            cc.value[1] = (unsigned char) (valueToSend & 127);
            sendMidiCCOut(&cc, false);

IF the minimal value of the param is 0.0 which is the case for ADSR.
The NRPN 14 bits value is the time in 1/100th of seconds.

If you use CC you cannot send all values :
https://github.com/Ixox/preenfm2/blob/master/src/midi/MidiDecoder.cpp#L477
The param will be value/64 in sec for A, and /32 for R.

Xavier

2
PreenFM2 / Re: MIDI messages question
« Last post by chaocrator on June 16, 2017, 01:40:45 PM »
yet another question is how the values of parameters like IM or A, D, S, R are actually calculated.
i'm trying to understand whether i should send those values as 7-bit or as 14-bit.
3
PreenFM2 / Re: MIDI messages question
« Last post by chaocrator on June 14, 2017, 10:21:23 AM »
theoretically, no other errors at the moment.
anyway, this week i will test every single parameter input one by one, so i'll let you know if something will not work as expected.
4
PreenFM2 / Re: MIDI messages question
« Last post by Xavier on June 14, 2017, 09:12:32 AM »
Thanks a lot for your message. I fixed the errors.

LFO <n> : NRPN LSB should use (n-1) in the formula instead of n.

Let me know if you find other errors.

Xavier
5
PreenFM2 / MIDI messages question
« Last post by chaocrator on June 12, 2017, 11:24:51 AM »
making a PreenFM2 template for my NRPN-capable hardware MIDI controller, i encountered the following issue.

midi messages manual says:

LFO <n> Shape              MSB = 1   LSB = 40 + n*4       where 1 <= n <= 3

which results: 40+1*4 = 44 for LFO1, 40 + 2*4 = 48 for LFO2, and 40 + 3*4 = 52 for LFO 3
but according to the manual,
Free Env1 Attack           MSB = 1   LSB = 52

same for
LFO <n> Freqency           MSB = 1   LSB = 41 + n*4       where 1 <= n <= 3

results: 41+1*4 = 45 for LFO1, 41 + 2*4 = 49 for LFO2, and 41 + 3*4 = 53 for LFO 3
but according to the manual,
Free Env1 Decay            MSB = 1   LSB = 53

same for
LFO <n> Bias               MSB = 1   LSB = 42 + n*4       where 1 <= n <= 3

results: 42+1*4 = 46 for LFO1, 42 + 2*4 = 50 for LFO2, and 42 + 3*4 = 54 for LFO 3
but according to the manual,
Free Env1 Sustain          MSB = 1   LSB = 54

and same for
LFO <n> Key Sync           MSB = 1   LSB = 43 + n*4       where 1 <= n <= 3

results: 43+1*4 = 47 for LFO1, 43 + 2*4 = 51 for LFO2, and 43 + 3*4 = 55 for LFO 3
but according to the manual,
Free Env1 Release          MSB = 1   LSB = 55

so, the question is: where's the error ?
thanks in advance.
6
PreenFM2 / Re: Harsh noise at 13,5kHz from preenFM2
« Last post by Xavier on June 11, 2017, 08:17:40 AM »
Does this noise happen with all PCB versions?  Does it happen with R5c?

I just realised there was an PCB version error in the link above. I wrote R4 instead of R5.
Should be clearer now:
http://ixox.fr/forum/index.php?topic=69159.0

The noise come from the yellow OLED display so 'yes'.
With R5c the shield modification is doable but more complicated than with the R5d.
A safe way to avoid the problem is to use a LCD display (unfortunately not compatible with the metal case).

I learnt recently that some web site sells the R5c version   :-\
7
PreenFM2 / Re: Harsh noise at 13,5kHz from preenFM2
« Last post by blooper on June 11, 2017, 12:56:36 AM »
Does this noise happen with all PCB versions?  Does it happen with R5c?
8
PreenFM2 / Re: operator feedback
« Last post by chaocrator on June 10, 2017, 02:33:18 PM »
I was just looking over the DX7 algorithms and noticed that some allowed an operator to have feedback. I was wondering how we could do this on the PreenFM2?
in case of sine operator waveform (as in classic yamaha DX synths), the spectrum of the feedback operator output resembles the spectrum of the sawtooth wave.
so, when recreating classic yamaha patches, the very first quick and dirty workaround for feedback emulation is changing waveform of the supposed-to-be-feedback operator from sine to sawtooth.

more accurate workaround would be using custom waveforms, recreating forms of single operator output waves with feedback values from 1 to 7.
9
PreenFM2 / Re: PreenFM2 in recordings ;)
« Last post by Xavier on June 05, 2017, 11:09:29 AM »

 :)
The track preen1bank2 is very very nice:
https://media.hardwax.com/audio/77991_B2.mp3
10
PreenFM2 / Re: PreenFM2 in recordings ;)
« Last post by kuzma_p on June 05, 2017, 11:09:03 AM »
Thanks Xavier!
And also thanks for wonderful PreenFM2!
Pages: [1] 2 3 ... 10