Not that I am aware of. If something isnt documented I usually end up having to look it up in the chuck source. For instance the MidiOut object is imported into the type system in chuck_lang.cpp, so thats where all of its available methods and variables are listed. I admit that "Read the fine source code" is far worse than "Read the fine manual" in the spectrum of unhelpful mailing-list replies... but i suppose for now I can post this example online, and try to finish documenting the other areas that havent been fully documented. I think an online class listing would be a good start. spencer On Jun 13, 2006, at 5:24 PM, Ollie Glass wrote:
Thanks for the example, that's perfect. I guessed it would be straightforward to use.
Is there a ChucK object browser, or any way to print all the properties of an object?
Ollie
Hey there, Sorry for the late reply. There isnt any documentation for it, but its pretty simple. In case youre still wondering, heres an example that just sends a noteOn and noteOff.
// data structures MidiOut mout; MidiMsg msg;
// connect if( !mout.open( 0 ) ) me.exit(); <<< "connected to MIDI port 0", "" >>>;
// noteOn 0x90 => msg.data1; 60 => msg.data2; 127 => msg.data3;
// send mout.send( msg );
// wait 1::second => now;
0x80 => msg.data1; 60 => msg.data2;
mout.send( msg );
hope this helps, spencer
On Jun 5, 2006, at 8:07 AM, Ollie Glass wrote:
Is there any documentation available for the MidiOut object?
Thanks,
Ollie _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users