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

Method determine_chords

mingus/containers/bar.py:188–193  ·  view source on GitHub ↗

Return a list of lists [place_in_beat, possible_chords].

(self, shorthand=False)

Source from the content-addressed store, hash-verified

186 cont[2].transpose(interval, up)
187
188 def determine_chords(self, shorthand=False):
189 """Return a list of lists [place_in_beat, possible_chords]."""
190 chords = []
191 for x in self.bar:
192 chords.append([x[0], x[2].determine(shorthand)])
193 return chords
194
195 def determine_progression(self, shorthand=False):
196 """Return a list of lists [place_in_beat, possible_progressions]."""

Callers 1

test_determine_chordsMethod · 0.95

Calls 1

determineMethod · 0.80

Tested by 1

test_determine_chordsMethod · 0.76