Exemplo n.º 1
0
 def __init__(self, children=None, name=None):
     from supriya.tools import servertools
     Node.__init__(self, name=name)
     self._children = []
     self._control_interface = servertools.GroupInterface(client=self)
     self._named_children = {}
     if children is not None:
         self[:] = children
Exemplo n.º 2
0
 def __init__(self, children=None, name=None):
     from supriya.tools import servertools
     Node.__init__(self, name=name)
     self._children = []
     self._control_interface = servertools.GroupInterface(client=self)
     self._named_children = {}
     if children is not None:
         self[:] = children
Exemplo n.º 3
0
 def __init__(
     self,
     synthdef=None,
     name=None,
     register_controls=None,
     **kwargs
     ):
     from supriya.tools import servertools
     from supriya.tools import synthdeftools
     assert isinstance(synthdef, synthdeftools.SynthDef)
     Node.__init__(
         self,
         name=name,
         )
     self._synthdef = synthdef
     self._control_interface = servertools.SynthInterface(
         client=self,
         synthdef=self._synthdef,
         )
     if register_controls is not None:
         register_controls = bool(register_controls)
     self._register_controls = register_controls
     self._control_interface._set(**kwargs)
Exemplo n.º 4
0
 def __init__(
     self,
     synthdef=None,
     name=None,
     register_controls=None,
     **kwargs
     ):
     from supriya import synthdefs
     from supriya.tools import servertools
     from supriya.tools import synthdeftools
     assert isinstance(synthdef, synthdeftools.SynthDef)
     Node.__init__(
         self,
         name=name,
         )
     self._synthdef = synthdef or synthdefs.synthdef
     self._control_interface = servertools.SynthInterface(
         client=self,
         synthdef=self._synthdef,
         )
     if register_controls is not None:
         register_controls = bool(register_controls)
     self._register_controls = register_controls
     self._control_interface._set(**kwargs)