JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins.
I noticed there don't seem to be unit tests for this class, or I just missed them. Could you point me to them if they exist and I'll add a few tests for this?
If this is acceptable, I could add other statistics that seem to be missing (power, and RMS being the major ones). Any interest in me following up with that?
Add the energy (sum of squares) to the output of the StatisticsAccumulator.