예제 #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)