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)
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)