[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Control signals to SC server
Concerning your problem with MouseX: Have a look at this tutorial:
http://www.informatics.sussex.ac.uk/users/nc81/courses/cm1/scfiles/1.1%20Getting%20Started.html
At the end of the document, I think you find what you want:
> However, via SwingOSC you can make a mouse area for controlling patches:
>
> JMouseBase.makeGUI //run me first, you only need to run this part once and
> can keep using this window then in any code with a MouseX or MouseY UGen,
> add a J in front, i.e.
>
> {SinOsc.ar(JMouseX.kr(400,800),0,0.1)}.play //now move the mouse in the
> Java window you created
>
> rather than
>
> {SinOsc.ar(MouseX.kr(400,800),0,0.1)}.play
>
--
View this message in context: http://n2.nabble.com/Control-signals-to-SC-server-tp3333411p3333528.html
Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/