Class fx_allpass_filter¶
Defined in File dm_fx_allpass_filter.h
Inheritance Relationships¶
Base Type¶
public fx_effect(Class fx_effect)
Class Documentation¶
-
class
fx_allpass_filter: public fx_effect¶ Effect: Allpass filter.
Allpass filters have a flat frequency response but displace signals in the time domain as a function of frequency. They’re a common building block in reverbs but are also used in phase shifters as well.
Public Functions
-
fx_allpass_filter(float gain, float length_ms)¶ Basic constructor/initializer for the allpass filter.
- Parameters
[in] gain: The gain of the allpass filter (-1.0 to 1.0)[in] length_ms: The length of the allpass filter in milliseconds
-
void
enable()¶ Enanle the allpass filter.
-
void
bypass()¶ Bypass the allpass filter (will just pass clean audio through)
-
void
set_gain(float gain)¶ Sets the gain of the allpass filter.
- Parameters
[in] gain: Gain of the offpass filter
-
void
print_params(void)¶ Prints the parameters for the delay effect.
-