[PlanetCCRMA] Supercollider: local vs internal server

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Wed Jul 20 17:13:01 2005


On Wed, 2005-07-20 at 16:56, jonathan wrote:
> Fernando Lopez-Lezcano wrote:
>  >You should try to ldd the supercollider binary to see which libjack it
>  >is dynamically linking with....
> 
> ok. but we mean scsynth here right? see that's what i am not 
> understanding about this problem. both internal server and localhost 
> server use scsynth.
> in ~/.sclang.sc
> i have:
> Server.program = "sudo scsynth";
> Score.program = Server.program;
> SCUM.connect;
> 
> #[\internal, \local].do { |s|
>         s = Server.perform(s);
>         s.options.numInputBusChannels = 2;
>         s.options.numOutputBusChannels = 2;
> };
> 
> // hook up jack ports to audio channels
> "SC_JACK_DEFAULT_INPUTS".setenv(
>         "alsa_pcm:capture_1,"
>         "alsa_pcm:capture_2"
> );
> "SC_JACK_DEFAULT_OUTPUTS".setenv(
>         "alsa_pcm:playback_1,"
>         "alsa_pcm:playback_2"
> );
> 
> [jes@sharpness ~]$ ldd /usr/local/bin/scsynth
>         linux-gate.so.1 =>  (0xffffe000)
>         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4c8cd000)
>         libdl.so.2 => /lib/libdl.so.2 (0x4c7dc000)
>         libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0x464c2000)
>         libjack.so.0 => /usr/lib/libjack.so.0 (0x4db1a000)

Looks like it is linking to the right libjack (the only one?)
So, I don't know what might be the problem and don't have the time right
now to do any tests, sorry....

-- Fernando

>         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4e578000)
>         libm.so.6 => /lib/tls/libm.so.6 (0x4c7b7000)
>         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4e56e000)
>         libc.so.6 => /lib/tls/libc.so.6 (0x4c68b000)
>         /lib/ld-linux.so.2 (0x4c671000)