Global velocity modulator issue
-
@d-healey Glad you found a solution mate ;)
So if I understand well this function returns the Gain (0-1 based) because the Voice Start Mod is in the Gain modulation...function onVoiceStart(voiceIndex) { return g_velocity / 127.0;}
-
-
Thought there was nothing in the doc yet... Wrong me...
-
I think it's probably better to use a midiList and record the velocity for each individual note, although this might be overkill
return g_velocity.getValue(Message.getNoteNumber()) / 127.0;
Although this won't work if you're offsetting note positions.