Open
Description
Hi!
This is the first time I've tried using python-rtmidi. I tried to run the sequence example (sequencer.py), but the last three notes didn't play. On a hunch, I added a pause in the 'finally' block and that took care of the problem. Is this expected behaviour or a bug?
I'm running under Python 3.8 and Windows 10.
try:
seq.start()
time.sleep(60. / seq.bpm * 4)
seq.bpm = 150
time.sleep(60. / seq.bpm * 6)
finally:
time.sleep(5) # added pause
seq.stop()
midiout.close_port()
del midiout
Thanks.