Ejemplo n.º 1
0
def minor_bar(note):
        """Builds a minor bar on note.
        Example:
{{{
>>> minor_triad("C")
["C", "Eb", "F", "G"]
}}}"""
        return [note, intervals.minor_third(note), intervals.perfect_fourth(note), intervals.perfect_fifth(note)]
Ejemplo n.º 2
0
def minor_eleventh(note):
	"""Builds a minor eleventh chord on note.
	Example:
{{{
>>> minor_eleventh("C")
['C', 'Eb', 'G', 'Bb', 'F']
}}}"""
	return minor_seventh(note) + [intervals.perfect_fourth(note)]
Ejemplo n.º 3
0
def minor_eleventh(note):
    """Build a minor eleventh chord on note.

    Example:
    >>> minor_eleventh('C')
    ['C', 'Eb', 'G', 'Bb', 'F']
    """
    return minor_seventh(note) + [intervals.perfect_fourth(note)]
Ejemplo n.º 4
0
def suspended_fourth_triad(note):
    """Build a suspended fourth triad on note.

    Example:
    >>> suspended_fourth_triad('C')
    ['C', 'F', 'G']
    """
    return [note, intervals.perfect_fourth(note), intervals.perfect_fifth(note)]
Ejemplo n.º 5
0
def suspended_fourth_triad(note):
	"""Builds a suspended fourth triad on note.
	Example:
{{{
>>> suspended_fourth_triad("C")
["C", "F", "G"]
}}}"""
	return [note, intervals.perfect_fourth(note), intervals.perfect_fifth(note)]
Ejemplo n.º 6
0
def minor_eleventh(note):
    """Build a minor eleventh chord on note.

    Example:
    >>> minor_eleventh('C')
    ['C', 'Eb', 'G', 'Bb', 'F']
    """
    return minor_seventh(note) + [intervals.perfect_fourth(note)]
Ejemplo n.º 7
0
def suspended_fourth_triad(note):
    """Build a suspended fourth triad on note.

    Example:
    >>> suspended_fourth_triad('C')
    ['C', 'F', 'G']
    """
    return [note, intervals.perfect_fourth(note), intervals.perfect_fifth(note)]
Ejemplo n.º 8
0
def major_bar(note):
        """Builds a major triad on note.
        Example:
{{{
>>> major_bar("C")
["C", "E", "F", "G"]
}}}"""
        return [note, intervals.major_third(note), intervals.perfect_fourth(note), intervals.perfect_fifth(note)]
Ejemplo n.º 9
0
def minor_eleventh(note):
    """Builds a minor eleventh chord on note.
    Example:
{{{
>>> minor_eleventh(\"C\")
['C', 'Eb', 'G', 'Bb', 'F']
}}}"""

    return minor_seventh(note) + [intervals.perfect_fourth(note)]
Ejemplo n.º 10
0
def mixolydian(note):
	"""Returns the mixolydian mode scale starting on note.
	Example:
{{{
>>> mixolydian("G")
["G", "A", "B", "C", "D", "E", "F"]
}}}"""
	i = ionian(intervals.perfect_fourth(note))
	return i[4:] + i[:4]
Ejemplo n.º 11
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.º 12
0
def suspended_fourth_triad(note):
    """Builds a suspended fourth triad on note.
    Example:
{{{
>>> suspended_fourth_triad(\"C\")
[\"C\", \"F\", \"G\"]
}}}"""

    return [note, intervals.perfect_fourth(note), intervals.perfect_fifth(note)]
Ejemplo n.º 13
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.º 14
0
def lydian_dominant_seventh(note):
    """Build the lydian dominant seventh (7#11) on note.

    Example:
    >>> lydian_dominant_seventh('C')
    ['C', 'E', 'G', 'Bb', 'F#']
    """
    return (dominant_seventh(note) +
            [notes.augment(intervals.perfect_fourth(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 lydian_dominant_seventh(note):
	"""Builds the lydian dominant seventh (7#11) on note
	Example:
{{{
>>> lydian_dominant_seventh('C')
['C', 'E', 'G', 'Bb', 'F#']

}}}"""
	return dominant_seventh(note) + [notes.augment(intervals.perfect_fourth(note))]
Ejemplo n.º 17
0
def mixolydian(note):
    """Returns the mixolydian mode scale starting on note.
    Example:
{{{
>>> mixolydian(\"G\")
[\"G\", \"A\", \"B\", \"C\", \"D\", \"E\", \"F\"]
}}}"""

    i = ionian(intervals.perfect_fourth(note))
    return i[4:] + i[:4]
Ejemplo n.º 18
0
def mixolydian(note):
    """Returns the mixolydian mode scale starting on note.
    Example:
{{{
>>> mixolydian(\"G\")
[\"G\", \"A\", \"B\", \"C\", \"D\", \"E\", \"F\"]
}}}"""

    i = ionian(intervals.perfect_fourth(note))
    return i[4:] + i[:4]
Ejemplo n.º 19
0
def lydian_dominant_seventh(note):
    """Builds the lydian dominant seventh (7#11) on note
    Example:
{{{
>>> lydian_dominant_seventh('C')
['C', 'E', 'G', 'Bb', 'F#']

}}}"""

    return dominant_seventh(note)\
         + [notes.augment(intervals.perfect_fourth(note))]
Ejemplo n.º 20
0
def suspended_fourth_triad(note):
    """Builds a suspended fourth triad on note.
    Example:
{{{
>>> suspended_fourth_triad(\"C\")
[\"C\", \"F\", \"G\"]
}}}"""

    return [
        note,
        intervals.perfect_fourth(note),
        intervals.perfect_fifth(note)
    ]
Ejemplo n.º 21
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)
    ]