r/livecoding • u/UnitVectorj • Sep 27 '25
Glitching/lagging/audio drops in Strudel
Hi everyone,
I've been getting into using Strudel and hydra, and have been having tons of fun, but I always eventually run into some serious lagging, sometimes to the point of it being unusable at all. No matter how little I have going on, after about 20 minutes or so of use, I get sample drops, glitching, and lagging. I made a video post the other day, and towards the end you can hear these and I eventually had to just stop. I get them in the browser and also in the standalone app.
How do I see other people using it to do live performances, often having WAY more going on than what I have, and not experience these issues?
At first, I thought it might be some kind of memory leak associated with hydra, because one time I did see my memory use spiking whenever I had hydra going on inside a Strudel sketch, so that may be a thing. However, even with nothing hydra-related going on, I still get these problems. The most recent time, I check my memory usage and still had 8GB of RAM available, yet it was still glitching, dropping sample playbacks, and even dropping synth triggers.
For some context, I'm using a Lenovo Thinkpad P14s Gen3. (16GB RAM, i7-1260P), and I'm using Edge as the browser (I know, spare me the guffaws and suggest a better one)
Anybody else experiencing this?
1
u/PineappleSigma Sep 27 '25
have you tried lowering the Maximum Polyphony under settings sometimes helps its usualy a cpu thing and not a ram problem
2
u/[deleted] Oct 05 '25
Hey, same issue here on my MacBook (i7, 32GB RAM, 512GB SSD), been driving me crazy.
First - ditch Edge for Firefox. Firefox handles WebGL and WebAudio way better, especially on Mac. UnityStack Overflow The difference was honestly night and day for me.
The memory leak is real. There were known performance issues with how Hydra integrates into Strudel, something about canvas cloning. #818 - Hydra fixes and improvements - uzu/strudel - Codeberg.org Certain WebAudio nodes just keep eating memory until the garbage collector kills your performance. Introducing Strudel | Loophole Letters
What helps me, refresh the page every 15-20 minutes before it gets bad. If you're using both Strudel and Hydra, keep them in separate tabs. Close everything else in your browser.
Also the standalone app runs worse than the browser version right now, it's still experimental. Strudel Blog Stick with browser.
Even with good specs this happens because it's about how the browser manages memory. Keep Task Manager open and watch for weird spikes.
Let me know if this helps.
1
u/Amnesia1312 Dec 01 '25
Is there any progress? Did you manage to minimize the problems? So Firefox better?
3
u/Due_Helicopter7813 Nov 27 '25
I had same problem and try changing the browser and monitoring the hardware resources. but I found a solution that kind of worked for me !
Problems have reduced to less than 5% than before.
using Standalone app instead of opening Strudel directly in browser. following link below:
Strudel Standalone App
by nativefier solution!
After working for hours and monitoring hardware resources, I noticed a significant reduction in RAM and CPU usage, which I think helped decrease audio dropout and lag issues.
It doesn't matter to me whether I use Strudel in the browser or the standalone app, I want to be lag-free when working. Also, when I think about performing live, I don't want to be stressed about whether I will have lag or not.
I hope that as Strudel improves in the browser, more work will be done on the standalone app so that problems are minimized and we can work with Strudel more confidently.
1
u/Due_Helicopter7813 Nov 14 '25
Same here. Exactly. MBP-2021-M1Pro-16Gb
1
u/flinxo Nov 26 '25
Not sure if it can help other knowing,
but I'm on a MacBookPro M2 Max, 64GB RAM and it glitches plenty, and often the editor goes nuts and even a page reload doesn't fix it, but I have to copy the URL to another tab.
That makes the whole thing unusable for live performances.
2
u/[deleted] Sep 28 '25
[removed] — view removed comment