Skip to content

rand.hist

The rand.hist object generates weighted random numbers based on an internal histogram, allowing control over the probability of each output. It can produce sequences with or without repetition, and bangs its right outlet when a sequence is exhausted. The histogram can be dynamically updated using messages like inc, dec, set, eq, clear, and size, and the random sequence can be seeded for reproducibility.


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

  • Library developed mainly by Alexandre Torres Porres.
  • Report Bugs/Errors here!
  • Available for .

Similar


    Comments

    Contributors