Skip to content

Commit

Permalink
Fix #60: wrong message sent in 'stop note container' event
Browse files Browse the repository at this point in the history
  • Loading branch information
edudobay committed May 9, 2020
1 parent 765b315 commit adbb299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mingus/midi/sequencer.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def play_NoteContainer(self, nc, channel=1, velocity=100):

def stop_NoteContainer(self, nc, channel=1):
"""Stop playing the notes in NoteContainer nc."""
self.notify_listeners(self.MSG_PLAY_NC, {"notes": nc, "channel": channel})
self.notify_listeners(self.MSG_STOP_NC, {"notes": nc, "channel": channel})
if nc is None:
return True
for note in nc:
Expand Down

0 comments on commit adbb299

Please sign in to comment.