SPKitLimiter inherits a setInputAndEstimationTime() initialization function and a setThreshold() function from its base class, SPKitDynamicsProcessor.
SPKitLimiter implements a scaleBuffer() function for scaling the amplitude of the input signal.
SPKitLimiter uses linear interpolation to scale the amplitude between two consecutive time windows. If the absolute maximum amplitude values of both windows are less than threshold, scaleBuffer() leaves the sampleBuffer unaffected.
Kai Lassfolk / University of Helsinki / kpl@elisir.helsinki.fi