ClockSequencerPattern Op

ClockSequencerPattern

sequence triggers by defining a pattern (like a drum machine)


<p>This op allows you to create trigger patterns in conjuction with the ParseArray op.</p> <p>If your array contains a 0, the step containing it will not pass a trigger through.</p> <p>If you do not pass an array, triggers will be passed through.</p> <p>An example: If you choose a step size of 6 and use an array that looks like this <code>[1, 0, 0, 0.5, 0, 0]</code>, every third step will be triggered. Step number 0 will output a &quot;Sequenced Value&quot; of <code>1</code>, where as step number 3 will output a value of <code>0.5</code>. These values can be used to modulate parameters, e.g.: using it to control the volume of a sequenced sound. Please refer to the example for a musical use case.</p>


Full Name
  • Ops.WebAudio.ClockSequencerPattern
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


INPUT PORTS


Clock Trigger Input (Trigger)

<p>trigger input</p>

Sequence Array (Array)

<p>pattern to be sequenced in array form. 0 does not trigger. e.g.: [1, 0, 1, 0] triggers every 1st and 3rd trigger</p>

Steps index (Number:

<i>integer</i>

)

Steps (Number:

<i>string</i>

)

<p>number of steps until pattern is repeated</p>

Reset (Trigger)

<p>restarts the sequence if triggered</p>

OUTPUT PORTS


Sequence Trigger Output (Trigger)

<p>output trigger</p>

Sequenced Value (Number)

<p>the current step value on trigger</p>

Current Step (Number)

<p>the index of the step</p>


Patches using ClockSequencerPattern

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarsimod - 2021-02-09 17:52
Ops.User.simod.ClockArrayTrigger renamed to Ops.WebAudio.ClockArrayTriggeruser avatarsimod - 2021-02-09 17:57
Ops.WebAudio.ClockArrayTrigger renamed to Ops.WebAudio.ClockSequencerPatternuser avatarcables - 2021-02-10 11:04