Skip to content

list-sample

list-sample grabs a specified number of unique random items from an incoming list. Its argument sets the sample length (for example, list-sample 5), and the patch indicates that list-shuffle is equivalent to sampling with a length equal to the input list's length.


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


Similar


    Comments

    Contributors