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

Function major_seventh

mingus/core/chords.py:255–262  ·  view source on GitHub ↗

Build a major seventh on note. Example: >>> major_seventh('C') ['C', 'E', 'G', 'B']

(note)

Source from the content-addressed store, hash-verified

253
254
255def major_seventh(note):
256 """Build a major seventh on note.
257
258 Example:
259 >>> major_seventh('C')
260 ['C', 'E', 'G', 'B']
261 """
262 return major_triad(note) + [intervals.major_seventh(note)]
263
264
265def minor_seventh(note):

Callers 1

major_ninthFunction · 0.70

Calls 1

major_triadFunction · 0.85

Tested by

no test coverage detected