increpare / PuzzleScript

Open Source HTML5 Puzzle Game Engine
MIT License
903 stars 159 forks source link

sound glitches out after a while #404

Closed eyesack closed 3 years ago

eyesack commented 7 years ago

I tried to make a drum sequencer in puzzlescript:

http://www.puzzlescript.net/play.html?p=60f2ffb284e2a3e197ce2ca51e5f9734

It starts out fine, but after a minute or two the sound will get gradually more and more distorted, and eventually not play at all. (This is in Chrome on a Mac.)

I realize I'm trying to make puzzlescript do something it was probably never intended to do...

ncrecc commented 7 years ago

No, I think this happens on all PS games.

increpare commented 7 years ago

could you force reload the page, try again and let me know if it's fixed?

eyesack commented 7 years ago

It fixes the problem temporarily, but it still glitches out eventually. It might be my imagination but it seems to take longer to glitch out now? Also, the 3 browsers I tested all seem to show slightly different behavior. Chrome: works perfectly for a while, then glitches out Firefox: doesn't glitch out, but realtime_interval sometimes seems unsteady Safari: doesn't glitch out, but realtime_interval is inexplicably slower

increpare commented 3 years ago

I'm going to kind of magically assume that this isn't a problem any more (I can't repro it right now). If it is, lemme know.

Apolgoies for...the slight delay in getting back to you.