Can someone help me understand why I don’t hear aynthing?
I use Linux and jackd.
Can you check with qjackctl or some other tool that the scsynth from
your shell connects to the jack outputs?
You could also check whether the scsynth on the command line produces sound by
sending synthdefs to it from an instance of scide that uses that server,
instead of from python3 first, something (untested) like:
r = Server.remote(\remote1, NetAddr("127.0.0.1", 57110), Server.default.options.copy, clientID: 0);
r.ping;
r.clientID; // query my client id
r.makeWindow; // will read "inactive", also allowing me to change default server to \remote1
r.maxNumClients;
{SinOsc.ar * 0.1}.play(r);
r.freeAll; // This can not be stopped with Ctl-.
Or, you can manually connect using jack_connect at the command line, or RaySession (extra install but ) or qpwgraph (maybe already installed but less usable IMO).
EDIT: Also, when running a server at the command line idea, it’s a good idea to grab your options string in sclang:
Oh wow, I simply forgot to connect the scsynth to an output. I completely forgot that this was done in the IDE automatically.
Thank you very much! I get some sound now!
When the language boots the server, it autoconnects because the LinuxPlatform class sets the system environment variables for it during language startup. If you want another shell to autoconnect, then you’d need to set the variables before running scsynth (or, write a shell script that sets them and then runs scsynth).