Skip to content

list-swap

list-swap swaps two elements of an input list at specified indices and outputs the resulting list. The two indices are supplied as floats to its second and third inlets; for example, list-swap 2 5 selects indices 2 and 5.


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 list-abs and install it. Then create an object with declare -lib list-abs -path list-abs. Finally, use list-swap or any other object from list-abs.


Similar


    Comments

    Contributors