Functions | |
int | xtract_spectrum (const float *data, const int N, const void *argv, float *result) |
Extract frequency domain spectrum from time domain signal. | |
int | xtract_autocorrelation_fft (const float *data, const int N, const void *argv, float *result) |
Extract autocorrelation from time domain signal using FFT based method. | |
int | xtract_mfcc (const float *data, const int N, const void *argv, float *result) |
Extract Mel Frequency Cepstral Coefficients based on a method described by Rabiner. | |
int | xtract_dct (const float *data, const int N, const void *argv, float *result) |
Extract the Discrete Cosine transform of a time domain signal. | |
int | xtract_autocorrelation (const float *data, const int N, const void *argv, float *result) |
Extract autocorrelation from time domain signal using time-domain autocorrelation technique. | |
int | xtract_amdf (const float *data, const int N, const void *argv, float *result) |
Extract Average Magnitude Difference Function from time domain signal. | |
int | xtract_asdf (const float *data, const int N, const void *argv, float *result) |
Extract Average Squared Difference Function from time domain signal. | |
int | xtract_bark_coefficients (const float *data, const int N, const void *argv, float *result) |
Extract Bark band coefficients based on a method. | |
int | xtract_peak_spectrum (const float *data, const int N, const void *argv, float *result) |
Extract the amplitude and frequency of spectral peaks from a magnitude spectrum. | |
int | xtract_harmonic_spectrum (const float *data, const int N, const void *argv, float *result) |
Extract the harmonic spectrum of from a of a peak spectrum. | |
int | xtract_lpc (const float *data, const int N, const void *argv, float *result) |
Extract Linear Predictive Coding Coefficients. | |
int | xtract_lpcc (const float *data, const int N, const void *argv, float *result) |
Extract Linear Predictive Coding Cepstral Coefficients. | |
int | xtract_subbands (const float *data, const int N, const void *argv, float *result) |
Extract subbands from a spectrum. |
Functions that extract a feature as a vector from an input vector
int xtract_amdf | ( | const float * | data, | |
const int | N, | |||
const void * | argv, | |||
float * | result | |||
) |
Extract Average Magnitude Difference Function from time domain signal.
*data,: | a pointer to the first element in an array of floats representing an audio vector
|
int xtract_asdf | ( | const float * | data, | |
const int | N, | |||
const void * | argv, | |||
float * | result | |||
) |
Extract Average Squared Difference Function from time domain signal.
*data,: | a pointer to the first element in an array of floats representing an audio vector
|
int xtract_autocorrelation | ( | const float * | data, | |
const int | N, | |||
const void * | argv, | |||
float * | result | |||
) |
Extract autocorrelation from time domain signal using time-domain autocorrelation technique.
*data,: | a pointer to the first element in an array of floats representing an audio vector
|
int xtract_autocorrelation_fft | ( | const float * | data, | |
const int | N, | |||
const void * | argv, | |||
float * | result | |||
) |
Extract autocorrelation from time domain signal using FFT based method.
*data,: | a pointer to the first element in an array of floats representing an audio vector
|
int xtract_bark_coefficients | ( | const float * | data, | |
const int | N, | |||
const void * | argv, | |||
float * | result | |||
) |
Extract Bark band coefficients based on a method.
*data,: | a pointer to the first element in an array of floats representing the magnitude coefficients from the magnitude spectrum of an audio vector, (e.g. the first half of the array pointed to by *result from xtract_spectrum().
|
int xtract_dct | ( | const float * | data, | |
const int | N, | |||
const void * | argv, | |||
float * | result | |||
) |
Extract the Discrete Cosine transform of a time domain signal.
*data,: | a pointer to the first element in an array of floats representing an audio vector
|
int xtract_harmonic_spectrum | ( | const float * | data, | |
const int | N, | |||
const void * | argv, | |||
float * | result | |||
) |
Extract the harmonic spectrum of from a of a peak spectrum.
*data,: | a pointer to the first element in an array of floats representing the peak spectrum of an audio vector (e.g. *result from xtract_peaks). It is expected that the first half of the array pointed to by *data will contain amplitudes for each peak considered, and the the second half will contain the respective frequencies
|
int xtract_lpc | ( | const float * | data, | |
const int | N, | |||
const void * | argv, | |||
float * | result | |||
) |
Extract Linear Predictive Coding Coefficients.
Based on algorithm in Rabiner and Juang as implemented by Jutta Degener in Dr. Dobb's Journal December, 1994.
Returns N-1 reflection (PARCOR) coefficients and N-1 LPC coefficients via *result
*data,: | N autocorrelation values e.g the data pointed to by *result from xtract_autocorrelation()
|
int xtract_lpcc | ( | const float * | data, | |
const int | N, | |||
const void * | argv, | |||
float * | result | |||
) |
Extract Linear Predictive Coding Cepstral Coefficients.
*data,: | a pointer to the first element in an array of LPC coeffiecients e.g. a pointer to the second half of the array pointed to by *result from xtract_lpc()
|
int xtract_mfcc | ( | const float * | data, | |
const int | N, | |||
const void * | argv, | |||
float * | result | |||
) |
Extract Mel Frequency Cepstral Coefficients based on a method described by Rabiner.
*data,: | a pointer to the first element in an array of spectral magnitudes, e.g. the first half of the array pointed to by *resul from xtract_spectrum()
|
int xtract_peak_spectrum | ( | const float * | data, | |
const int | N, | |||
const void * | argv, | |||
float * | result | |||
) |
Extract the amplitude and frequency of spectral peaks from a magnitude spectrum.
*data,: | a pointer to an array of size N containing N magnitude/power/log magnitude/log power coefficients. (e.g. the first half of the array pointed to by *result from xtract_spectrum().
|
int xtract_spectrum | ( | const float * | data, | |
const int | N, | |||
const void * | argv, | |||
float * | result | |||
) |
Extract frequency domain spectrum from time domain signal.
*data,: | a pointer to the first element in an array of floats representing an audio vector
|
int xtract_subbands | ( | const float * | data, | |
const int | N, | |||
const void * | argv, | |||
float * | result | |||
) |
Extract subbands from a spectrum.
*data,: | a pointer to an array of size N containing N magnitude/power/log magnitude/log power coefficients. (e.g. the first half of the array pointed to by *result from xtract_spectrum().
|