music.add_seventh

music.add_seventh(notes, major=False)[source]

One more third on top of a triad.

The article: “it is sufficient to include 10 as the highest note to achieve a tetrad with a minor seventh, or include 11 in order to achieve a tetrad with a major seventh”.

Parameters:
notestuple of integers

The triad, as chord() returns one.

majorbool

11 semitones rather than 10.

Returns:
tuple of integers

The tetrad.

Parameters:
Return type:

tuple[int, …]

See also

chord

the tetrads this makes, reachable by name.

Examples

>>> add_seventh(chord('major'))
(0, 4, 7, 10)
>>> add_seventh(chord('major'), major=True) == chord('major seventh')
True