Closed KingaJanicka closed 8 months ago
I think it's an async issue, I've got pads to toggle when the sequencer is not running
This seems to be a bit more serious than I thought as it seems to stop other functions from being evaluated - I can't stop the sequencer once I have the tick running for example
I've tracked this bug down to the await asyncio.sleep()
line in tick(), sequencer.py - if it's present you can't do anything with the pads until it finishes
I'm experimenting with isobar and after I've analysed it the past few days I've found a way to have it trigger a funciton - we could use that as a timer, possibly use isobar for sequencing too - could embed the "index" of the sequence into the values were' getting from it I think
Function self.is_midi_note_being_played() always returns False as if pads are not being pressed when they are. I'm guessing this is related to async, because it worked before we added the clock/tick