Skip to content

random.discrete

random.discrete generates weighted random integers on the interval [0, N), using a list of non-negative weights that can be supplied as arguments or set with a list. Send a bang to generate a value, and use the @seed property for reproducible sequences.


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

  • Available for .

Similar


    Comments

    Contributors