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

Function sevenths

mingus/core/chords.py:246–252  ·  view source on GitHub ↗

Return all the sevenths chords in key in a list.

(key)

Source from the content-addressed store, hash-verified

244
245
246def sevenths(key):
247 """Return all the sevenths chords in key in a list."""
248 if key in _sevenths_cache:
249 return _sevenths_cache[key]
250 res = [seventh(x, key) for x in keys.get_notes(key)]
251 _sevenths_cache[key] = res
252 return res
253
254
255def major_seventh(note):

Callers 7

tonic7Function · 0.85
supertonic7Function · 0.85
mediant7Function · 0.85
subdominant7Function · 0.85
dominant7Function · 0.85
submediant7Function · 0.85
subtonic7Function · 0.85

Calls 2

get_notesMethod · 0.80
seventhFunction · 0.70

Tested by

no test coverage detected