[chuck-users] MIDI tutorial problem

Peter Lutek plutek at infinity.net
Mon Aug 6 21:06:27 EDT 2012


  BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px;
}greetings!
 a chuck novice here, so likely some silly user error!....  ;-)
 working through the tutorials in the pdf manual, when following the
Getting MIDI section, if i do this...
 MidiIn min;
 if( !min.open(1) ) { me.exit(); }
 while(true){
     min => now;
     while( min.recv(msg) ){
         ;
     }
 }
 ...chuck throws me an "undefined variable 'msg'..." error!
 something i'm missing?
 recent change in MIDI syntax? (i'm on chuck v1.2.1.3 on linux)
 "chuck  --probe" does show my desired MIDI interface as "1".
 thanks in advance... cheers!
 .pltk.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20120806/d0463fd6/attachment.htm>


More information about the chuck-users mailing list