|
| Gain () noexcept=default |
|
void | setGainLinear (FloatType newGain) noexcept |
| Applies a new gain as a linear value. More...
|
|
void | setGainDecibels (FloatType newGainDecibels) noexcept |
| Applies a new gain as a decibel value. More...
|
|
FloatType | getGainLinear () const noexcept |
| Returns the current gain as a linear value. More...
|
|
FloatType | getGainDecibels () const noexcept |
| Returns the current gain in decibels. More...
|
|
void | setRampDurationSeconds (double newDurationSeconds) noexcept |
| Sets the length of the ramp used for smoothing gain changes. More...
|
|
double | getRampDurationSeconds () const noexcept |
| Returns the ramp duration in seconds. More...
|
|
bool | isSmoothing () const noexcept |
| Returns true if the current value is currently being interpolated. More...
|
|
void | prepare (const ProcessSpec &spec) noexcept |
| Called before processing starts. More...
|
|
void | reset () noexcept |
| Resets the internal state of the gain. More...
|
|
template<typename SampleType > |
SampleType JUCE_VECTOR_CALLTYPE | processSample (SampleType s) noexcept |
| Returns the result of processing a single sample. More...
|
|
template<typename ProcessContext > |
void | process (const ProcessContext &context) noexcept |
| Processes the input and output buffers supplied in the processing context. More...
|
|
template<typename FloatType>
class dsp::Gain< FloatType >
Applies a gain to audio samples as single samples or AudioBlocks.