Spencer Salazarnew testing framework3e7be8b13 years agoHistory
27 lines · 382 B · Text
RawDownload
// 38.ck : midi (fail-correct)	 MidiOut mout;MidiMsg msg; // open (see 'chuck --probe')if( !mout.open( 0 ) ){    <<<"bad">>>;    me.exit();} // infinite time loopwhile( true ){    // make MIDI msg    144 => msg.data1;    std.rand2( 10, 80 ) => msg.data2;    std.rand2( 40, 100 ) => msg.data3;     // send it    mout.send( msg );     // wait    100::ms => now;} 

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t