MCPcopy Create free account
hub / github.com/bspaans/python-mingus / stop_NoteContainer

Method stop_NoteContainer

mingus/midi/sequencer.py:196–204  ·  view source on GitHub ↗

Stop playing the notes in NoteContainer nc.

(self, nc, channel=1)

Source from the content-addressed store, hash-verified

194 return True
195
196 def stop_NoteContainer(self, nc, channel=1):
197 """Stop playing the notes in NoteContainer nc."""
198 self.notify_listeners(self.MSG_STOP_NC, {"notes": nc, "channel": channel})
199 if nc is None:
200 return True
201 for note in nc:
202 if not self.stop_Note(note, channel):
203 return False
204 return True
205
206 def play_Bar(self, bar, channel=1, bpm=120):
207 """Play a Bar object.

Callers 6

play_BarMethod · 0.95
play_BarsMethod · 0.95
stop_NoteContainerFunction · 0.45
improviser.pyFile · 0.45

Calls 2

notify_listenersMethod · 0.95
stop_NoteMethod · 0.95

Tested by 1