예제 #1
0
 def __init__(self, server):
     from supriya.tools import responsetools
     from supriya.tools import servertools
     ResponseCallback.__init__(
         self,
         #address_pattern='/d_removed',
         procedure=self.__call__,
         prototype=(responsetools.SynthDefRemovedResponse, ),
     )
     assert isinstance(server, servertools.Server)
     self._server = server
 def __init__(self, server):
     from supriya.tools import responsetools
     from supriya.tools import servertools
     ResponseCallback.__init__(
         self,
         #address_pattern='/d_removed',
         procedure=self.__call__,
         prototype=(
             responsetools.SynthDefRemovedResponse,
             ),
         )
     assert isinstance(server, servertools.Server)
     self._server = server
예제 #3
0
 def __init__(self, server):
     from supriya.tools import responsetools
     from supriya.tools import servertools
     ResponseCallback.__init__(
         self,
         #address_pattern='/c_(set|setn)',
         procedure=self.__call__,
         prototype=(
             responsetools.ControlBusSetContiguousResponse,
             responsetools.ControlBusSetResponse,
         ),
     )
     assert isinstance(server, servertools.Server)
     self._server = server
 def __init__(self, server):
     from supriya.tools import responsetools
     from supriya.tools import servertools
     ResponseCallback.__init__(
         self,
         #address_pattern='/c_(set|setn)',
         procedure=self.__call__,
         prototype=(
             responsetools.ControlBusSetContiguousResponse,
             responsetools.ControlBusSetResponse,
             ),
         )
     assert isinstance(server, servertools.Server)
     self._server = server
예제 #5
0
 def __init__(self, server):
     from supriya.tools import responsetools
     from supriya.tools import servertools
     ResponseCallback.__init__(
         self,
         #address_pattern='/n_(end|go|info|move|off|on|set|setn)',
         procedure=self.__call__,
         prototype=(
             responsetools.NodeInfoResponse,
             responsetools.NodeSetContiguousResponse,
             responsetools.NodeSetResponse,
             ),
         )
     assert isinstance(server, servertools.Server)
     self._server = server