def phrygian(note): """Returns the phrygian mode scale starting on note. Example: {{{ >>> phrygian("E") ["E", "F", "G", "A", "B", "C", "D"] }}} """ i = ionian(intervals.minor_sixth(note)) return i[2:] + i[:2]
def phrygian(note): """Returns the phrygian mode scale starting on note. Example: {{{ >>> phrygian(\"E\") [\"E\", \"F\", \"G\", \"A\", \"B\", \"C\", \"D\"] }}}""" i = ionian(intervals.minor_sixth(note)) return i[2:] + i[:2]