def __init__(
     self,
     channel_number=None,
     controller_number=None,
     ):
     from supriya.tools import miditools
     BindingSource.__init__(
         self,
         )
     MidiCallback.__init__(
         self,
         channel_number=channel_number,
         prototype=miditools.ControllerChangeMessage,
         )
     if controller_number is not None:
         controller_number = int(controller_number)
     self._controller_number = controller_number
     self._on_change = bindingtools.BindingInput()
     self._previous_value = None
Exemple #2
0
 def __init__(
     self,
     channel_number=None,
     controller_number=None,
     ):
     from supriya.tools import miditools
     BindingSource.__init__(
         self,
         )
     MidiCallback.__init__(
         self,
         channel_number=channel_number,
         prototype=miditools.ControllerChangeMessage,
         )
     if controller_number is not None:
         controller_number = int(controller_number)
     self._controller_number = controller_number
     self._on_change = bindingtools.BindingInput()
     self._previous_value = None
 def __init__(self, output_range=None):
     BindingSource.__init__(
         self,
         output_range=output_range,
         )
Exemple #4
0
 def __init__(self, output_range=None):
     BindingSource.__init__(
         self,
         output_range=output_range,
         )