From ecc9187f0de6c5b0de80e8f12034ce15f64a23cd Mon Sep 17 00:00:00 2001 From: Sam Nobs <3915450+samsta@users.noreply.github.com> Date: Thu, 5 May 2022 20:36:02 +1200 Subject: [PATCH] Remove leftovers from an experiment with the metronome --- xone.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xone.py b/xone.py index 8a073b0..f1725ca 100644 --- a/xone.py +++ b/xone.py @@ -356,13 +356,9 @@ def __init__(self, button_cc, song): self.button.add_value_listener(self.handle_button) self.song = song song.add_is_playing_listener(self.handle_song_is_playing) - song.add_metronome_listener(self.handle_metronome) self.last_stop_button_time = 0 log("song %s" % dir(song)) - def handle_metronome(self): - log("metro") - def handle_song_is_playing(self): self.button.send_value(127 if self.song.is_playing else 0)