After bein able to sync my instrument to the host bars / beats, now I’m struggling to send MIDI from it to Reaper.
As a quick check I tried the MIDI Arpeggiator example, which uses the noteondur opcode. It works, but when I use it inside my k-rate trigger nothing is received from Reaper.
In my basic test a just wrote:
if kTrigger==1 then
noteondur 1, 60, 80, 0.5
endif
The instrument uses the usual score to run for 1 week.
I expect it to send a noteon, followed by a noteoff after 0.5 seconds, on channel 1.
I’ve used the same CsOptions from the Arpeggiator, and I’ve exported the VST as a synth.
Questions:
is there something that should be done to ensure that MIDI out is correctly routed to the DAW?
how to send noteondur to any channel (insteaf of one from 1-16)?