diff options
Diffstat (limited to 'midi_controller_launchpad_mini.py')
-rw-r--r-- | midi_controller_launchpad_mini.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/midi_controller_launchpad_mini.py b/midi_controller_launchpad_mini.py index 16c819c..55c0ec0 100644 --- a/midi_controller_launchpad_mini.py +++ b/midi_controller_launchpad_mini.py @@ -12,8 +12,10 @@ class MidiController: self._handlers = { 112 : self._playPause, - 96 : self._stop, - 101 : self._jumpToA + 96 : self._soloTool.stop, + 101 : self._soloTool.jumpToA, + 118 : self._soloTool.previousSong, + 119 : self._soloTool.nextSong } def connect(self): @@ -33,8 +35,3 @@ class MidiController: else: self._soloTool.play() - def _stop(self): - self._soloTool.stop() - - def _jumpToA(self): - self._soloTool.jumpToA() |