PM.Pong and PM.%
Please note that we are no longer taking submissions for Tools and no longer supporting the Tools section, so you may run into broken files and URLs. You can contribute to the Cycling '74 Community by submitting a Package or using the forums instead.
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.%
Author