SDTSpectralFeats * SDTSpectralFeats_new(unsigned int size)
Instantiates a spectral features extractor.
void SDTMyoelastic_setThreshold(SDTMyoelastic *x, double f)
Sets the amplitude threshold of the input gate. Myoelastic activity is not computed for signals whose...
void SDTSpectralFeats_setOverlap(SDTSpectralFeats *x, double f)
Sets the analysis window overlapping ratio. Accepted values go from 0.0 to 1.0, with 0...
int SDTSpectralFeats_dsp(SDTSpectralFeats *x, double *outs, double in)
Signal processing routine. Call this function for each sample to perform signal analysis.
void SDTMyoelastic_free(SDTMyoelastic *x)
Destroys a myoelastic feature extractor.
void SDTMyoelastic_setHighFrequency(SDTMyoelastic *x, double f)
Sets the high frequency cutoff.
void SDTPitch_setTolerance(SDTPitch *x, double f)
Sets the peak detection tolerance. Always choosing the greatest NSDF peak as pitch estimation sometim...
struct SDTZeroCrossing SDTZeroCrossing
Opaque data structure for a zero crossing rate detector object.
Definition: SDTAnalysis.h:20
SDTPitch * SDTPitch_new(unsigned int size)
Instantiates a fundamental frequency estimator object.
void SDTPitch_setOverlap(SDTPitch *x, double f)
Sets the analysis window overlapping ratio. Accepted values go from 0.0 to 1.0, with 0...
void SDTZeroCrossing_setOverlap(SDTZeroCrossing *x, double f)
Sets the analysis window overlapping ratio. Accepted values go from 0.0 to 1.0, with 0...
int SDTMyoelastic_dsp(SDTMyoelastic *x, double *outs, double in)
Signal processing routine. Call this function at sample rate to perform signal analysis.
SDTMyoelastic * SDTMyoelastic_new(int size)
Instantiates a myoelastic feature extractor.
struct SDTSpectralFeats SDTSpectralFeats
Opaque data structure for a spectral features extractor.
Definition: SDTAnalysis.h:103
SDTZeroCrossing * SDTZeroCrossing_new(unsigned int size)
Instantiates a zero crossing rate detector.
void SDTSpectralFeats_setMinFreq(SDTSpectralFeats *x, double f)
Sets the lower frequency bound for spectral analysis. Spectral bins below this frequency are ignored ...
void SDTPitch_free(SDTPitch *x)
Destroys a fundamental frequency estimator instance.
void SDTMyoelastic_setLowFrequency(SDTMyoelastic *x, double f)
Sets the low frequency cutoff.
void SDTSpectralFeats_setMaxFreq(SDTSpectralFeats *x, double f)
Sets the upper frequency bound for spectral analysis. Spectral bins above this frequency are ignored ...
int SDTPitch_dsp(SDTPitch *x, double *outs, double in)
Signal processing routine. Call this function for each sample to perform signal analysis.
void SDTMyoelastic_setDcFrequency(SDTMyoelastic *x, double f)
Sets the DC offset cutoff.
struct SDTMyoelastic SDTMyoelastic
Opaque data structure for a myoelastic feature extractor object.
Definition: SDTAnalysis.h:54
void SDTSpectralFeats_free(SDTSpectralFeats *x)
Destroys a spectral features extractor.
int SDTZeroCrossing_dsp(SDTZeroCrossing *x, double *out, double in)
Signal processing routine. Call this function at sample rate to perform signal analysis.
void SDTZeroCrossing_free(SDTZeroCrossing *x)
Destroys a zero crossing rate detector.
struct SDTPitch SDTPitch
Opaque data structure for a fundamental frequency estimator.
Definition: SDTAnalysis.h:160