[LAU] livecoding question

paul feitzinger paul.feitzinger at gmail.com
Mon Nov 22 17:27:13 UTC 2010

You can do it in Supercollider (example [1]) and in ChucK (example [2])
(more examples here [3]). These are the two I'm most familiar with.

Neither of them have "check the file and then re-evaluate upon changes"
built in,

- you could use scvim [4] for Supercollider and just press F6 on the
end of the line you want to be interpreted, and there you go. here's a table
Supercollider Keybindings [5]. and you can access the SC Help Docs [6]
from scvim with "K".  Be sure to use them. I use sclang in emacs but
scvim looks like a very similar user experience.

- in ChucK [7] you could use the miniaudicle [8] to do something
similar. I've not used it myself, but you could just press "replace
shred" after changing the code, and the thread in the ChucK VM will be

If you'd rather not use the miniaudicle you could use your text editor
of choice for editing and start chuck with "$ chuck --loop" which will
start the VM. Then in another terminal you can do "$ chuck --add
yourfile.ck".  Then, once you've made changes to yourfile.ck, you can
do "$ chuck --replace 1 yourfile.ck" which will replace "shred" #1
with your new one. "$ chuck --status" will show you the current shreds
and their numberings. Keep in mind that all output from these commands
will be showing up in the window you ran "$ chuck --loop" in.

you can use "+, =, ^ instead of --add, --replace, and --status,

[1] SC OSC_communication:
[2] Chuck OSC_send example:
[3] Chuck Examples: http://chuck.cs.princeton.edu/doc/examples/
[4] scvim: http://x37v.info/scvim/
[5] SC Keybindings:
[6] SC Help Docs:
[7] ChucK Hompeage: http://chuck.cs.princeton.edu/
[8] Miniaudicle: http://audicle.cs.princeton.edu/mini/linux/

On Mon, Nov 22, 2010 at 4:03 AM, Gregory Joyce <gkjoyce at gmail.com> wrote:

> I like puredata for sound design because usually once that is set up
> it's fairly static.  I don't really like "composing" in puredata
> though.
> So what I am asking is this:
> Is there some sort of nyquist-like program that will allow me to edit
> a text file which will send OSC or midi data to PD (or anywhere).
> Ideally you could have your 'score' up in vim and then the program
> would watch the file and apply the new information at the start of the
> next measure.  I looked at CM but as I understand it, it is not real
> time at all.
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20101122/86dfccbc/attachment.htm>

More information about the Linux-audio-user mailing list