Exemple #1
0
 def __init__(
     self,
     channel_number=None,
     controller_number=None,
     ):
     from supriya.tools import synthdeftools
     MidiController.__init__(
         self,
         channel_number=channel_number,
         controller_number=controller_number,
         )
     self._output_range = synthdeftools.Range(0, 127)
Exemple #2
0
 def __init__(
     self,
     channel_number=None,
     controller_number=None,
     ):
     from supriya.tools import synthdeftools
     MidiController.__init__(
         self,
         channel_number=channel_number,
         controller_number=controller_number,
         )
     self._output_range = synthdeftools.Range(0, 127)
Exemple #3
0
 def __init__(
     self,
     channel_number=None,
     controller_number=None,
     invert=False,
     ):
     MidiController.__init__(
         self,
         channel_number=channel_number,
         controller_number=controller_number,
         )
     self._invert = bool(invert)
     self._on_press = bindingtools.BindingInput()
     self._on_release = bindingtools.BindingInput()
     self._previous_value = False
Exemple #4
0
 def __init__(
     self,
     channel_number=None,
     controller_number=None,
     invert=False,
 ):
     MidiController.__init__(
         self,
         channel_number=channel_number,
         controller_number=controller_number,
     )
     self._invert = bool(invert)
     self._on_press = bindingtools.BindingInput()
     self._on_release = bindingtools.BindingInput()
     self._previous_value = False