dplug ~master (2023-02-08T12:39:01Z)
Home
Dub
Repo
MeanFilter.initialize
dplug
dsp
smooth
MeanFilter
Initialize with with cutoff frequency and samplerate.
void
initialize
(T initialValue, int samples, T maxExpectedValue)
void
initialize
(T initialValue, double cutoffHz, double samplerate, T maxExpectedValue)
struct
MeanFilter
(T)
public nothrow @
nogc
void
initialize
(
T
initialValue
,
double
cutoffHz
,
double
samplerate
,
T
maxExpectedValue
)
if
(
is
(
T
==
float
) ||
is
(
T
==
double
)
)
Meta
Source
See Implementation
dplug
dsp
smooth
MeanFilter
functions
initialize
nextBuffer
nextSample
Initialize with with cutoff frequency and samplerate.