return el.sample(
{path: 'synth:0'},
el.sparseq({
seq: [
{ value: 1, tickTime: 1 },
],
loop: [0, 500]
},
el.train(100),
0),
1,
)
return el.sample(
{path: 'synth:0'},
el.sparseq({
seq: [
{ value: 1, tickTime: 0 },
],
loop: [0, 500]
},
el.train(100),
0),
1,
)
If
el.sparseqincludesseqelements withtickTimeset to theloopstart or end points, then those are not included in the loop sequence, while elements withtickTimes that fall within theloopedges are included.This loops:
while this does not: