At Sat, 29 Jan 2011 10:13:58 +0800,
James Harkins wrote:
> You can invoke sclang from the command line with a code file to execute, so 
> it would not be necessary for the end-user in Linux to configure scel, sced 
> or scvim. That code file would start the audio and GUI servers and load up 
> the stuff that the user will be playing.
> 
> sclang launch_my_app.scd

E.g.,

~~~
dlm@dlm-laptop:~$ echo "'this is running in sc'.postln; 0.exit" >tmp/test.scd
dlm@dlm-laptop:~$ sclang tmp/test.scd
init_OSC
compiling class library..
        NumPrimitives = 532
... blah blah blah blah blah blah blah...

Welcome to SuperCollider, for help type ctrl-c ctrl-h (Emacs) or :SChelp (vim) 
or ctrl-U (sced/gedit)
this is running in sc
/quit sent

quit done

LID: event loop stopped
~~~

hjh

--
James Harkins /// dewdrop world
[email protected]
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks
---
[email protected]
http://identi.ca/group/puredyne
irc://irc.goto10.org/puredyne

Reply via email to