LMMS
Loading...
Searching...
No Matches
Lorenz.h
Go to the documentation of this file.
1/*
2 Lorenz.h
3
4 Copyright 2004-11 Tim Goetze <tim@quitte.de>
5
6 http://quitte.de/dsp/
7
8 turns the state of a Lorenz 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 _LORENZ_H_
29#define _LORENZ_H_
30
31#include "dsp/Lorenz.h"
32
33class Lorenz
34: public Plugin
35{
36 public:
38
40
41 template <sample_func_t F>
42 void one_cycle (int frames);
43
44 public:
46
47 void init();
48 void activate()
49 { gain = getport(4); }
50
51 void run (int n)
52 {
54 }
55
56 void run_adding (int n)
57 {
59 }
60};
61
62#endif /* _LORENZ_H_ */
LADSPA_Data sample_t
Definition basics.h:100
Definition Lorenz.h:34
Definition Lorenz.h:35
sample_t h
Definition Lorenz.h:37
void one_cycle(int frames)
sample_t gain
Definition Lorenz.h:37
void init()
void activate()
Definition Lorenz.h:48
static PortInfo port_info[]
Definition Lorenz.h:45
DSP::Lorenz lorenz
Definition Lorenz.h:39
void run(int n)
Definition Lorenz.h:51
void run_adding(int n)
Definition Lorenz.h:56
Definition basics.h:174
sample_t getport(int i)
Definition basics.h:194
Definition basics.h:94
int n
Definition crypt.c:458