Skip to content

ls.choose

ls.choose selects a random element from a list, outputting the element from its left outlet and its index from the right outlet. A list sets the stored list and immediately makes a selection; use set to change the stored list without output, or send a bang to choose again.


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


Similar


    Comments

    Contributors