Esempio n. 1
0
def major_triad(note):
    """Build a major triad on note.

    Example:
    >>> major_triad('C')
    ['C', 'E', 'G']
    """
    return [note, intervals.major_third(note), intervals.perfect_fifth(note)]
Esempio n. 2
0
def major_triad(note):
    """Build a major triad on note.

    Example:
    >>> major_triad('C')
    ['C', 'E', 'G']
    """
    return [note, intervals.major_third(note), intervals.perfect_fifth(note)]
Esempio n. 3
0
def major_triad(note):
	"""Builds a major triad on note.
	Example:
{{{
>>> major_triad("C")
["C", "E", "G"]
}}}"""
	return [note, intervals.major_third(note), intervals.perfect_fifth(note)]
Esempio n. 4
0
def italian_augmented_sixth_chord(note):
    """Build an italian augmented sixth chord.

    Example:
    >>> italian_augmented_sixth_chord('C')
    ['C', 'E', 'A#']
    """
    return [note, intervals.major_third(note), intervals.augmented_sixth(note)]
Esempio n. 5
0
def augmented_triad(note):
    """Build an augmented triad on note.

    Example:
    >>> augmented_triad('C')
    ['C', 'E', 'G#']
    """
    return [note, intervals.major_third(note),
            notes.augment(intervals.major_fifth(note))]
Esempio n. 6
0
def augmented_triad(note):
	"""Builds an augmented triad on note.
	Example:
{{{
>>> augmented_triad("C")
["C", "E", "G#"]
}}}"""
	return [note, intervals.major_third(note),\
					notes.augment(intervals.major_fifth(note))]
Esempio n. 7
0
def augmented_triad(note):
    """Build an augmented triad on note.

    Example:
    >>> augmented_triad('C')
    ['C', 'E', 'G#']
    """
    return [note, intervals.major_third(note),
            notes.augment(intervals.major_fifth(note))]
Esempio n. 8
0
def major_triad(note):
    """Builds a major triad on note.
    Example:
{{{
>>> major_triad(\"C\")
[\"C\", \"E\", \"G\"]
}}}"""

    return [note, intervals.major_third(note), intervals.perfect_fifth(note)]
Esempio n. 9
0
def major_triad(note):
    """Builds a major triad on note.
    Example:
{{{
>>> major_triad(\"C\")
[\"C\", \"E\", \"G\"]
}}}"""

    return [note, intervals.major_third(note), intervals.perfect_fifth(note)]
Esempio n. 10
0
def augmented_triad(note):
    """Builds an augmented triad on note.
    Example:
{{{
>>> augmented_triad(\"C\")
[\"C\", \"E\", \"G#\"]
}}}"""

    return [note, intervals.major_third(note),
            notes.augment(intervals.major_fifth(note))]
Esempio n. 11
0
def french_augmented_sixth_chord(note):
    """Build an french augmented sixth chord.

    Example:
    >>> french_augmented_sixth_chord('C')
    ['C', 'E', 'F#', 'A#']
    """
    return [
        note,
        intervals.major_third(note),
        intervals.augmented_fourth(note),
        intervals.augmented_sixth(note)
    ]
Esempio n. 12
0
def augmented_triad(note):
    """Builds an augmented triad on note.
    Example:
{{{
>>> augmented_triad(\"C\")
[\"C\", \"E\", \"G#\"]
}}}"""

    return [
        note,
        intervals.major_third(note),
        notes.augment(intervals.major_fifth(note))
    ]