//========================================================== // // hello midi! // 2.20.10 joe mariglio // // see my blog for deets on how to implement an IAC in // OSX, then use this patch to make garbage. // //========================================================== MIDIClient.init; ~out = MIDIOut(0); ~task = Routine({ inf.do({ var num; num = 127.rand; ~out.noteOn(0, num, 60); wait(8/num.midicps); ~out.noteOff(0, num, 60); }); ~out.allNotesOff(0); }); ~task.play;