ServerOptions

class supriya.tools.servertools.ServerOptions(audio_bus_channel_count=128, block_size=64, buffer_count=1024, control_bus_channel_count=4096, hardware_buffer_size=None, initial_node_id=1000, input_bus_channel_count=8, input_device=None, input_stream_mask=False, load_synthdefs=True, maximum_node_count=1024, maximum_synthdef_count=1024, memory_locking=False, memory_size=8192, output_bus_channel_count=8, output_device=None, output_stream_mask=False, protocol='udp', random_number_generator_count=64, remote_control_volume=False, restricted_path=None, sample_rate=None, verbosity=0, wire_buffer_count=64, zero_configuration=False)[source]

SuperCollider server option configuration.

>>> from supriya import servertools
>>> options = servertools.ServerOptions()

Lineage

digraph InheritanceGraph { graph [background=transparent, bgcolor=transparent, color=lightslategrey, fontname=Arial, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, root="__builtin__.object", splines=spline, style="dotted, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=12, penwidth=2, style="filled, rounded"]; edge [color=lightsteelblue2, penwidth=2]; subgraph cluster_builtins { graph [label=builtins]; "builtins.object" [color=1, group=0, label=object, shape=box]; } subgraph cluster_servertools { graph [label=servertools]; "supriya.tools.servertools.ServerOptions.ServerOptions" [color=black, fontcolor=white, group=1, label=<<B>ServerOptions</B>>, shape=box, style="filled, rounded"]; } subgraph cluster_systemtools { graph [label=systemtools]; "supriya.tools.systemtools.SupriyaObject.AbstractBase" [color=3, group=2, label=AbstractBase, shape=box]; "supriya.tools.systemtools.SupriyaObject.SupriyaObject" [color=3, group=2, label=SupriyaObject, shape=box]; "supriya.tools.systemtools.SupriyaObject.AbstractBase" -> "supriya.tools.systemtools.SupriyaObject.SupriyaObject"; } "builtins.object" -> "supriya.tools.systemtools.SupriyaObject.AbstractBase"; "supriya.tools.systemtools.SupriyaObject.SupriyaObject" -> "supriya.tools.servertools.ServerOptions.ServerOptions"; }

Bases

Read-only properties

ServerOptions.audio_bus_channel_count
ServerOptions.block_size
ServerOptions.buffer_count
ServerOptions.control_bus_channel_count
ServerOptions.first_private_bus_id
ServerOptions.hardware_buffer_size
ServerOptions.initial_node_id
ServerOptions.input_bus_channel_count
ServerOptions.input_device
ServerOptions.input_stream_mask
ServerOptions.load_synthdefs
ServerOptions.maximum_node_count
ServerOptions.maximum_synthdef_count
ServerOptions.memory_locking
ServerOptions.memory_size
ServerOptions.output_bus_channel_count
ServerOptions.output_device
ServerOptions.output_stream_mask
ServerOptions.private_audio_bus_channel_count
ServerOptions.protocol
ServerOptions.random_number_generator_count
ServerOptions.remote_control_volume
ServerOptions.restricted_path
ServerOptions.sample_rate
ServerOptions.verbosity
ServerOptions.wire_buffer_count
ServerOptions.zero_configuration

Methods

ServerOptions.as_dict()[source]
ServerOptions.as_options_string(port=57110, realtime=True)[source]

Special methods

(SupriyaObject).__eq__(expr)

Is true when ID of expr equals ID of Supriya object. Otherwise false.

Returns boolean.

(SupriyaObject).__format__(format_specification='')

Formats Supriya object.

Set format_specification to ‘’ or ‘storage’. Interprets ‘’ equal to ‘storage’.

Returns string.

(SupriyaObject).__hash__()

Hashes Supriya object.

Required to be explicitely re-defined on Python 3 if __eq__ changes.

Returns integer.

(SupriyaObject).__repr__()

Gets interpreter representation of Supriya object.

Returns string.