def rotate(self, n=1):
        modn = n % len(self)
        result = self.items[modn:] + self.items[0:modn]
        return NoteSeq(result)
dataset/ETHPy150Open kroger/pyknon/pyknon/music.py/NoteSeq.rotate/original