I was caught bragging to my peers (all of them) about how cool chuck is to do performance and real-time good stuff. One asked me about joystick interfaces into chuck and I blanked out. I didn't have an answer -- I should have. So, does anybody know how to read a joystick and get the info into (or through) chuck? Even a Rube Goldberg approach might help me here, although extra credit is given for simplicity and elegance. If the answer only worked on the Mac OS X implementation, that would be just fine. Jim
Sad news, my friend. It isn't there yet, but it is coming. I use the P5 virtual glove with ChucK and everything is just peachy, but you have to grab the input from another program. The open source way to do it is to use PD and grab the HID object (I forget who wrote it, it isn't part of the vanilla install). You can then send OSC from PD to ChucK. Not pretty but it works. I have discussed with Ge about putting this functionality. We are looking for good cross platform HID libraries. GLUT is no good because you need window focus. Any suggestions? This feature was promised with the famous screenshot... (sorry to bring that up again) Take care. --art On 19-Feb-06, at 5:50 PM, Jim Hinds wrote:
I was caught bragging to my peers (all of them) about how cool chuck is to do performance and real-time good stuff. One asked me about joystick interfaces into chuck and I blanked out. I didn't have an answer -- I should have.
So, does anybody know how to read a joystick and get the info into (or through) chuck? Even a Rube Goldberg approach might help me here, although extra credit is given for simplicity and elegance.
If the answer only worked on the Mac OS X implementation, that would be just fine.
Jim _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Adam Tindale
Sad news, my friend.
It isn't there yet, but it is coming. I use the P5 virtual glove with ChucK and everything is just peachy, but you have to grab the input from another program. The open source way to do it is to use PD and grab the HID object (I forget who wrote it, it isn't part of the vanilla install). You can then send OSC from PD to ChucK. Not pretty but it works.
Another approach is to turn your joystick into MIDI messages which then could be used by chuck. This can be done with PD on all platforms (but I only know that it would be trivial to interconnect MIDI-aware applications on Linux). Other than that, there is a simple applications for linux, called aseqjoy which does just that. http://www.terminatorx.org. It didn't work for me, for some reason, but I have a strange joystick(?!). ./MiS
HID support is definitely coming. We will probably (ab)use the SDL library. Several of us (Spencer, Martin, and me) have been brainstorming about this. Hopefully we will see HID support take form in the next few months, maybe sooner. Best, Ge! On Feb 19, 2006, at 9:17 PM, Adam Tindale wrote:
Sad news, my friend.
It isn't there yet, but it is coming. I use the P5 virtual glove with ChucK and everything is just peachy, but you have to grab the input from another program. The open source way to do it is to use PD and grab the HID object (I forget who wrote it, it isn't part of the vanilla install). You can then send OSC from PD to ChucK. Not pretty but it works.
I have discussed with Ge about putting this functionality. We are looking for good cross platform HID libraries. GLUT is no good because you need window focus. Any suggestions? This feature was promised with the famous screenshot... (sorry to bring that up again)
Take care.
--art
On 19-Feb-06, at 5:50 PM, Jim Hinds wrote:
I was caught bragging to my peers (all of them) about how cool chuck is to do performance and real-time good stuff. One asked me about joystick interfaces into chuck and I blanked out. I didn't have an answer -- I should have.
So, does anybody know how to read a joystick and get the info into (or through) chuck? Even a Rube Goldberg approach might help me here, although extra credit is given for simplicity and elegance.
If the answer only worked on the Mac OS X implementation, that would be just fine.
Jim _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Jim, I've been using joysticks to control Chuck through Open Sound Control messages for a few months now, and I've been happy with the results. I wrote a short joystick->OSC program using CNMAT 's libOSC ( http://www.cnmat.berkeley.edu/OpenSoundControl/ ) and the joystick wrapper library ( http://wolfpack.twu.net/libjsw/ ). I'm a novice C programmer, and, thanks to the examples included with libOSC and libjsw, I was able to hack together a working program much more quickly than I had expected. Though the libjsw homepage mentions support on all platforms, I never was able to use it with Mac OS X. Sucks! If you wanna see my geeky joystick video, its at: http://www.gilliesfamily.org/tyler/movies/joysticks.mp4 - Tyler Gillies On Feb 19, 2006, at 10:50 PM, Jim Hinds wrote:
I was caught bragging to my peers (all of them) about how cool chuck is to do performance and real-time good stuff. One asked me about joystick interfaces into chuck and I blanked out. I didn't have an answer -- I should have.
So, does anybody know how to read a joystick and get the info into (or through) chuck? Even a Rube Goldberg approach might help me here, although extra credit is given for simplicity and elegance.
If the answer only worked on the Mac OS X implementation, that would be just fine.
Jim _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (5)
-
Adam Tindale
-
Ge Wang
-
Jim Hinds
-
Michal Seta
-
Tyler Gillies