Example #1
0
 def _set_expression(self, controller):
     self._expression = _midi.scale_14bit(
         self.calculate_msb_lsb(_midi.ControllerType.EXPRESSION_MSB,
                                _midi.ControllerType.EXPRESSION_LSB))
Example #2
0
 def _set_volume(self, controller):
     self._volume = _midi.scale_14bit(
         self.calculate_msb_lsb(_midi.ControllerType.VOLUME_MSB,
                                _midi.ControllerType.VOLUME_LSB))
Example #3
0
 def _set_portamento_time(self, controller):
     self._portamento_time = _midi.scale_14bit(
         self.calculate_msb_lsb(_midi.ControllerType.PORTAMENTO_TIME_MSB,
                                _midi.ControllerType.PORTAMENTO_TIME_LSB))
Example #4
0
 def _set_foot_controller(self, controller):
     self._foot_controller = _midi.scale_14bit(
         self.calculate_msb_lsb(_midi.ControllerType.FOOT_CONTROLLER_MSB,
                                _midi.ControllerType.FOOT_CONTROLLER_LSB))
Example #5
0
 def _set_breath_controller(self, controller):
     self._breath_controller = _midi.scale_14bit(
         self.calculate_msb_lsb(_midi.ControllerType.BREATH_CONTROLLER_MSB,
                                _midi.ControllerType.BREATH_CONTROLLER_LSB))
Example #6
0
 def _set_modulation_wheel(self, controller):
     self._modulation_wheel = _midi.scale_14bit(
         self.calculate_msb_lsb(_midi.ControllerType.MODULATION_WHEEL_MSB,
                                _midi.ControllerType.MODULATION_WHEEL_LSB))