Ejemplo n.º 1
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.º 2
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.º 3
0
def dominant_seventh(note):
	"""Builds a dominant seventh on note.
	Example:
{{{
>>> dominant_seventh("C")
["C", "E", "G", "Bb"]
}}}"""
	return major_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 4
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.º 5
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.º 6
0
def minor_seventh(note):
	"""Builds 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):
	"""Builds 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 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.º 9
0
def augmented_minor_seventh(note):
	"""Builds 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.º 10
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.º 11
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.º 12
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.º 13
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.º 14
0
def dominant_seventh(note):
    """Builds a dominant seventh on note.
    Example:
{{{
>>> dominant_seventh(\"C\")
[\"C\", \"E\", \"G\", \"Bb\"]
}}}"""

    return major_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 15
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.º 16
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.º 17
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.º 18
0
def dorian(note):
	"""Returns the dorian mode scale starting on note.
	Example:
{{{
>>> dorian("D") 
["D", "E", "F", "G", "A", "B", "C"]
}}}"""
	i = ionian(intervals.minor_seventh(note))
	return i[1:] + [i[0]]
Ejemplo n.º 19
0
def half_diminished_seventh(note):
    """Builds a half diminished seventh (=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.º 20
0
def dominant_seventh(note):
    """Builds a dominant seventh on note.
    Example:
{{{
>>> dominant_seventh(\"C\")
[\"C\", \"E\", \"G\", \"Bb\"]
}}}"""

    return major_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 21
0
def minor_seventh(note):
    """Builds a minor seventh on note.
    Example:
{{{
>>> minor_seventh(\"C\")
[\"C\", \"Eb\", \"G\", \"Bb\"]
}}}"""

    return minor_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 22
0
def augmented_minor_seventh(note):
    """Builds 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.º 23
0
def augmented_minor_seventh(note):
    """Builds 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.º 24
0
def dominant_sixth(note):
    """Builds 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.º 25
0
def minor_seventh(note):
    """Builds a minor seventh on note.
    Example:
{{{
>>> minor_seventh(\"C\")
[\"C\", \"Eb\", \"G\", \"Bb\"]
}}}"""

    return minor_triad(note) + [intervals.minor_seventh(note)]
Ejemplo n.º 26
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.º 27
0
def half_diminished_seventh(note):
    """Builds a half diminished seventh (=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.º 28
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.º 29
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.º 30
0
def suspended_seventh(note):
	"""Builds 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.º 31
0
def eleventh(note):
	"""Builds 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.º 32
0
def diminished_seventh(note):
	"""Builds 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.º 33
0
def half_diminished_seventh(note):
	"""Builds a half diminished seventh (=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.º 34
0
def suspended_seventh(note):
    """Builds 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.º 35
0
def diminished_seventh(note):
    """Builds 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.º 36
0
def suspended_seventh(note):
    """Builds 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.º 37
0
def dorian(note):
    """Returns the dorian mode scale starting on note.
    Example:
{{{
>>> dorian(\"D\")
[\"D\", \"E\", \"F\", \"G\", \"A\", \"B\", \"C\"]
}}}"""

    i = ionian(intervals.minor_seventh(note))
    return i[1:] + [i[0]]
Ejemplo n.º 38
0
def diminished_seventh(note):
    """Builds 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.º 39
0
def dorian(note):
    """Returns the dorian mode scale starting on note.
    Example:
{{{
>>> dorian(\"D\")
[\"D\", \"E\", \"F\", \"G\", \"A\", \"B\", \"C\"]
}}}"""

    i = ionian(intervals.minor_seventh(note))
    return i[1:] + [i[0]]
Ejemplo n.º 40
0
def eleventh(note):
    """Builds 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)
    ]