scsynth

class Options(audio_bus_channel_count: int = 1024, block_size: int = 64, buffer_count: int = 1024, control_bus_channel_count: int = 16384, hardware_buffer_size: Optional[int] = None, initial_node_id: int = 1000, input_bus_channel_count: int = 8, input_device: Optional[str] = None, input_stream_mask: str = '', load_synthdefs: bool = True, maximum_logins: int = 1, maximum_node_count: int = 1024, maximum_synthdef_count: int = 1024, memory_locking: bool = False, memory_size: int = 8192, output_bus_channel_count: int = 8, output_device: Optional[str] = None, output_stream_mask: str = '', password: Optional[str] = None, protocol: str = 'udp', random_number_generator_count: int = 64, remote_control_volume: bool = False, restricted_path: Optional[str] = None, sample_rate: Optional[int] = None, threads: Optional[int] = None, ugen_plugins_path: Optional[str] = None, verbosity: int = 0, wire_buffer_count: int = 64, zero_configuration: bool = False)

Bases: object

SuperCollider server options configuration.

>>> import supriya.realtime
>>> options = supriya.scsynth.Options()
__post_init__()
as_options_string(port=57110, realtime=True, supernova=False)
property first_private_bus_id
property private_audio_bus_channel_count
find(scsynth_path=None)

Find the scsynth executable.

The following paths, if defined, will be searched (prioritised as ordered): 1. The absolute path scsynth_path 2. The environment variable SCSYNTH_PATH 3. scsynth_path if defined in Supriya’s configuration file 4. The user’s PATH 5. Common installation directories of the SuperCollider application.

Returns a path to the scsynth executable. Raises RuntimeError if no path is found.

kill(supernova=False)