Quote:
Quote:
More than likely what will happen is the load will not be very substantial because disabling everything else allows loudness to utilize more of the data and execution caches.
That's exactly what I want to know. It's very well possible that disabling some other filter (if you're talking about cache/memory usage, Multiband uses about 5 times as much as Loudness) will also reduce the CPU load, so I want to know if it's really loudness that's causing it or the combination of everything - in which case focussing specifically on Loudness may be less useful.
It's both a combination of everything, and some things specific to loudness.
If I just have loudness on, no pre-emphasis or oversampling, then the loads are in the 30s. I can toggle the use shortcuts options and see no difference either.
Moving on to pre-emphasis and oversampling, if I use one or the other, the load stays in the 30s, but if I enable them both, the load goes up to the 60s.
If I leave pre-emphasis and oversampling off, but start adding back things one by one, I eventually hit a cache wall and it goes back up to the 60s again. If I push further, by enabling pre-emphasis, I get back to the 80s and 90s, like what I posted earlier.
So, there are various combinations that push a 1MB cache system over the edge.
Quote:
There are some rather interesting optimizations that I can do on a number of other filters that can remove a number of - with some code changes unnecessary - memory copy operations (MB (40), AGC (6), noise gate (14) - numbers are the number of unnecessary copies PER SAMPLE). Both the declipper and Loudness (the last 2 filters that I wrote from scratch) are already optimized this way - declipper wasn't completely optimized until a few beta's ago though. Don't expect too much performance gain though, the change in the declipper removed 10 copies per sample and I'm unable to measure any difference from that...
I'd say that if you know that you can remove things without changing the audio, then anything removed would give more room for other data / instructions. Based on my experimentation, I'd agree that MB, AGC, and Noise Gate are candidates, but possibly Stereo as well.
BTW, I picked a nice long track to do this testing with... Pink Floyd - Echoes

23 minutes, 28 seconds