Version 2.01

This commit is contained in:
Gary Scavone
2013-09-25 11:17:56 +02:00
committed by Stephen Sinclair
parent 6485746ee9
commit ea749b71d2
223 changed files with 12125 additions and 4552 deletions

View File

@@ -12,6 +12,7 @@
#include "Instrmnt.h"
#include "ADSR.h"
#include "RawWave.h"
#include "RawLoop.h"
#include "OnePole.h"
class Sampler : public Instrmnt
@@ -19,7 +20,7 @@ class Sampler : public Instrmnt
protected:
ADSR *adsr;
RawWave *attacks[5];
RawWave *loops[5];
RawLoop *loops[5];
OnePole *filter;
MY_FLOAT baseFreq;
MY_FLOAT attackRatios[5];
@@ -29,7 +30,7 @@ class Sampler : public Instrmnt
int whichOne;
public:
Sampler();
~Sampler();
virtual ~Sampler();
void clear();
virtual void setFreq(MY_FLOAT frequency);
void keyOn();