Skip to content

tdh.math.random2choices

tdh.math.random2choices randomly outputs one of two values, providing a simple way to make a two-option random selection. The choice can be uniform or weighted toward either option.


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


Similar


    Comments

    Contributors