Skip to content

Pattern: PWrap

Wrap input note values within , .

Example output

>>> p = PWrap(PSeries(5, 3), 0, 10)
>>> p.nextn(16)
[5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0]