Skip to content

Pattern: PArpeggiator

Arpeggiator.

can be one of: PArp.UP PArp.DOWN PArp.UPDOWN PArp.CONVERGE PArp.DIVERGE PArp.RANDOM

Example output

>>> p = PLoop(PArpeggiator(Chord.major, PArpeggiator.CONVERGE))
>>> p.nextn(16)
[0, 12, 4, 7, 0, 12, 4, 7, 0, 12, 4, 7, 0, 12, 4, 7]