summaryrefslogtreecommitdiff
path: root/src/sndobj/PVA.h
diff options
context:
space:
mode:
authorJohn Glover <j@johnglover.net>2012-08-21 18:31:07 +0100
committerJohn Glover <j@johnglover.net>2012-08-21 18:31:07 +0100
commit39e0005e226ed6f04562e9d5d7548782fef81c20 (patch)
tree5f4b23a8563a47ac8740525acc2f96565e88d002 /src/sndobj/PVA.h
parent4f0a4f251ddbc466f14200202eff2213e30a5919 (diff)
downloadsimpl-39e0005e226ed6f04562e9d5d7548782fef81c20.tar.gz
simpl-39e0005e226ed6f04562e9d5d7548782fef81c20.tar.bz2
simpl-39e0005e226ed6f04562e9d5d7548782fef81c20.zip
[sndobj] Update SndObj to use FFTW v3 (was using v2). Remove unused SndObj files. Whitespace clean up.
Diffstat (limited to 'src/sndobj/PVA.h')
-rw-r--r--src/sndobj/PVA.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/sndobj/PVA.h b/src/sndobj/PVA.h
index 2088367..c5d2b8b 100644
--- a/src/sndobj/PVA.h
+++ b/src/sndobj/PVA.h
@@ -1,4 +1,3 @@
-
////////////////////////////////////////////////////////////////////////
// This file is part of the SndObj library
//
@@ -32,35 +31,25 @@
#include "FFT.h"
class PVA : public FFT {
-
protected:
-
int m_rotcount; // rotation counter
double m_factor; // conversion factor
double* m_phases;
private:
-
void inline pvanalysis(double* signal);
public:
-
PVA();
PVA(Table* window, SndObj* input, double scale=1.f,
int fftsize=DEF_FFTSIZE, int hopsize=DEF_VECSIZE, double sr=DEF_SR);
-
~PVA();
+
double Outphases(int pos){ return m_phases[pos]; } // reads phase output.
int Set(const char* mess, double value);
void SetFFTSize(int fftsize);
void SetHopSize(int hopsize);
short DoProcess();
-
};
#endif
-
-
-
-
-