LMMS
Loading...
Searching...
No Matches
plugins
LadspaEffect
caps
Roessler.h
Go to the documentation of this file.
1
/*
2
Roessler.h
3
4
Copyright 2004-11 Tim Goetze <tim@quitte.de>
5
6
http://quitte.de/dsp/
7
8
turns a Roessler fractal into sound.
9
10
*/
11
/*
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.
16
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.
21
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.
26
*/
27
28
#ifndef _ROESSLER_H_
29
#define _ROESSLER_H_
30
31
#include "
dsp/Roessler.h
"
32
33
class
Roessler
34
:
public
Plugin
35
{
36
public
:
37
sample_t
h
,
gain
;
38
39
DSP::Roessler
roessler
;
40
41
template
<sample_func_t F>
42
void
one_cycle
(
int
frames);
43
44
public
:
45
static
PortInfo
port_info
[];
46
47
sample_t
adding_gain
;
48
49
void
init
();
50
void
activate
()
51
{
gain
=
getport
(4); }
52
53
void
run
(
int
n
)
54
{
55
one_cycle<store_func>
(
n
);
56
}
57
58
void
run_adding
(
int
n
)
59
{
60
one_cycle<adding_func>
(
n
);
61
}
62
};
63
64
#endif
/* _ROESSLER_H_ */
sample_t
LADSPA_Data sample_t
Definition
basics.h:100
DSP::Roessler
Definition
Roessler.h:34
Plugin
Definition
basics.h:174
Plugin::getport
sample_t getport(int i)
Definition
basics.h:194
Roessler
Definition
Roessler.h:35
Roessler::adding_gain
sample_t adding_gain
Definition
Roessler.h:47
Roessler::one_cycle
void one_cycle(int frames)
Roessler::roessler
DSP::Roessler roessler
Definition
Roessler.h:39
Roessler::h
sample_t h
Definition
Roessler.h:37
Roessler::gain
sample_t gain
Definition
Roessler.h:37
Roessler::port_info
static PortInfo port_info[]
Definition
Roessler.h:45
Roessler::run_adding
void run_adding(int n)
Definition
Roessler.h:58
Roessler::activate
void activate()
Definition
Roessler.h:50
Roessler::init
void init()
Roessler::run
void run(int n)
Definition
Roessler.h:53
Roessler.h
PortInfo
Definition
basics.h:94
n
int n
Definition
crypt.c:458
Generated on
for LMMS by
1.16.1