* C API version

This commit is contained in:
Chris Cannam
2008-06-09 20:46:37 +00:00
parent 1a9f2f6c98
commit 160143461d
15 changed files with 444 additions and 372 deletions

View File

@@ -38,6 +38,7 @@ protected:
SemitonesPort = 2,
CentsPort = 3,
CrispnessPort = 4,
FormantPort = 5,
InputPort1 = 6,
OutputPort1 = 7,
PortCountMono = OutputPort1 + 1,
@@ -69,6 +70,7 @@ protected:
void runImpl(unsigned long);
void updateRatio();
void updateCrispness();
void updateFormant();
float *m_input[2];
float *m_output[2];
@@ -77,9 +79,11 @@ protected:
float *m_semitones;
float *m_octaves;
float *m_crispness;
float *m_formant;
double m_ratio;
double m_prevRatio;
int m_currentCrispness;
bool m_currentFormant;
size_t m_extraLatency;