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

Function seventh

mingus/core/chords.py:236–243  ·  view source on GitHub ↗

Return the seventh chord on note in key. Example: >>> seventh('C', 'C') ['C', 'E', 'G', 'B']

(note, key)

Source from the content-addressed store, hash-verified

234
235
236def seventh(note, key):
237 """Return the seventh chord on note in key.
238
239 Example:
240 >>> seventh('C', 'C')
241 ['C', 'E', 'G', 'B']
242 """
243 return triad(note, key) + [intervals.seventh(note, key)]
244
245
246def sevenths(key):

Callers 1

seventhsFunction · 0.70

Calls 1

triadFunction · 0.85

Tested by

no test coverage detected