Version 3.2

This commit is contained in:
Gary Scavone
2013-09-25 14:47:10 +02:00
committed by Stephen Sinclair
parent 4b6500d3de
commit 3f126af4e5
443 changed files with 11772 additions and 8060 deletions

30
projects/effects/Echo.h Normal file
View File

@@ -0,0 +1,30 @@
/******************************************/
/* Echo Effect Applied to Soundfile */
/* by Perry Cook, 1996 */
/******************************************/
#if !defined(__Echo_h)
#define __Echo_h
#include "Object.h"
#include "DLineN.h"
class Echo : public Object
{
protected:
DLineN *delayLine;
long length;
MY_FLOAT lastOut;
MY_FLOAT effectMix;
public:
Echo(MY_FLOAT longestDelay);
~Echo();
void clear();
void setDelay(MY_FLOAT delay);
void setEffectMix(MY_FLOAT mix);
MY_FLOAT lastOutput();
MY_FLOAT tick(MY_FLOAT input);
};
#endif