SynthControl

class supriya.tools.servertools.SynthControl(client=None, index=None, name=None, range_=None, calculation_rate=None, unit=None, value=None)[source]

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=2, group=1, label=object, shape=box]; } subgraph cluster_bindingtools { graph [label=bindingtools]; "supriya.tools.bindingtools.BindingTarget.BindingTarget" [color=1, group=0, label=BindingTarget, shape=oval, style=bold]; } subgraph cluster_servertools { graph [label=servertools]; "supriya.tools.servertools.SynthControl.SynthControl" [color=black, fontcolor=white, group=2, label=<<B>SynthControl</B>>, shape=box, style="filled, rounded"]; } subgraph cluster_systemtools { graph [label=systemtools]; "supriya.tools.systemtools.SupriyaObject.AbstractBase" [color=4, group=3, label=AbstractBase, shape=box]; "supriya.tools.systemtools.SupriyaObject.SupriyaObject" [color=4, group=3, label=SupriyaObject, shape=box]; "supriya.tools.systemtools.SupriyaObject.AbstractBase" -> "supriya.tools.systemtools.SupriyaObject.SupriyaObject"; } "builtins.object" -> "supriya.tools.systemtools.SupriyaObject.AbstractBase"; "supriya.tools.bindingtools.BindingTarget.BindingTarget" -> "supriya.tools.servertools.SynthControl.SynthControl"; "supriya.tools.systemtools.SupriyaObject.SupriyaObject" -> "supriya.tools.bindingtools.BindingTarget.BindingTarget"; }

Bases

Attribute summary

calculation_rate
client
default_value
from_parameter(parameter[, index, client])
get()
index
is_bound
last_unmapped_value
name
node
range_
reset()
set(expr)
synth
unbind([binding])
unit
value
__eq__(expr) Is true when ID of expr equals ID of Supriya object.
__format__([format_specification]) Formats Supriya object.
__hash__() Hashes Supriya object.
__repr__() Gets interpreter representation of Supriya object.
__str__()

Read-only properties

SynthControl.calculation_rate
SynthControl.client
SynthControl.default_value
SynthControl.index
(BindingTarget).is_bound
SynthControl.last_unmapped_value
SynthControl.name
SynthControl.node
SynthControl.range_
SynthControl.synth
SynthControl.unit
SynthControl.value

Methods

SynthControl.get()[source]
SynthControl.reset()[source]
SynthControl.set(expr)[source]
(BindingTarget).unbind(binding=None)

Class & static methods

classmethod SynthControl.from_parameter(parameter, index=0, client=None)[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.

SynthControl.__str__()[source]