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

Method determine

mingus/containers/note_container.py:280–283  ·  view source on GitHub ↗

Determine the type of chord or interval currently in the container.

(self, shorthand=False)

Source from the content-addressed store, hash-verified

278 n.diminish()
279
280 def determine(self, shorthand=False):
281 """Determine the type of chord or interval currently in the
282 container."""
283 return chords.determine(self.get_note_names(), shorthand)
284
285 def transpose(self, interval, up=True):
286 """Transpose all the notes in the container up or down the given

Callers 15

test_determineMethod · 0.95
_bar2musicxmlFunction · 0.80
from_NoteContainerFunction · 0.80
from_BarFunction · 0.80
determineFunction · 0.80
inversion_exhausterFunction · 0.80
ascendingMethod · 0.80
descendingMethod · 0.80
determineFunction · 0.80
determine_chordsMethod · 0.80
determine_progressionMethod · 0.80
improviser.pyFile · 0.80

Calls 1

get_note_namesMethod · 0.95

Tested by 7

test_determineMethod · 0.76
test_determineMethod · 0.64
test_determineMethod · 0.64
test_determineMethod · 0.64
test_determineMethod · 0.64