gibber-cc / gibber

An audiovisual live coding environment for the browser
MIT License
902 stars 79 forks source link

Sequences spillover when redefined #96

Open ianhattwick opened 1 year ago

ianhattwick commented 1 year ago

When redefining a sequence, the previously defined sequence continues to play (sometimes for a whole pattern) while the new sequence plays.

I've noticed this in various contexts, some worse than others. I'll try and add more examples as they come up, but the example below seems repeatable:

f = Freesound(577698, {maxvoices:8})

//execute this first
f.note.seq([7,6,5], 1/4)

//then execute this
f.note.seq([1,2,3], 1/2)