Add more wave shapes to LFO controller
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1011 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include "controller.h"
|
||||
#include "controller_dialog.h"
|
||||
#include "tempo_sync_knob.h"
|
||||
#include "oscillator.h"
|
||||
|
||||
|
||||
class automatableButtonGroup;
|
||||
@@ -53,16 +54,6 @@ public:
|
||||
return "LFO Controller";
|
||||
}
|
||||
|
||||
enum LfoShapes
|
||||
{
|
||||
SineWave,
|
||||
TriangleWave,
|
||||
SawWave,
|
||||
SquareWave,
|
||||
UserDefinedWave,
|
||||
NumLfoShapes
|
||||
} ;
|
||||
|
||||
|
||||
public slots:
|
||||
virtual controllerDialog * createDialog( QWidget * _parent );
|
||||
@@ -88,6 +79,10 @@ slots:
|
||||
int m_phaseCorrection;
|
||||
int m_phaseOffset;
|
||||
|
||||
sample_t (*m_sampleFunction)( const float );
|
||||
|
||||
protected slots:
|
||||
void updateSampleFunction( void );
|
||||
|
||||
friend class lfoControllerDialog;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user