Skip to content

list-wrandom

list-wrandom uses an input list as a probability table for weighted random selection. Send a bang to produce a random number at the first outlet; the second outlet reports the probability table’s size for convenience.


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-wrandom or any other object from list-abs.


Similar


    Comments

    Contributors