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

Method get_notes

mingus/containers/track.py:87–92  ·  view source on GitHub ↗

Return an iterator that iterates through every bar in the this track.

(self)

Source from the content-addressed store, hash-verified

85 return self.bars[-1].place_notes(note, duration)
86
87 def get_notes(self):
88 """Return an iterator that iterates through every bar in the this
89 track."""
90 for bar in self.bars:
91 for beat, duration, notes in bar:
92 yield beat, duration, notes
93
94 def from_chords(self, chords, duration=1):
95 """Add chords to the Track.

Callers 5

triadsFunction · 0.80
seventhsFunction · 0.80
intervalFunction · 0.80
get_intervalFunction · 0.80
test_get_notesMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_get_notesMethod · 0.64