Пример #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)]
Пример #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)]
Пример #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)]
Пример #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)]
Пример #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)]
Пример #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)]
Пример #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)]
Пример #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)]
Пример #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)]
Пример #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]
Пример #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)]
Пример #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)]
Пример #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)]
Пример #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))])
Пример #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)]
Пример #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))]
Пример #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]
Пример #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]
Пример #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))]
Пример #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)
    ]
Пример #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)
    ]