diff options
Diffstat (limited to 'solo-tool.py')
-rw-r--r-- | solo-tool.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/solo-tool.py b/solo-tool.py index 3101a55..5db6d3f 100644 --- a/solo-tool.py +++ b/solo-tool.py @@ -64,6 +64,9 @@ class MainWindow(QMainWindow, Ui_MainWindow): self.abListModel.layoutChanged.emit() + if self.midiEnabled: + midi.button_on(midi.lp_key[0][1], (midi.GREEN if self.player.state() == QMediaPlayer.PlayingState else midi.RED)) + def updateDuration(self, duration): self.aSlider.setMaximum(duration) self.bSlider.setMaximum(duration) |