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

Method add_bar

mingus/containers/track.py:50–53  ·  view source on GitHub ↗

Add a Bar to the current track.

(self, bar)

Source from the content-addressed store, hash-verified

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.

Callers 2

from_BarFunction · 0.95
__add__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected