LMMS
Loading...
Searching...
No Matches
plugins
ZynAddSubFx
zynaddsubfx
src
Synth
LFO.h
Go to the documentation of this file.
1
/*
2
ZynAddSubFX - a software synthesizer
3
4
LFO.h - LFO implementation
5
Copyright (C) 2002-2005 Nasca Octavian Paul
6
Author: Nasca Octavian Paul
7
8
This program is free software; you can redistribute it and/or modify
9
it under the terms of version 2 of the GNU General Public License
10
as published by the Free Software Foundation.
11
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License (version 2 or later) for more details.
16
17
You should have received a copy of the GNU General Public License (version 2)
18
along with this program; if not, write to the Free Software Foundation,
19
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
21
*/
22
23
#ifndef LFO_H
24
#define LFO_H
25
26
#include "
../globals.h
"
27
#include "
../Params/LFOParams.h
"
28
30
class
LFO
31
{
32
public
:
38
LFO
(
LFOParams
*lfopars,
float
basefreq);
40
~LFO
();
41
float
lfoout
();
42
float
amplfoout
();
43
private
:
44
float
x
;
45
float
incx
,
incrnd
,
nextincrnd
;
46
float
amp1
,
amp2
;
// used for randomness
47
float
lfointensity
;
48
float
lfornd
,
lfofreqrnd
;
49
float
lfodelay
;
51
char
lfotype
;
52
int
freqrndenabled
;
53
54
55
void
computenextincrnd
();
56
};
57
58
#endif
LFOParams.h
globals.h
LFO::~LFO
~LFO()
Definition
LFO.cpp:90
LFO::lfointensity
float lfointensity
Definition
LFO.h:47
LFO::incrnd
float incrnd
Definition
LFO.h:45
LFO::freqrndenabled
int freqrndenabled
Definition
LFO.h:52
LFO::lfofreqrnd
float lfofreqrnd
Definition
LFO.h:48
LFO::incx
float incx
Definition
LFO.h:45
LFO::LFO
LFO(LFOParams *lfopars, float basefreq)
Definition
LFO.cpp:30
LFO::amp2
float amp2
Definition
LFO.h:46
LFO::amplfoout
float amplfoout()
Definition
LFO.cpp:164
LFO::nextincrnd
float nextincrnd
Definition
LFO.h:45
LFO::x
float x
Definition
LFO.h:44
LFO::lfotype
char lfotype
Definition
LFO.h:51
LFO::lfodelay
float lfodelay
Definition
LFO.h:49
LFO::amp1
float amp1
Definition
LFO.h:46
LFO::lfoout
float lfoout()
Definition
LFO.cpp:96
LFO::lfornd
float lfornd
Definition
LFO.h:48
LFO::computenextincrnd
void computenextincrnd()
Definition
LFO.cpp:177
LFOParams
Definition
LFOParams.h:30
Generated on
for LMMS by
1.16.1