Top | ![]() |
![]() |
![]() |
![]() |
GstBtFilterSVF * | gstbt_filter_svf_new () |
void | gstbt_filter_svf_trigger () |
void | gstbt_filter_svf_process () |
GEnum ╰── GstBtFilterSVFType GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstBtFilterSVF
An audio filter that can work in 4 modes (“filter”).
Frequency response of the filter with no resonance applied
Frequency response of the filter with resonance applied
The second graphs show that applying “resonance” when using
GSTBT_FILTER_SVF_BANDSTOP
mode does not make sense, as the resonance is
filling the notch.
void
gstbt_filter_svf_trigger (GstBtFilterSVF *self
);
Reset filter state. Typically called for new notes.
void gstbt_filter_svf_process (GstBtFilterSVF *self
,guint size
,gint16 *data
);
Process size
samples of audio from data
and store them into data
.
struct GstBtFilterSVF { /* parameters */ GstBtFilterSVFType type; gdouble cutoff, resonance; };
Class instance data.
GstBtFilterSVFType |
filter type |
|
gdouble |
filter cutoff frequency |
|
gdouble |
filter resonance |
“cut-off”
property“cut-off” gdouble
Audio filter cut-off frequency.
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.8
“filter”
property“filter” GstBtFilterSVFType
Type of audio filter.
Flags: Read / Write
Default value: LowPass
“resonance”
property“resonance” gdouble
Audio filter resonance.
Flags: Read / Write
Allowed values: [0.7,25]
Default value: 0.8