ProbabilityTrigger Op

ProbabilityTrigger

trigger by chance


<p>This op triggers based on a given probability.</p> <p>An example:</p> <p>If you set the probability to 0.8, there is an 80% chance that the left output will be triggered and a 20% chance that it won&#39;t (and instead, the right output will be triggered).</p> <p>If you set the probability to 0, only the right output will be triggered. If you set the probability to 1, only the left output will be triggered.</p>


Full Name
  • Ops.Trigger.ProbabilityTrigger
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


Example Patch ProbabilityTrigger example

Example patch for ProbabilityTrigger

Open In Editor

INPUT PORTS


Trigger In (Trigger)

<p>trigger input</p>

Probability (Number)

<p>probability of trigger being passed to first trigger output (0 = trigger only passed to inverse output, 1 = trigger always</p>

OUTPUT PORTS


Trigger Output (Trigger)

<p>triggers when probability criteria is met</p>

Inverse Trigger Output (Trigger)

<p>triggers when probability criteria is not met</p>


Patches using ProbabilityTrigger

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarsimod - 2021-02-15 15:45
Ops.User.simod.ProbabilityTrigger renamed to Ops.Trigger.ProbabilityTriggeruser avatarsimod - 2021-02-15 16:06