Synth.sendController with specified midi channel? (solved)
ulrik last edited by ulrik
Could we have
Synth.sendController(int channel, int controllerNumber, int controllerValue, int timeStampSamples) just like the addNoteOn? Synth.addNoteOn(int channel, int noteNumber, int velocity, int timeStampSamples)
I could use this for sending cc's outside the Controller Callback
@ulrik and the Message.setChannel() doesn't seem to work in this project.
It's a MidiFX plugin and, as I wrote in this thread
The NoteOn callback always send the messages on ch 1, even though the 4 MidiPlayers events send on ch 1 -4.
So in that example I moved all midi out events to the TransportHandlers Grid Callback and used the
Synth.addNoteOn(int channel, int noteNumber, int velocity, int timeStampSamples)
to specify the midi channels, and that worked so....
I was thinking that maybe it will work with sending continuous controllers as well?
Christoph Hart last edited by
@ulrik if you use Synth.sendMessageFromHolder you can specify almost every event property including the channel.
@Christoph-Hart Ok, I'll try that thank you!
gives me error
Function / constant not found: Synth.sendMessageFromHolder
@ulrik is this function new, I don't find it in the API
@ulrik ok, it was
@Christoph-Hart worked great!