Sending Midi to a CSound instrument

Oct 11, 2010 at 4:52pm

Sending Midi to a CSound instrument


I am trying to send midi control change messages from max4live to a csound instrument which is loaded into the csound~ object in max4live. Basically I want to be able to set up an ableton live control dial to control a parameter in the csound instrument.
I have created a number object (for the control number) and an ableton control dial, these then go into a pack object, which is fed into the midiformat object and then into the midi inlet of the csound~ instrument.
My problem is the midi control messages are only sent once, I want a stream of midi messages sent to the csound instrument so I can change the sound over time. The control changes are triggered only if I change the control number from whatever it is to another value then back, or if I use a toggle on the number( which also sends the midi message only once).
Do I have to set up a metro object to keep the midiformat constantly transmitting the midi control messages? I’m stumped.

Oct 11, 2010 at 6:19pm

Try using the [pak] object instead of [pack].
It produces output when receiving input on any inlet.

Oct 11, 2010 at 10:14pm

That worked great broc, thanks!


You must be logged in to reply to this topic.