Skip to content

Commit adbb299

Browse files
committed
Fix #60: wrong message sent in 'stop note container' event
1 parent 765b315 commit adbb299

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mingus/midi/sequencer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def play_NoteContainer(self, nc, channel=1, velocity=100):
195195

196196
def stop_NoteContainer(self, nc, channel=1):
197197
"""Stop playing the notes in NoteContainer nc."""
198-
self.notify_listeners(self.MSG_PLAY_NC, {"notes": nc, "channel": channel})
198+
self.notify_listeners(self.MSG_STOP_NC, {"notes": nc, "channel": channel})
199199
if nc is None:
200200
return True
201201
for note in nc:

0 commit comments

Comments
 (0)