Bernoulli (probabilistic) gate

Hi! Is anyone know any object with the ability to create Bernoulli or probabilistic gates?

1 Like

Isn’t Mutable Instruments Branches a dual Bernoulli gate thing? The code for it looks pretty slim, could be ported into an Axo object I suppose

What exactly makes a random probability a Bernoulli one?

Does it really just “take a logic signal (trigger or gate) as an input, and routes it to either of its two outputs according to a random coin toss”? If yes we don’t need to port anything I guess, there are existing objects that can put this together already:

Perhaps phi/prob/%sw1_2f ?

If the above doesn’t work (or you prefer to work with yellow gate signals) you can probably use a %gate d to control a demux 2 which will send the gate to either one of its outputs?

1 Like