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)]
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)]
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)]
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)]
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)]
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)]
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)]
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)]
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)]
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)]
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)]
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))])
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)]
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]]
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)]
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)]
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)]
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)]
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)]
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)]
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))]
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)]
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)]
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))]
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]]
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) ]