Skip to content

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 Pd and go to ToolsFind Externals. Search for array-abs and install it. Then create an object with declare -lib array-abs -path array-abs. Finally, use array-median or any other object from array-abs.


Similar


    Comments

    Contributors