Two-channel envelope follower with a detector-domain stereo link. More...
#include <dynamics_contract.hpp>
Public Types | |
| using | Mode = typename EnvelopeFollowerT<SampleType>::Mode |
Public Member Functions | |
| void | prepare (SampleType sample_rate) |
| void | set_attack_ms (SampleType ms) |
| void | set_release_ms (SampleType ms) |
| void | set_mode (Mode mode) |
| void | set_link (SampleType amount) |
| SampleType | link () const noexcept |
| std::array< SampleType, 2 > | process (SampleType left, SampleType right) |
| std::array< SampleType, 2 > | current () const |
| void | reset () |
Two-channel envelope follower with a detector-domain stereo link.
Link zero keeps independent detectors. Link one drives both followers from the louder instantaneous channel magnitude, preserving the stereo image. Intermediate values blend magnitudes before peak/RMS integration, so opposite-polarity channels cannot cancel in the detector.
| using pulp::signal::StereoEnvelopeFollowerT< SampleType >::Mode = typename EnvelopeFollowerT<SampleType>::Mode |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |