SPKitCompressorLimiter
User's Guide
SPKitCompressorLimiter is compressor/limiter class.
It feeds the input signal through a compressor
(see SPKitCompressor)
followed by a limiter
(see SPKitLimiter).
SPKitCompressorLimiter is initialized
and connected to its signal input with a
setInputAndEstimationTime(SPKitProcessor ip, SPKitFloat et)
function,
where ip is a pointer to the signal input object
and et is estimation time in seconds.
SPKitCompressorLimiter uses the same estimation time in
both its compressor and limiter sections.
SPKitCompressorLimiter implements a
setCompressorThreshold(SPKitFloat value)
function for setting the compressor section threshold,
a setCompressionRatio(SPKitFloat value) function
for setting the compression ratio (to 1:value)
and a setLimiterThreshold(SPKitFloat value) function
for setting the threshold of the limiter section.
Here is an example.
Programmer's Reference
Defined in <spkit/complim.h>
Inherits from SPKitProcessor
Public Members
- SPKitError setInputAndEstimationTime(SPKitProcessor* ip, SPKitFloat et)
- Connect an input to the object and initialize it.
Sets estimation time of both
compressor
and
limiter
to et.
Calls
SPKitProcessor::setInput().
- void setCompressorThreshold(SPKitFloat value)
- Set the threshold of
compressor
to value.
- void setCompressionRatio(SPKitFloat value)
- Set compression ratio of
compressor
to value.
- void setLimiterThreshold(SPKitFloat value)
- Set the threshold of
limiter
to value.
Protected Members
- SPKitCompressor compressor
- the compressor object
- SPKitLimiter limiter
- the limiter object