[sc-users] getting started on linux
Atte André Jensen
atte.jensen at gmail.com
Sun Dec 10 21:51:38 PST 2006
Hi
I'm trying to get sc (grabbed and installed from svn) running under
linux. Well actually it kind of works. The following works:
atte at ajstrup:~/software/supercollider/SuperCollider3/build$ sclang
../linux/examples/onetwoonetwo.sc
If I start emacs like this "emacs -sclang" and paste the following into
to Workspace
s.boot;
{SinOsc.ar(440,0,0.3)}.play
I can C-c,C-c (execute it line by line) and hear sound. However if I
select both lines and do C-c,C-x I get no sound. Also if I run "sclang
sine_test.sc" (where sine_test.sc contains the above) I get the messages
below (but no sound). Should I be worried about the Zeroconf error?
Shouldn't I be able to start the scsynth once somehow and run "sclang
sine_test2.sc", where sine_test2.sc contains only:
{SinOsc.ar(440,0,0.3)}.play
It might be early in the learning process to ask questions like this,
but it just seems to me that a behavior like this (starting server once,
running sclang on code) would be a logical way of working, and also the
documentation hints at this being the way sc is working under mac.
Hope someone would be kind enough to enlighten me...
atte at ajstrup:~/music/synth/supercollider$ sclang sine_test.sc
init_OSC
compiling class library..
NumPrimitives = 513
compiling dir: '/usr/share/SuperCollider/SCClassLibrary'
compiling dir: '/usr/share/SuperCollider/Extensions'
pass 1 done
Extension overwriting Main:platformClass
in file '/Platform/linux/extMain.sc'.
Original method in file '/DefaultLibrary/Main.sc'.
Extension overwriting Meta_Document:open
in file
'/usr/share/SuperCollider/Extensions/scel/extDocument.sc'.
Original method in file '/Common/GUI/Document.sc'.
Extension overwriting Meta_Document:new
in file
'/usr/share/SuperCollider/Extensions/scel/extDocument.sc'.
Original method in file '/Common/GUI/Document.sc'.
Extension overwriting Meta_Document:listener
in file
'/usr/share/SuperCollider/Extensions/scel/extDocument.sc'.
Original method in file '/Common/GUI/Document.sc'.
Extension overwriting Meta_Document:numberOfOpen
in file
'/usr/share/SuperCollider/Extensions/scel/extDocument.sc'.
Original method in file '/Common/GUI/Document.sc'.
Extension overwriting Meta_Document:newFromIndex
in file
'/usr/share/SuperCollider/Extensions/scel/extDocument.sc'.
Original method in file '/Common/GUI/Document.sc'.
Extension overwriting Meta_Document:prGetLast
in file
'/usr/share/SuperCollider/Extensions/scel/extDocument.sc'.
Original method in file '/Common/GUI/Document.sc'.
Extension overwriting Meta_Document:prGetIndexOfListener
in file
'/usr/share/SuperCollider/Extensions/scel/extDocument.sc'.
Original method in file '/Common/GUI/Document.sc'.
Extension overwriting Server:makeWindow
in file
'/usr/share/SuperCollider/Extensions/scel/extBuffer.sc'.
Original method in file
'/Common/GUI/PlusGUI/Control/ServerPlusGUI.sc'.
Extension overwriting SynthDesc:makeWindow
in file
'/usr/share/SuperCollider/Extensions/scel/extBuffer.sc'.
Original method in file
'/Common/GUI/PlusGUI/Control/SynthDescPlusGUI.sc'.
numentries = 726684 / 7903854 = 0.092
Method Table Size 4896928 bytes
Number of Method Selectors 3789
Number of Classes 2086
big table size 31615416
Number of Symbols 9069
Byte Code Size 233149
compiled 323 files in 0.70 seconds
compile done
Emacs: No communication FIFO available.
Class tree inited in 0.02 seconds
LID: event loop started
StartUp done.
booting 57110
WARNING:
server 'localhost' not running.
Using vector unit: yes
JackDriver: client name is 'SuperCollider'
JackDriver: connected alsa_pcm:capture_1 to SuperCollider:in_1
JackDriver: connected alsa_pcm:capture_2 to SuperCollider:in_2
JackDriver: max output latency 11.6 ms
JackDriver: connected SuperCollider:out_1 to alsa_pcm:playback_1
JackDriver: connected SuperCollider:out_2 to alsa_pcm:playback_2
SuperCollider 3 server ready..
Zeroconf: failed to create client: Daemon not running
notification is on
--
peace, love & harmony
Atte
http://www.atte.dk | quintet: http://www.anagrammer.dk
| compositions: http://www.atte.dk/compositions
More information about the sc-users
mailing list