[chuck-users] sending program change

Atte André Jensen atte.jensen at gmail.com
Fri Jun 6 04:39:14 EDT 2008

Atte André Jensen wrote:

> 192 => midimessage.data1;
> 3 => midimessage.data2;
> bcrMidiOut.send(midimessage);

A complete example, ready-to-run would go like this:

2 => int device;
MidiMsg midimessage;
MidiOut midiOut;
if(!midiOut.open(device)) me.exit();
192 => midimessage.data1;
3 => midimessage.data2;

NB: If I receive a program change from my micron, data3 contains 
something in the area of 191. Sometimes 180, sometimes 183, sometimes 
something else. It's always the same until I stop chuck, the next time 
the content is another number. Strange...

peace, love & harmony

http://atte.dk       | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk

More information about the chuck-users mailing list