On 10/05/2015 09:15 AM, Florian Paul Schmidt wrote:
On 04.10.2015 20:57, ansible wrote:
I compiled supercollider to play through
portaudio rather than
jack, as it usually does, in an attempt to reduce latency and
hassle. It works for audio device hw:0,0, but it doesn't work for
hw:1,0. My problem is that on my device hw:0,0 has horrible
latency - 70ms - while hw:1,0 has 9ms latency, much better.
So what I'd like to do is reorder the audio
devices, or disable the
onboard audio, and have my current hw:1,0 be the hw:0,0 device.
Hopefully then supercollider will work with it and I'll have those
coveted low latency numbers. This is on arch linux on a bananapi
armv7 computer.
Hi,
you might also try to point scsynth (if that's the still the name of
the supercollider synth server executable) to a different alsa device.
What does
man scsynth
or
scsynth --help
or
scsynth -h
print?
Flo
Hi Flo;
I use "scsynth -u 57110 -H hw:0,0" or "scsynth -u 57110 -H hw:1,0".
The
first command works and causes sound to be emitted when I run my
program. The second appears to run normally, but is unresponsive and my
program hangs waiting for a response over osc.
[bananapi@trurl build2]$ scsynth -h
supercollider_synth options:
-u <udp-port-number> a port number 0-65535
-t <tcp-port-number> a port number 0-65535
-c <number-of-control-bus-channels> (default 4096)
-a <number-of-audio-bus-channels> (default 128)
-i <number-of-input-bus-channels> (default 8)
-o <number-of-output-bus-channels> (default 8)
-z <block-size> (default 64)
-Z <hardware-buffer-size> (default 0)
-S <hardware-sample-rate> (default 0)
-b <number-of-sample-buffers> (default 1024)
-n <max-number-of-nodes> (default 1024)
-d <max-number-of-synth-defs> (default 1024)
-m <real-time-memory-size> (default 8192)
-w <number-of-wire-buffers> (default 64)
-r <number-of-random-seeds> (default 64)
-D <load synthdefs? 1 or 0> (default 1)
-R <publish to Rendezvous? 1 or 0> (default 1)
-l <max-logins> (default 64)
maximum number of named return addresses stored
also maximum number of tcp connections accepted
-p <session-password>
When using TCP, the session password must be the first command
sent.
The default is no password.
UDP ports never require passwords, so for security use TCP.
-N <cmd-filename> <input-filename> <output-filename>
<sample-rate>
<header-format> <sample-format>
-H <hardware-device-name>
-v <verbosity>
0 is normal behaviour
-1 suppresses informational messages
-2 suppresses informational and many error messages
-U <ugen-plugins-path> a colon-separated list of paths
if -U is specified, the standard paths are NOT searched for
plugins.
-P <restricted-path>
if specified, prevents file-accessing OSC commands from
accessing files outside <restricted-path>.
To quit, send a 'quit' command via UDP or TCP, or press ctrl-C.