(self)
return ret
Split a compound interval into simple intervals.
        The sum of splitted intervals is equal to the compound interval.
Split a compound interval into simple intervals.
        The sum of splitted intervals is equal to the compound interval.
Split a compound interval into simple intervals . The sum of splitted intervals is equal to the compound interval .
def split(self):
        """
        Split a compound interval into simple intervals.
        The sum of splitted intervals is equal to the compound interval.
        """
        ret = []
        i = Interval(str(self))
        while i.is_compound():
            i.number -= 7
            i.semitones -= 12
            ret.append(Interval('P8'))
        ret.append(i)
        return ret
def split ( self ) : ret = [ ] i = Interval ( str ( self ) ) while i . is_compound ( ) : i . number -= 7 i . semitones -= 12 ret . append ( Interval ( 'P8' ) ) ret . append ( i ) return ret