LMMS
Loading...
Searching...
No Matches
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
30class LFO
31{
32 public:
38 LFO(LFOParams *lfopars, float basefreq);
40 ~LFO();
41 float lfoout();
42 float amplfoout();
43 private:
44 float x;
46 float amp1, amp2; // used for randomness
49 float lfodelay;
51 char lfotype;
53
54
55 void computenextincrnd();
56};
57
58#endif
~LFO()
Definition LFO.cpp:90
float lfointensity
Definition LFO.h:47
float incrnd
Definition LFO.h:45
int freqrndenabled
Definition LFO.h:52
float lfofreqrnd
Definition LFO.h:48
float incx
Definition LFO.h:45
LFO(LFOParams *lfopars, float basefreq)
Definition LFO.cpp:30
float amp2
Definition LFO.h:46
float amplfoout()
Definition LFO.cpp:164
float nextincrnd
Definition LFO.h:45
float x
Definition LFO.h:44
char lfotype
Definition LFO.h:51
float lfodelay
Definition LFO.h:49
float amp1
Definition LFO.h:46
float lfoout()
Definition LFO.cpp:96
float lfornd
Definition LFO.h:48
void computenextincrnd()
Definition LFO.cpp:177
Definition LFOParams.h:30