Class daisysp::Maytrig¶
#include <maytrig.h>
Public Functions¶
Type | Name |
---|---|
Maytrig () |
|
float | Process (float prob) |
~Maytrig () |
Detailed Description¶
Probabilistic trigger module
Original author(s) : Paul Batchelor
Ported from soundpipe by Ben Sergentanis, May 2020
Public Functions Documentation¶
function Maytrig¶
function Process¶
probabilistically generates triggers
Parameters:
prob
(1 always returns true, 0 always false)
Returns:
given a probability 0 to 1, returns true or false.
function ~Maytrig¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/Utility/maytrig.h