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

Function major_triad

mingus/core/chords.py:192–199  ·  view source on GitHub ↗

Build a major triad on note. Example: >>> major_triad('C') ['C', 'E', 'G']

(note)

Source from the content-addressed store, hash-verified

190
191
192def major_triad(note):
193 """Build a major triad on note.
194
195 Example:
196 >>> major_triad('C')
197 ['C', 'E', 'G']
198 """
199 return [note, intervals.major_third(note), intervals.perfect_fifth(note)]
200
201
202def minor_triad(note):

Callers 3

major_seventhFunction · 0.85
dominant_seventhFunction · 0.85
major_sixthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected