Hi,
I’ve changed the gate example to send a midi message when it is triggered, so I can have an audio to midi trigger, for drum triggering. However this only works the first time. I looked into it more, and if I build the midi out example with no changes and connect it to a synth or the midi monitor example it doesn’t work for correctly when pressing the keyboard. I’ve tried the latest windows beta and the current release build. I’m running windows 10.
I also have an issue with only the last variable in a received OSC message being received.
kk OSClisten gilisten, "/midi", "iiii", kst, kch, kd1, kd2
if (kk == 0) goto done
printks "kst = %i, kch = %i, kd1 = %i, kd2 = %i\\n", \
0.1, kst, kch, kd1, kd2
midiout kst, kch, kd1, kd2
This is basically the default example of OSC from the csound site, with midiout added. If I don’t have the midiout it behaves the same. Only the kd2 variable has a valid value. If I change the types or add more or less values it’s always the same. I’ve tried sending from c with liblo and python with python-osc, with the identical outcome. I’ve got no idea if I’m doing something wrong or if this isn’t supported.
Thanks.