PM.Pong and PM.%

PM.Pong does for floats/ints/lists what pong~ does for signals.  It's a handy way of constraining values within a range, and would be suitable for arpeggiators, etc.  PM.Pong also has an extra fold mode that doubles the end-points (e.g. 2 3 4 5 5 4 3 2 2 3 4 5 instead of 2 3 4 5 4 3 2 3 4 5 4 3).

Also included is PM.%, which is a list-friendly, float-friendly replacement for vexpr's % operator (which only handles floats).

Tool Files

  • PM.Pong and PM.%

Published

Creative Commons License