SpKitAmplitudeAnalyzer


Users guide

SPKitAmplitudeAnalyzer SPKitAmplitudeAnalyzer does amplitude analysis for input signal. It converts a signal to another signal that represents amplitude of the first signal. This is basically obtained by lowpassing the magnitude of the samples.

Programmer's Reference

Defined in ampanlzr.h

Public Members

SPKitAmplitudeAnalyzer();
SPKitError setInput(SPKitProcessor *);
void setCutOffFreq(SPKitFloat val);
int getSample(SPKitSample &outputSample, SPKitProcessor *caller);

Protected Members

void convertSample(SPKitSample &smp);
SPKitFloat cutOff;
int index;
SPKitFloat km2, km1, k0, k1, k2;
SPKitFloat buf[256];


Return to top level

Authors: Jarno Wuolijoki, Pilvari Pirtola