el.seq([props], t, reset)
A simple signal sequencer. Receives a sequence of values from the seq
property
and steps through them on each rising edge of an incoming pulse train. Expects two children, first
the pulse train to trigger the next step of the sequence. The second child is another pulse train whose rising
edge will reset the sequence position back to the beginning or to the index specified by the offset
prop.
Example:
el.sample(
{path: '/path/to/kick.wav'},
el.seq(
{seq: [1, 0, 1, 0, 0, 0, 1, 1]},
el.train(2)
)
)
Props
Name | Default | Type |
---|---|---|
seq | [] | Array |
offset | 0 | number |
hold | false | Bool |
loop | true | Bool |