I like grains and with @o.green have been making a replacement for the GMU GMEM granulator using framelib. Mostly working!
I’m getting horrible CPU spikes - going from ~3% to >40%, and glitching audio playing from all other sources.
I think this is only inside an M4L environment, but still narrowing down.
pretty sure it’s the Alpha-2.5 release - happy to try a more recent one if that sound promising.
Environment Details (Max/SC/Whatever):
macOS Mojave 10.14.6, 2.6 GHz Intel Core i7, 32 GB 2400 MHz DDR4
Steps to reproduce (Provide patch/code if possible):
If I open the help patch, I can set it to play a 4s grain every 2 seconds, and that’s fine (although definitely not free). If I use the MinimalLiveGranulator.amxd in the examples folder to do the same think (2000ms timing, 2.0 fill) then the cpu goes wonky. It’s generally when the grain kicks off, but not every time.
CPU goes spiky and all the audio goes glitchy
Buttery smooth delicious grainy goodness
We (well, @o.green ) had a look with Instruments from XCode, which traced it to the fl.read~ object. We had a thought that it could be an interpolation thing - I thought that moving from default
linear had helped, but it appears to still be an issue.
Audio settings in Live in case it helps…