Stop playing the notes in NoteContainer nc.
(self, nc, channel=1)
| 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. |