Example #1
0
def hendrix_chord(note):
    """Build the famous Hendrix chord (7b12).

    Example:
    >>> hendrix_chord('C')
    ['C', 'E', 'G', 'Bb', 'Eb']
    """
    return dominant_seventh(note) + [intervals.minor_third(note)]
Example #2
0
def diminished_triad(note):
    """Build a diminished triad on note.

    Example:
    >>> diminished_triad('C')
    ['C', 'Eb', 'Gb']
    """
    return [note, intervals.minor_third(note), intervals.minor_fifth(note)]
Example #3
0
def minor_triad(note):
    """Build a minor triad on note.

    Example:
    >>> minor_triad('C')
    ['C', 'Eb', 'G']
    """
    return [note, intervals.minor_third(note), intervals.perfect_fifth(note)]
Example #4
0
def hendrix_chord(note):
    """Build the famous Hendrix chord (7b12).

    Example:
    >>> hendrix_chord('C')
    ['C', 'E', 'G', 'Bb', 'Eb']
    """
    return dominant_seventh(note) + [intervals.minor_third(note)]
Example #5
0
def diminished_triad(note):
    """Build a diminished triad on note.

    Example:
    >>> diminished_triad('C')
    ['C', 'Eb', 'Gb']
    """
    return [note, intervals.minor_third(note), intervals.minor_fifth(note)]
Example #6
0
def minor_triad(note):
    """Build a minor triad on note.

    Example:
    >>> minor_triad('C')
    ['C', 'Eb', 'G']
    """
    return [note, intervals.minor_third(note), intervals.perfect_fifth(note)]