zhw2590582 / WFPlayer

:ocean: WFPlayer.js is an audio waveform generator
https://wfplayer.js.org
MIT License
265 stars 33 forks source link

fixed stack overflow when gridGap is at zero #44

Closed ExtReMLapin closed 1 year ago

ExtReMLapin commented 1 year ago

from memory that's the change I did at the office.

It was creating an error when killing/creating the WF which prevented me from creating/killing it fast.

Not sure if I should return 1 or 0

ExtReMLapin commented 1 year ago

Also i would have turned the closure (loop()) into a loop with a max iteration count of 360 (that's 3600 seconds)