13 #define INITVSTAKEN 64
40 double x_sumbuf[MAXOVERLAP];
45 int windowSize = 1024;
46 int period = windowSize/2;
53 double perform(
double input);
58 int getWindowSize() {
return windowSize;};
59 int getPeriod() {
return period;};
60 std::string pdName =
"env~";
The Pd++ namespace.
Definition: BandPass.cpp:14
A super class inherited by all Pd++ objects.
Definition: PdMaster.h:62
A simple envelope follower with Hanning window. Use setWindowSize() and setPeriod() the window size a...
Definition: Envelope.h:27
void setWindowSize(int ws)
Definition: Envelope.cpp:112
void setPeriod(int p)
Definition: Envelope.cpp:126