Add a Bar to the current track.
(self, bar)
| 48 | self.instrument = instrument |
| 49 | |
| 50 | def add_bar(self, bar): |
| 51 | """Add a Bar to the current track.""" |
| 52 | self.bars.append(bar) |
| 53 | return self |
| 54 | |
| 55 | def add_notes(self, note, duration=None): |
| 56 | """Add a Note, note as string or NoteContainer to the last Bar. |