array-median
Upon receiving a bang, array-median outputs the median value of the currently referenced array from its first outlet. If the array size is odd, its second outlet outputs the median index; use a set message to change the referenced array.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search forarray-absand install it. Then create an object withdeclare -lib array-abs -path array-abs. Finally, usearray-medianor any other object fromarray-abs.