Skip to content

chance

The chance object outputs a bang to one of its outlets based on a set of probabilities. These probabilities can be configured with a single float for two outlets (e.g., 50% chance for the left, 50% for the right) or a list of floats for multiple outlets. It supports seeding for reproducible random sequences, making it useful for introducing controlled randomness into patches.


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 chance or any other object from else.

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

Similar


    Comments

    Contributors