Skip to content

Commit

Permalink
Remove leftovers from an experiment with the metronome
Browse files Browse the repository at this point in the history
  • Loading branch information
samsta committed May 5, 2022
1 parent 6b6ed69 commit ecc9187
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions xone.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ecc9187

Please sign in to comment.