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

Method get_note_names

mingus/containers/bar.py:209–216  ·  view source on GitHub ↗

Return a list of unique note names in the Bar.

(self)

Source from the content-addressed store, hash-verified

207 return res
208
209 def get_note_names(self):
210 """Return a list of unique note names in the Bar."""
211 res = []
212 for cont in self.bar:
213 for x in cont[2].get_note_names():
214 if x not in res:
215 res.append(x)
216 return res
217
218 def __add__(self, note_container):
219 """Enable the '+' operator on Bars."""

Callers 3

test_get_note_namesMethod · 0.95
determine_progressionMethod · 0.45
test_get_note_namesMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_get_note_namesMethod · 0.76
test_get_note_namesMethod · 0.36