The base trait for Config
and ConfigBuilder
describes the settings used to boot scsynth in
realtime or non-realtime mode, as well as its server address and port.
The base trait for Config
and ConfigBuilder
describes the settings used to boot scsynth in
realtime or non-realtime mode, as well as its server address and port.
You obtain a ConfigBuilder
by calling Server.Config()
. This builder can then be mutated and
will be implicitly converted to an immutable Config
when required.
See ConfigBuilder
for its default values.
The default file path to scsynth
.
The default file path to scsynth
. If the runtime (system) property "SC_HOME"
is provided,
this specifies the directory of scsynth
. Otherwise, an environment (shell) variable named
"SC_HOME"
is checked. If neither exists, this returns scsynth
in the current working directory.
Creates an unconnected server proxy.
Creates an unconnected server proxy. This may be useful for creating NRT command files. Any attempt to try to send messages to the server will fail.
Utility method to test code quickly with a running server.
Utility method to test code quickly with a running server. This boots a server and executes the passed in code when the server is up. A shutdown hook is registered to make sure the server is destroyed when the VM exits.