Ejemplo n.º 1
0
def augmented_minor_seventh(note):
    """Build an augmented minor seventh chord on note.

    Example:
    >>> augmented_minor_seventh('C')
    ['C', 'E', 'G#', 'Bb']
    """
    return augmented_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 2
0
def dominant_seventh(note):
    """Build a dominant seventh on note.

    Example:
    >>> dominant_seventh('C')
    ['C', 'E', 'G', 'Bb']
    """
    return major_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 3
0
def suspended_seventh(note):
    """Build a suspended (flat) seventh chord on note.

    Example:
    >>> suspended_seventh('C')
    ['C', 'F', 'G', 'Bb']
    """
    return suspended_fourth_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 4
0
def dominant_sixth(note):
    """Build the altered chord 6/7 on note.

    Example:
    >>> dominant_sixth('C')
    ['C', 'E', 'G', 'A', 'Bb']
    """
    return major_sixth(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 5
0
def augmented_minor_seventh(note):
    """Build an augmented minor seventh chord on note.

    Example:
    >>> augmented_minor_seventh('C')
    ['C', 'E', 'G#', 'Bb']
    """
    return augmented_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 6
0
def minor_seventh(note):
    """Build a minor seventh on note.

    Example:
    >>> minor_seventh('C')
    ['C', 'Eb', 'G', 'Bb']
    """
    return minor_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 7
0
def dominant_sixth(note):
    """Build the altered chord 6/7 on note.

    Example:
    >>> dominant_sixth('C')
    ['C', 'E', 'G', 'A', 'Bb']
    """
    return major_sixth(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 8
0
def suspended_seventh(note):
    """Build a suspended (flat) seventh chord on note.

    Example:
    >>> suspended_seventh('C')
    ['C', 'F', 'G', 'Bb']
    """
    return suspended_fourth_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 9
0
def dominant_seventh(note):
    """Build a dominant seventh on note.

    Example:
    >>> dominant_seventh('C')
    ['C', 'E', 'G', 'Bb']
    """
    return major_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 10
0
def minor_seventh(note):
    """Build a minor seventh on note.

    Example:
    >>> minor_seventh('C')
    ['C', 'Eb', 'G', 'Bb']
    """
    return minor_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 11
0
def diminished_seventh(note):
    """Build a diminished seventh chord on note.

    Example:
    >>> diminished_seventh('C')
    ['C', 'Eb', 'Gb', 'Bbb']
    """
    return (diminished_triad(note) +
            [notes.diminish(intervals.minor_seventh(note))])
Ejemplo n.º 12
0
def half_diminished_seventh(note):
    """Build a half diminished seventh (also known as "minor seventh flat
    five") chord on note.

    Example:
    >>> half_diminished_seventh('C')
    ['C', 'Eb', 'Gb', 'Bb']
    """
    return diminished_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 13
0
def eleventh(note):
    """Build an eleventh chord on note.

    Example:
    >>> eleventh('C')
    ['C', 'G', 'Bb', 'F']
    """
    return [note, intervals.perfect_fifth(note), intervals.minor_seventh(note),
            intervals.perfect_fourth(note)]
Ejemplo n.º 14
0
def diminished_seventh(note):
    """Build a diminished seventh chord on note.

    Example:
    >>> diminished_seventh('C')
    ['C', 'Eb', 'Gb', 'Bbb']
    """
    return (diminished_triad(note) +
            [notes.diminish(intervals.minor_seventh(note))])
Ejemplo n.º 15
0
def half_diminished_seventh(note):
    """Build a half diminished seventh (also known as "minor seventh flat
    five") chord on note.

    Example:
    >>> half_diminished_seventh('C')
    ['C', 'Eb', 'Gb', 'Bb']
    """
    return diminished_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 16
0
def eleventh(note):
    """Build an eleventh chord on note.

    Example:
    >>> eleventh('C')
    ['C', 'G', 'Bb', 'F']
    """
    return [
        note,
        intervals.perfect_fifth(note),
        intervals.minor_seventh(note),
        intervals.perfect_fourth(note)
    ]