Skip to content

Class daisysp::Maytrig

ClassList > daisysp > Maytrig

More...

  • #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

inline daisysp::Maytrig::Maytrig () 

function Process

inline float daisysp::Maytrig::Process (
    float prob
) 

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

inline daisysp::Maytrig::~Maytrig () 


The documentation for this class was generated from the following file external-docs/DaisySP/Source/Utility/maytrig.h