new functions in svn and beta binary:  mouse-x mouse-y and mouse- 
button, which behave almost exactly like their supercollider  
originals.  see cm.html for documentation

http://camil.music.uiuc.edu/software/grace/Grace-3.7.0-beta5-osx.zip

example:

process maus (beat , amp)
   for x = mouse-x(.1, 1.0)
   for y = mouse-y(90, 20)
   for r = beat * x
   until mouse-button()
   mp:midi(key: y + between(-3,3), amp: amp, dur: r)
   wait(r)
end



sprout(maus(.2, .3))



_______________________________________________
Cmdist mailing list
[email protected]
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to