Пример #1
0
    def control_on(self, param, color, flash=False):
        """turn on the LEDs under a pad in the top row

        The top row is controlled using control messages instead of
        note-on messages."""
        color = self._flashify(color, flash)
        midirwp.send_control_change(self.CHANNEL, param, color)
Пример #2
0
    def control_on(self, param, color, flash=False):
        """turn on the LEDs under a pad in the top row

        The top row is controlled using control messages instead of
        note-on messages."""
        color = self._flashify(color, flash)
        midirwp.send_control_change(self.CHANNEL, param, color)
Пример #3
0
 def control_off(self, param):
     """turn off the LEDs under a pad in the top row"""
     midirwp.send_control_change(self.CHANNEL, param, self.CLEAR)
Пример #4
0
 def control_off(self, param):
     """turn off the LEDs under a pad in the top row"""
     midirwp.send_control_change(self.CHANNEL, param, self.CLEAR)