Play a Bar object using play_NoteContainer and stop_NoteContainer. Set a bpm attribute on a NoteContainer to change the tempo.
(bar, channel=1, bpm=120)
| 170 | |
| 171 | |
| 172 | def play_Bar(bar, channel=1, bpm=120): |
| 173 | """Play a Bar object using play_NoteContainer and stop_NoteContainer. |
| 174 | |
| 175 | Set a bpm attribute on a NoteContainer to change the tempo. |
| 176 | """ |
| 177 | return midi.play_Bar(bar, channel, bpm) |
| 178 | |
| 179 | |
| 180 | def play_Bars(bars, channels, bpm=120): |