示例#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)