Code: Select all
sendVoiceModulation ( voiceId ,
id ,
targetValue ,
rampTime
) id = modulation id.... what is this , id of a modulator? and where can I get it from?
EDIT: an while I'm asking... how can I get the current note played by a voice?
(Im going to need this if Im going to send a poly pressure message... and obviously I'm not keen on keeping track of the active notes myself
EDIT2: to confirm my plan....
Im going to allowing notes on any midi channel, so I then need to be able to from a CC change the volume/pitch and polyAT based on the midi channel.
looking at the API this means when I get a CC message, I know the midi channel, so from this I need to:
- use this midi channel to get to the voice id
- then use the voice id, to get the voice and change the volume
- from a voice/midi channel determine the current note played, so i can generate the polyAT message to send
Im currently guessing Im going to have to do a onNote handle so I can play the note on a specific voiceId, and then track this myself... or is there a better way?

