CMSIS-DSP
CMSIS DSP Software Library
|
Functions | |
void | arm_mfcc_f16 (const arm_mfcc_instance_f16 *S, float16_t *pSrc, float16_t *pDst, float16_t *pTmp) |
MFCC F16. More... | |
arm_status | arm_mfcc_init_f16 (arm_mfcc_instance_f16 *S, uint32_t fftLen, uint32_t nbMelFilters, uint32_t nbDctOutputs, const float16_t *dctCoefs, const uint32_t *filterPos, const uint32_t *filterLengths, const float16_t *filterCoefs, const float16_t *windowCoefs) |
Generic initialization of the MFCC F16 instance structure. More... | |
arm_status | arm_mfcc_init_32_f16 (arm_mfcc_instance_f16 *S, uint32_t nbMelFilters, uint32_t nbDctOutputs, const float16_t *dctCoefs, const uint32_t *filterPos, const uint32_t *filterLengths, const float16_t *filterCoefs, const float16_t *windowCoefs) |
Initialization of the MFCC F16 instance structure for 32 samples MFCC. More... | |
arm_status | arm_mfcc_init_64_f16 (arm_mfcc_instance_f16 *S, uint32_t nbMelFilters, uint32_t nbDctOutputs, const float16_t *dctCoefs, const uint32_t *filterPos, const uint32_t *filterLengths, const float16_t *filterCoefs, const float16_t *windowCoefs) |
Initialization of the MFCC F16 instance structure for 64 samples MFCC. More... | |
arm_status | arm_mfcc_init_128_f16 (arm_mfcc_instance_f16 *S, uint32_t nbMelFilters, uint32_t nbDctOutputs, const float16_t *dctCoefs, const uint32_t *filterPos, const uint32_t *filterLengths, const float16_t *filterCoefs, const float16_t *windowCoefs) |
Initialization of the MFCC F16 instance structure for 128 samples MFCC. More... | |
arm_status | arm_mfcc_init_256_f16 (arm_mfcc_instance_f16 *S, uint32_t nbMelFilters, uint32_t nbDctOutputs, const float16_t *dctCoefs, const uint32_t *filterPos, const uint32_t *filterLengths, const float16_t *filterCoefs, const float16_t *windowCoefs) |
Initialization of the MFCC F16 instance structure for 256 samples MFCC. More... | |
arm_status | arm_mfcc_init_512_f16 (arm_mfcc_instance_f16 *S, uint32_t nbMelFilters, uint32_t nbDctOutputs, const float16_t *dctCoefs, const uint32_t *filterPos, const uint32_t *filterLengths, const float16_t *filterCoefs, const float16_t *windowCoefs) |
Initialization of the MFCC F16 instance structure for 512 samples MFCC. More... | |
arm_status | arm_mfcc_init_1024_f16 (arm_mfcc_instance_f16 *S, uint32_t nbMelFilters, uint32_t nbDctOutputs, const float16_t *dctCoefs, const uint32_t *filterPos, const uint32_t *filterLengths, const float16_t *filterCoefs, const float16_t *windowCoefs) |
Initialization of the MFCC F16 instance structure for 1024 samples MFCC. More... | |
arm_status | arm_mfcc_init_2048_f16 (arm_mfcc_instance_f16 *S, uint32_t nbMelFilters, uint32_t nbDctOutputs, const float16_t *dctCoefs, const uint32_t *filterPos, const uint32_t *filterLengths, const float16_t *filterCoefs, const float16_t *windowCoefs) |
Initialization of the MFCC F16 instance structure for 2048 samples MFCC. More... | |
arm_status | arm_mfcc_init_4096_f16 (arm_mfcc_instance_f16 *S, uint32_t nbMelFilters, uint32_t nbDctOutputs, const float16_t *dctCoefs, const uint32_t *filterPos, const uint32_t *filterLengths, const float16_t *filterCoefs, const float16_t *windowCoefs) |
Initialization of the MFCC F16 instance structure for 4096 samples MFCC. More... | |
void arm_mfcc_f16 | ( | const arm_mfcc_instance_f16 * | S, |
float16_t * | pSrc, | ||
float16_t * | pDst, | ||
float16_t * | pTmp | ||
) |
[in] | S | points to the mfcc instance structure |
[in] | pSrc | points to the input samples |
[out] | pDst | points to the output MFCC values |
[in,out] | pTmp | points to a temporary buffer of complex |
The temporary buffer has a 2*fft length size when MFCC is implemented with CFFT. It has length FFT Length + 2 when implemented with RFFT (default implementation).
The source buffer is modified by this function.
arm_status arm_mfcc_init_1024_f16 | ( | arm_mfcc_instance_f16 * | S, |
uint32_t | nbMelFilters, | ||
uint32_t | nbDctOutputs, | ||
const float16_t * | dctCoefs, | ||
const uint32_t * | filterPos, | ||
const uint32_t * | filterLengths, | ||
const float16_t * | filterCoefs, | ||
const float16_t * | windowCoefs | ||
) |
[out] | S | points to the mfcc instance structure |
[in] | nbMelFilters | number of Mel filters |
[in] | nbDctOutputs | number of Dct outputs |
[in] | dctCoefs | points to an array of DCT coefficients |
[in] | filterPos | points of the array of filter positions |
[in] | filterLengths | points to the array of filter lengths |
[in] | filterCoefs | points to the array of filter coefficients |
[in] | windowCoefs | points to the array of window coefficients |
window coefficients can describe (for instance) a Hamming window. The array has the same size as the FFT length.
The folder Scripts is containing a Python script that can be used to generate the filter, dct and window arrays.
arm_status arm_mfcc_init_128_f16 | ( | arm_mfcc_instance_f16 * | S, |
uint32_t | nbMelFilters, | ||
uint32_t | nbDctOutputs, | ||
const float16_t * | dctCoefs, | ||
const uint32_t * | filterPos, | ||
const uint32_t * | filterLengths, | ||
const float16_t * | filterCoefs, | ||
const float16_t * | windowCoefs | ||
) |
[out] | S | points to the mfcc instance structure |
[in] | nbMelFilters | number of Mel filters |
[in] | nbDctOutputs | number of Dct outputs |
[in] | dctCoefs | points to an array of DCT coefficients |
[in] | filterPos | points of the array of filter positions |
[in] | filterLengths | points to the array of filter lengths |
[in] | filterCoefs | points to the array of filter coefficients |
[in] | windowCoefs | points to the array of window coefficients |
window coefficients can describe (for instance) a Hamming window. The array has the same size as the FFT length.
The folder Scripts is containing a Python script that can be used to generate the filter, dct and window arrays.
arm_status arm_mfcc_init_2048_f16 | ( | arm_mfcc_instance_f16 * | S, |
uint32_t | nbMelFilters, | ||
uint32_t | nbDctOutputs, | ||
const float16_t * | dctCoefs, | ||
const uint32_t * | filterPos, | ||
const uint32_t * | filterLengths, | ||
const float16_t * | filterCoefs, | ||
const float16_t * | windowCoefs | ||
) |
[out] | S | points to the mfcc instance structure |
[in] | nbMelFilters | number of Mel filters |
[in] | nbDctOutputs | number of Dct outputs |
[in] | dctCoefs | points to an array of DCT coefficients |
[in] | filterPos | points of the array of filter positions |
[in] | filterLengths | points to the array of filter lengths |
[in] | filterCoefs | points to the array of filter coefficients |
[in] | windowCoefs | points to the array of window coefficients |
window coefficients can describe (for instance) a Hamming window. The array has the same size as the FFT length.
The folder Scripts is containing a Python script that can be used to generate the filter, dct and window arrays.
arm_status arm_mfcc_init_256_f16 | ( | arm_mfcc_instance_f16 * | S, |
uint32_t | nbMelFilters, | ||
uint32_t | nbDctOutputs, | ||
const float16_t * | dctCoefs, | ||
const uint32_t * | filterPos, | ||
const uint32_t * | filterLengths, | ||
const float16_t * | filterCoefs, | ||
const float16_t * | windowCoefs | ||
) |
[out] | S | points to the mfcc instance structure |
[in] | nbMelFilters | number of Mel filters |
[in] | nbDctOutputs | number of Dct outputs |
[in] | dctCoefs | points to an array of DCT coefficients |
[in] | filterPos | points of the array of filter positions |
[in] | filterLengths | points to the array of filter lengths |
[in] | filterCoefs | points to the array of filter coefficients |
[in] | windowCoefs | points to the array of window coefficients |
window coefficients can describe (for instance) a Hamming window. The array has the same size as the FFT length.
The folder Scripts is containing a Python script that can be used to generate the filter, dct and window arrays.
arm_status arm_mfcc_init_32_f16 | ( | arm_mfcc_instance_f16 * | S, |
uint32_t | nbMelFilters, | ||
uint32_t | nbDctOutputs, | ||
const float16_t * | dctCoefs, | ||
const uint32_t * | filterPos, | ||
const uint32_t * | filterLengths, | ||
const float16_t * | filterCoefs, | ||
const float16_t * | windowCoefs | ||
) |
[out] | S | points to the mfcc instance structure |
[in] | nbMelFilters | number of Mel filters |
[in] | nbDctOutputs | number of Dct outputs |
[in] | dctCoefs | points to an array of DCT coefficients |
[in] | filterPos | points of the array of filter positions |
[in] | filterLengths | points to the array of filter lengths |
[in] | filterCoefs | points to the array of filter coefficients |
[in] | windowCoefs | points to the array of window coefficients |
window coefficients can describe (for instance) a Hamming window. The array has the same size as the FFT length.
The folder Scripts is containing a Python script that can be used to generate the filter, dct and window arrays.
arm_status arm_mfcc_init_4096_f16 | ( | arm_mfcc_instance_f16 * | S, |
uint32_t | nbMelFilters, | ||
uint32_t | nbDctOutputs, | ||
const float16_t * | dctCoefs, | ||
const uint32_t * | filterPos, | ||
const uint32_t * | filterLengths, | ||
const float16_t * | filterCoefs, | ||
const float16_t * | windowCoefs | ||
) |
[out] | S | points to the mfcc instance structure |
[in] | nbMelFilters | number of Mel filters |
[in] | nbDctOutputs | number of Dct outputs |
[in] | dctCoefs | points to an array of DCT coefficients |
[in] | filterPos | points of the array of filter positions |
[in] | filterLengths | points to the array of filter lengths |
[in] | filterCoefs | points to the array of filter coefficients |
[in] | windowCoefs | points to the array of window coefficients |
window coefficients can describe (for instance) a Hamming window. The array has the same size as the FFT length.
The folder Scripts is containing a Python script that can be used to generate the filter, dct and window arrays.
arm_status arm_mfcc_init_512_f16 | ( | arm_mfcc_instance_f16 * | S, |
uint32_t | nbMelFilters, | ||
uint32_t | nbDctOutputs, | ||
const float16_t * | dctCoefs, | ||
const uint32_t * | filterPos, | ||
const uint32_t * | filterLengths, | ||
const float16_t * | filterCoefs, | ||
const float16_t * | windowCoefs | ||
) |
[out] | S | points to the mfcc instance structure |
[in] | nbMelFilters | number of Mel filters |
[in] | nbDctOutputs | number of Dct outputs |
[in] | dctCoefs | points to an array of DCT coefficients |
[in] | filterPos | points of the array of filter positions |
[in] | filterLengths | points to the array of filter lengths |
[in] | filterCoefs | points to the array of filter coefficients |
[in] | windowCoefs | points to the array of window coefficients |
window coefficients can describe (for instance) a Hamming window. The array has the same size as the FFT length.
The folder Scripts is containing a Python script that can be used to generate the filter, dct and window arrays.
arm_status arm_mfcc_init_64_f16 | ( | arm_mfcc_instance_f16 * | S, |
uint32_t | nbMelFilters, | ||
uint32_t | nbDctOutputs, | ||
const float16_t * | dctCoefs, | ||
const uint32_t * | filterPos, | ||
const uint32_t * | filterLengths, | ||
const float16_t * | filterCoefs, | ||
const float16_t * | windowCoefs | ||
) |
[out] | S | points to the mfcc instance structure |
[in] | nbMelFilters | number of Mel filters |
[in] | nbDctOutputs | number of Dct outputs |
[in] | dctCoefs | points to an array of DCT coefficients |
[in] | filterPos | points of the array of filter positions |
[in] | filterLengths | points to the array of filter lengths |
[in] | filterCoefs | points to the array of filter coefficients |
[in] | windowCoefs | points to the array of window coefficients |
window coefficients can describe (for instance) a Hamming window. The array has the same size as the FFT length.
The folder Scripts is containing a Python script that can be used to generate the filter, dct and window arrays.
arm_status arm_mfcc_init_f16 | ( | arm_mfcc_instance_f16 * | S, |
uint32_t | fftLen, | ||
uint32_t | nbMelFilters, | ||
uint32_t | nbDctOutputs, | ||
const float16_t * | dctCoefs, | ||
const uint32_t * | filterPos, | ||
const uint32_t * | filterLengths, | ||
const float16_t * | filterCoefs, | ||
const float16_t * | windowCoefs | ||
) |
[out] | S | points to the mfcc instance structure |
[in] | fftLen | fft length |
[in] | nbMelFilters | number of Mel filters |
[in] | nbDctOutputs | number of Dct outputs |
[in] | dctCoefs | points to an array of DCT coefficients |
[in] | filterPos | points of the array of filter positions |
[in] | filterLengths | points to the array of filter lengths |
[in] | filterCoefs | points to the array of filter coefficients |
[in] | windowCoefs | points to the array of window coefficients |
window coefficients can describe (for instance) a Hamming window. The array has the same size as the FFT length.
The folder Scripts is containing a Python script that can be used to generate the filter, dct and window arrays.