11 namespace ni {
namespace dsp {
14 using stereo_in =
const float*
const [2];
17 using stereo_out =
float*
const [2];
39 void process( stereo_in&,
size_t frames, stereo_out& );
47 void gain_reduction( stereo_in&,
size_t frames,
float* out_gain_reduction );
225 std::unique_ptr< class stem_chain_impl > m_impl;
float limiter_output_level_rms() const
Returns the Limiter's output RMS level in dB. ~3dB offset is added such that meter level is at 0dB fo...
float limiter_input_level_rms() const
Returns the Limiter's input RMS level in dB. ~3dB offset is added such that meter level is at 0dB for...
float compressor_attack() const
Returns the Compressor's attack time in seconds.
float compressor_input_level_peak() const
Returns the Compressor's input peak level in dB. Min supported meter range is -100dB.
float sample_rate() const
Returns the current sample rate.
float limiter_threshold() const
Returns the Limiter's threshold in dB.
void process(stereo_in &, size_t frames, stereo_out &)
Process a two channel input signal for the specified amount of frames. The resulting audio samples ar...
void gain_reduction(stereo_in &, size_t frames, float *out_gain_reduction)
Computes the gain reduction curve delayed by the Stem Mastering Chain's lookahead size for the specif...
float compressor_ratio() const
Returns the Compressor's ratio.
float compressor_release() const
Returns the Compressor's release time in seconds.
stem_chain(float sample_rate=44100.f)
Creates a Stem Mastering Chain with the specified sample rate.
float compressor_threshold() const
Returns the Compressor's threshold in dB.
float compressor_hp_cutoff() const
Returns the Compressor's highpass filter cutoff frequency in Hz. A value of 0.f indicates that the hi...
float limiter_input_level_peak() const
Returns the Limiter's input peak level in dB. Min supported meter range is -100dB.
float compressor_input_level_rms() const
Returns the Compressor's input RMS level in dB. ~3dB offset is added such that meter level is at 0dB ...
bool meters_active() const
Returns true if the Level Meters are activated.
float limiter_release() const
Returns the Limiter's release time in seconds.
float compressor_output_level_rms() const
Returns the Compressor's output RMS level in dB. ~3dB offset is added such that meter level is at 0dB...
float compressor_gain_reduction() const
Returns the Compressor's gain reduction in positive dB values.
float compressor_input_gain() const
Returns the Compressor's input gain in dB.
The Stem Mastering Chain is composed of a Compressor followed by a Limiter to create the finalized so...
Definition: stem_chain.h:29
float limiter_output_level_peak() const
Returns the Limiter's output peak level in dB. Min supported meter range is -100dB.
bool limiter_active() const
Returns true if the Limiter is activated.
Definition: stem_chain.h:11
bool compressor_active() const
Returns true if the Compressor is activated.
float limiter_gain_reduction() const
Returns the Limiter's gain reduction in positive dB values.
float limiter_ceiling() const
Returns the Limiter's ceiling in dB.
float compressor_wet_dry_gain() const
Returns the Compressor's wetness in percent.
float compressor_output_level_peak() const
Returns the Compressor's output peak level in dB. Min supported meter range is -100dB.
int lookahead_size() const
Returns the limiter's lookahead size in samples. Lookahead size is 32 samples @ 44.1kHz and gets scaled by sample rate.
float compressor_output_gain() const
Returns the Compressor's output gain in dB.