4
Copyright 2004-5 Tim Goetze <tim@quitte.de>
8
SweepVFI, a lorenz fractal modulating the cutoff frequency of a
9
state-variable (ladder) filter.
11
SweepVFII, the same with Q being modulated by a second fractal.
15
This program is free software; you can redistribute it and/or
16
modify it under the terms of the GNU General Public License
17
as published by the Free Software Foundation; either version 2
18
of the License, or (at your option) any later version.
20
This program is distributed in the hope that it will be useful,
21
but WITHOUT ANY WARRANTY; without even the implied warranty of
22
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
GNU General Public License for more details.
25
You should have received a copy of the GNU General Public License
26
along with this program; if not, write to the Free Software
27
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
28
02111-1307, USA or point your web browser to http://www.gnu.org.
35
#include "dsp/Lorenz.h"
36
#include "dsp/Roessler.h"
46
/* needs to be a power of two */
51
DSP::StackedSVF<1,2> svf;
56
template <sample_func_t F>
57
void one_cycle (int frames);
60
static PortInfo port_info [];
65
void init (double _fs);
71
one_cycle<store_func> (n);
74
void run_adding (int n)
76
one_cycle<adding_func> (n);
88
/* needs to be a power of two */
93
DSP::StackedSVF<1,2> svf;
99
template <sample_func_t F>
100
void one_cycle (int frames);
103
static PortInfo port_info [];
104
d_sample * ports [13];
106
d_sample adding_gain;
108
void init (double _fs);
114
one_cycle<store_func> (n);
117
void run_adding (int n)
119
one_cycle<adding_func> (n);
123
#endif /* _SWEEP_VF_H_ */