Re: [chuck-users] new [chuck~] max/msp object
Very cool. I'll have to give that a try. Speaking of interoperability, what's the best way to talk to ChucK from Processing (on OS X)? Calling out to the command line? Have Processing send out MIDI notes, and ChucK listening for them? Or has anyone written a Processing library that either wraps ChucK or provides an interface? Just curious. -- *Chuck Ivy,* research artist chuckivy@gmail.com 323.842.0357 http://www.chuckivy.com/
Typically one uses the OSC protocol to integrate ChucK and Processing.
http://opensoundcontrol.org
By loosely coupling in this manner, the same code can integrate with other apps (pd, max, Live, etc.).
If you're interested in examples, let us know.
michael
On Feb 5, 2011, at 2:59 PM, Chuck Ivy
Very cool. I'll have to give that a try.
Speaking of interoperability, what's the best way to talk to ChucK from Processing (on OS X)? Calling out to the command line? Have Processing send out MIDI notes, and ChucK listening for them? Or has anyone written a Processing library that either wraps ChucK or provides an interface? Just curious.
-- Chuck Ivy, research artist chuckivy@gmail.com 323.842.0357 http://www.chuckivy.com/ _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
check out this : http://code.google.com/p/phucklib/
--- On Sat, 5/2/11, Chuck Ivy
2011/2/6 Andreas Apergis
check out this : http://code.google.com/p/phucklib/
At a quick glance that looks rather excellent, feature-wise. Sadly the "project page" link is dead. It has a nice name too :¬). I also like the idea of being able to export self-contained applications to share those for convenience, but it's not quite clear how this works with regard to the source. I don't believe you are allowed to include ChucK in a re-distributed binary without including or linking to the source of the result. At least not without permission; we'll assume Smule has permission ;¬). Not sure how this works. At the very least it sounds like a good option. I probably wouldn't go with command-line calls as those will mean ChucK compiling files which is a bit slow to potentially do a lot of. Aside from this option I'd go with OSC for more involved projects or MIDI for simple one that just require the triggering and modulation of known sounds. My reasoning there is that with MIDI it's relatively easy to develop and test just one side of the setup. You could for example just develop the ChucK side and substitute your favourite MIDI controller for Processing. It all depends on your needs and what you anticipate doing with the results in the future. Yours, Kas.
Hi All
Here is a pdf tutorial for using Processing as a gui for Chuck
music.dongguk.ac.kr/course/avart/data/HO3_T6-9.pdf
But has anyone got an example of sending data from ChucK to processing?
Alan
2011/2/5 Andreas Apergis
check out this : http://code.google.com/p/phucklib/
--- On *Sat, 5/2/11, Chuck Ivy
* wrote: From: Chuck Ivy
Subject: Re: [chuck-users] new [chuck~] max/msp object To: chuck-users@lists.cs.princeton.edu Date: Saturday, 5 February, 2011, 22:59 Very cool. I'll have to give that a try.
Speaking of interoperability, what's the best way to talk to ChucK from Processing (on OS X)? Calling out to the command line? Have Processing send out MIDI notes, and ChucK listening for them? Or has anyone written a Processing library that either wraps ChucK or provides an interface? Just curious.
-- *Chuck Ivy,* research artist chuckivy@gmail.com http://mc/compose?to=chuckivy@gmail.com 323.842.0357 http://www.chuckivy.com/
-----Inline Attachment Follows-----
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.eduhttp://mc/compose?to=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
Hi Again!
At a quick glance that looks rather excellent, feature-wise. Sadly the
"project page" link is dead. It has a nice name too :¬).
Yeah you need to fish around a bit to find the right page for the download,
it's here
http://code.google.com/p/phucklib/downloads/list
http://code.google.com/p/phucklib/downloads/list
On Sat, Feb 5, 2011 at 11:50 PM, ALAN BROOKER
Hi All
Here is a pdf tutorial for using Processing as a gui for Chuck music.dongguk.ac.kr/course/avart/data/HO3_T6-9.pdf
But has anyone got an example of sending data from ChucK to processing?
Alan 2011/2/5 Andreas Apergis
check out this : http://code.google.com/p/phucklib/
--- On *Sat, 5/2/11, Chuck Ivy
* wrote: From: Chuck Ivy
Subject: Re: [chuck-users] new [chuck~] max/msp object To: chuck-users@lists.cs.princeton.edu Date: Saturday, 5 February, 2011, 22:59 Very cool. I'll have to give that a try.
Speaking of interoperability, what's the best way to talk to ChucK from Processing (on OS X)? Calling out to the command line? Have Processing send out MIDI notes, and ChucK listening for them? Or has anyone written a Processing library that either wraps ChucK or provides an interface? Just curious.
-- *Chuck Ivy,* research artist chuckivy@gmail.com http://mc/compose?to=chuckivy@gmail.com 323.842.0357 http://www.chuckivy.com/
-----Inline Attachment Follows-----
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.eduhttp://mc/compose?to=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
Alan; Yeah you need to fish around a bit to find the right page for the download,
it's here http://code.google.com/p/phucklib/downloads/list
I found that. But that seems to be the source for the library.
If I use that, with Processing, and create a self-contained application, say a game or a instrument, and share that as a binary I'd be required to share the code that the binary resulted from as well (I believe, but IANAL). Of course that's a burden on the individual creator of such binaries and not a issue with the library as such. Yours, Kas.
Dunno if this is useful info (and it doesn't bear on the chuck/processing question directly), but chuck~ works by building a loadable-lib consisting of all of chuck. The yyparse stuff has been altered to accept script-buffers from the 'enclosing' app, and also takes pointers to/from buffers for audio. So it could conceivably be loaded into other environments without too much trouble. My modified source is on the chuck~ web page. brad http://music.columbia.edu/~brad
Sure, here's a Processing sketch that emulates the Monome hardware
https://github.com/heuermh/monome-emulator/blob/master/monome_emulator/monom...
a ChucK class for interacting with the Monome
https://github.com/heuermh/lick/blob/master/Monome.ck
and some very simple examples
https://github.com/heuermh/lick/blob/master/examples/monomeSketch.ck
https://github.com/heuermh/lick/blob/master/examples/monomeSequencer.ck
The only tricky bit is linking the client/server port numbers in each piece
together.
michael
2011/2/5 ALAN BROOKER
Hi All
Here is a pdf tutorial for using Processing as a gui for Chuck music.dongguk.ac.kr/course/avart/data/HO3_T6-9.pdf
But has anyone got an example of sending data from ChucK to processing?
Alan 2011/2/5 Andreas Apergis
check out this : http://code.google.com/p/phucklib/
--- On *Sat, 5/2/11, Chuck Ivy
* wrote: From: Chuck Ivy
Subject: Re: [chuck-users] new [chuck~] max/msp object To: chuck-users@lists.cs.princeton.edu Date: Saturday, 5 February, 2011, 22:59 Very cool. I'll have to give that a try.
Speaking of interoperability, what's the best way to talk to ChucK from Processing (on OS X)? Calling out to the command line? Have Processing send out MIDI notes, and ChucK listening for them? Or has anyone written a Processing library that either wraps ChucK or provides an interface? Just curious.
-- *Chuck Ivy,* research artist chuckivy@gmail.com http://mc/compose?to=chuckivy@gmail.com 323.842.0357 http://www.chuckivy.com/
-----Inline Attachment Follows-----
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.eduhttp://mc/compose?to=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
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Thanks for that! i'll check it out
2011/2/6 Michael Heuer
Sure, here's a Processing sketch that emulates the Monome hardware
https://github.com/heuermh/monome-emulator/blob/master/monome_emulator/monom...
a ChucK class for interacting with the Monome
https://github.com/heuermh/lick/blob/master/Monome.ck
and some very simple examples
https://github.com/heuermh/lick/blob/master/examples/monomeSketch.ck https://github.com/heuermh/lick/blob/master/examples/monomeSequencer.ck
The only tricky bit is linking the client/server port numbers in each piece together.
michael
2011/2/5 ALAN BROOKER
Hi All
Here is a pdf tutorial for using Processing as a gui for Chuck music.dongguk.ac.kr/course/avart/data/HO3_T6-9.pdf
But has anyone got an example of sending data from ChucK to processing?
Alan 2011/2/5 Andreas Apergis
check out this : http://code.google.com/p/phucklib/
--- On *Sat, 5/2/11, Chuck Ivy
* wrote: From: Chuck Ivy
Subject: Re: [chuck-users] new [chuck~] max/msp object To: chuck-users@lists.cs.princeton.edu Date: Saturday, 5 February, 2011, 22:59 Very cool. I'll have to give that a try.
Speaking of interoperability, what's the best way to talk to ChucK from Processing (on OS X)? Calling out to the command line? Have Processing send out MIDI notes, and ChucK listening for them? Or has anyone written a Processing library that either wraps ChucK or provides an interface? Just curious.
-- *Chuck Ivy,* research artist chuckivy@gmail.com http://mc/compose?to=chuckivy@gmail.com 323.842.0357 http://www.chuckivy.com/
-----Inline Attachment Follows-----
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.eduhttp://mc/compose?to=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
_______________________________________________ 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
processing to chuck, using oscP5 from Andres Schegel:
http://www.sojamo.de/libraries/index.html
http://vimeo.com/5170274
I did that in grad school a few years ago. I have some examples of osc from
chuck to processing in order that chuck could draw shapes to the screen, but
I don't think i have any video...
Mike
2011/2/6 ALAN BROOKER
Thanks for that! i'll check it out
2011/2/6 Michael Heuer
Sure, here's a Processing sketch that emulates the Monome hardware
https://github.com/heuermh/monome-emulator/blob/master/monome_emulator/monom...
a ChucK class for interacting with the Monome
https://github.com/heuermh/lick/blob/master/Monome.ck
and some very simple examples
https://github.com/heuermh/lick/blob/master/examples/monomeSketch.ck https://github.com/heuermh/lick/blob/master/examples/monomeSequencer.ck
The only tricky bit is linking the client/server port numbers in each piece together.
michael
2011/2/5 ALAN BROOKER
Hi All
Here is a pdf tutorial for using Processing as a gui for Chuck music.dongguk.ac.kr/course/avart/data/HO3_T6-9.pdf
But has anyone got an example of sending data from ChucK to processing?
Alan 2011/2/5 Andreas Apergis
check out this : http://code.google.com/p/phucklib/
--- On *Sat, 5/2/11, Chuck Ivy
* wrote: From: Chuck Ivy
Subject: Re: [chuck-users] new [chuck~] max/msp object To: chuck-users@lists.cs.princeton.edu Date: Saturday, 5 February, 2011, 22:59 Very cool. I'll have to give that a try.
Speaking of interoperability, what's the best way to talk to ChucK from Processing (on OS X)? Calling out to the command line? Have Processing send out MIDI notes, and ChucK listening for them? Or has anyone written a Processing library that either wraps ChucK or provides an interface? Just curious.
-- *Chuck Ivy,* research artist chuckivy@gmail.com http://mc/compose?to=chuckivy@gmail.com 323.842.0357 http://www.chuckivy.com/
-----Inline Attachment Follows-----
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.eduhttp://mc/compose?to=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
_______________________________________________ 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
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (7)
-
ALAN BROOKER
-
Andreas Apergis
-
Brad Garton
-
Chuck Ivy
-
Kassen
-
Michael Heuer
-
mike clemow