78template <
int OVERSAMPLE>
111 f =
min (.25, 2 * sin (
M_PI * fc / OVERSAMPLE));
113 q = 2 * cos (pow (Q, .1) *
M_PI * .5);
115 qnorm = sqrt (fabs (
q) / 2. + .001);
130 for (
int i = 0;
i < frames; ++
i)
138 for (
int pass = 0; pass < OVERSAMPLE; ++pass)
155template <
int STACKED,
int OVERSAMPLE>
163 for (
int i = 0;
i < STACKED; ++
i)
169 for (
int i = 0;
i < STACKED; ++
i)
175 for (
int i = 0;
i < STACKED; ++
i)
181 for (
int i = 0;
i < STACKED; ++
i)
LADSPA_Data sample_t
Definition basics.h:100
sample_t q
Definition SVF.h:83
sample_t qnorm
Definition SVF.h:83
sample_t f
Definition SVF.h:83
sample_t lo
Definition SVF.h:86
sample_t hi
Definition SVF.h:86
void set_out(int o)
Definition SVF.h:118
sample_t process(sample_t x)
Definition SVF.h:134
@ Band
Definition SVF.h:93
@ High
Definition SVF.h:94
sample_t band
Definition SVF.h:86
void set_f_Q(double fc, double Q)
Definition SVF.h:108
sample_t * out
Definition SVF.h:87
void reset()
Definition SVF.h:103
void one_cycle(sample_t *s, int frames)
Definition SVF.h:128
void set_out(int out)
Definition SVF.h:167
sample_t process(sample_t x)
Definition SVF.h:179
SVF< OVERSAMPLE > svf[STACKED]
Definition SVF.h:159
void reset()
Definition SVF.h:161
void set_f_Q(double f, double Q)
Definition SVF.h:173
#define M_PI
Definition compat.h:149
register unsigned i
Definition inflate.c:1575
unsigned s
Definition inflate.c:1555
unsigned x[BMAX+1]
Definition inflate.c:1586
unsigned f
Definition inflate.c:1572
float out
Definition lilv_test.c:1461
#define min(x, y)
Definition os.h:74