4
Copyright 2004-5 Tim Goetze <tim@quitte.de>
8
panorama with width control
12
This program is free software; you can redistribute it and/or
13
modify it under the terms of the GNU General Public License
14
as published by the Free Software Foundation; either version 2
15
of the License, or (at your option) any later version.
17
This program is distributed in the hope that it will be useful,
18
but WITHOUT ANY WARRANTY; without even the implied warranty of
19
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
GNU General Public License for more details.
22
You should have received a copy of the GNU General Public License
23
along with this program; if not, write to the Free Software
24
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
25
02111-1307, USA or point your web browser to http://www.gnu.org.
31
#include "dsp/Delay.h"
32
#include "dsp/OnePole.h"
38
DSP::OnePoleLP damper;
40
d_sample get (DSP::Delay & delay)
42
return damper.process (delay[t]);
58
d_sample gain_l, gain_r;
64
template <sample_func_t F>
65
void one_cycle (int frames);
67
inline void set_pan (d_sample);
70
static PortInfo port_info [];
75
void init (double _fs);
81
one_cycle<store_func> (n);
84
void run_adding (int n)
86
one_cycle<adding_func> (n);