I'm not sure whether anyone else has used the 40h with ChucK (http://chuck.cs.princeton.edu), but since it's a music development language often used for doing interesting controller stuff and has built in OSC support... After banging my head against the wall fiddling with left-right ordering in complex Max patches, it was nice to be able to get something a few lines long lighting up the 40h :) B>
on 03.01.2007 16:37
on 03.01.2007 16:44
chuck is really promising. i met the guys from princeton awhile back, they seem quite dedicated. best of all it's open-source. it'd be great to see some examples (even the most boring) if you'd be inclined to post them.
on 03.01.2007 16:58
I've been tinkering with ChucK for a while. I figured out how to add a function to do note-name -> MIDI note number into the base library a few months back, fixed the MIDI port display, and wrote a library of midi (output) handling routines in ChucK that made it much easier for me to work with my MIDI kit. I think most of the ChucK people do direct audio generation/manipulation in ChucK which is interesting as well. I've only got output to the 40h working at the moment, as soon as re-find the page with the OSC input example, I'll hack something simple together and post it here. B>
on 03.01.2007 18:05
Alright. Done. I've written a simple follower, currently it doesn't do anything, but it would be really easy to add MIDI sending on configurable channels for example. It treats the 40h as a x-y trackpad. THe current illimunate square is the nearest integer point to the current value which returns to the center if left alone. If you press a button, the point heads over to there, leaving a short-live light trail. I think its' pretty nifty, and it was vastly easier to write in ChucK that it would have been in Max/MSP :) Grab my source from http://www.rattus.net/~packrat/audio/ChucK/monome/files/follow-40h.ck Then grab the latest miniaudicle (nice graphical environment, or you can grab the command-line ChucK) from http://chuck.cs.princeton.edu/ Works find on my macbook. You might be surprised as to how little effort it took. B>
on 03.01.2007 19:05
very nice! i got it running almost instantly, really simple install. the code is really clear also. do you mind if i post this up on the wiki?
on 03.01.2007 19:08
tehn wrote: > very nice! i got it running almost instantly, really simple install. the > code is really clear also. > > do you mind if i post this up on the wiki? Please do. Can you post a link, I'm going to be putting a little time into adding features and cleaning up the display some and then turning it into something really useful. I'll put some documentation about it on the webpage if and when it becomes useful too. I was pleasantly surprised at how quickly I could put it together. B>
on 03.01.2007 19:53
added a wiki page for the follower (i like it, it's a great simple example for chuck) http://wiki.monome.org/view/AppChuckFollow i'd be very excited to see more examples. on that note, where are all of the processing and supercollider people?
on 16.01.2007 09:52
Hi, im on an ibook 10.4, had no luck gettin Chuck to work last night, prob something I'm not clued up on, but following the chuck sites instructions I had no luck finding the directory. Any hints as to finding out where i'm going wrong would be great; perhaps I need to study the terminal properly, I only used it a couple times. Thanks, Rob.