[chuck-users] creating midi ports without connecting

Atte André Jensen atte.jensen at gmail.com
Sat Mar 13 09:06:06 EST 2010


The following is from "polyfony.ck":

// device to open (see: chuck --probe)
0 => int device;
// get from command line
if( me.args() ) me.arg(0) => Std.atoi => device;
MidiIn min;
MidiMsg msg;
// try to open MIDI port (see chuck --probe for available devices)
if( !min.open( device ) ) me.exit();

I see and use this all the time; creating midi out/in ports by 
connecting to something.  But how can I create a midi port that's not 
connected to anything?


http://atte.dk   http://modlys.dk

More information about the chuck-users mailing list