We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › ControllSlider in ProControll
Page Index Toggle Pages: 1
ControllSlider in ProControll (Read 582 times)
ControllSlider in ProControll
Sep 18th, 2009, 9:14am
 
Hey all,
I'm looking for an event-oriented way to get access to the slider data from my joystick. With all the other ways input is available in ProControll (buttons, cooliehat), you can use the 'plug' method, so you don't have to use the 'get' methods every couple milliseconds to acquire the new button data. Is there any way to do this with the sliders and sticks in ProControll, or is the only real solution to start a new Thread and poll the stick every couple milliseconds?
Thanks!
Re: ControllSlider in ProControll
Reply #1 - Sep 18th, 2009, 9:19am
 
(anticipating the question ...)
Perhaps I should explain what I'm doing. I'm planning on using my joystick to interface a GUI that communicates with Supercollider over OSC. It's kind of important that the audio output get priority, since I'm planning on using it in a performance situation - so I'm planning on using noLoop() in processing, and redrawing ONLY when the gui needs updating, rather than 60 times a second.  Thus, I'd like to avoid having to start another Thread just to find out the slider values intermittently.
Page Index Toggle Pages: 1