How to calculate MFCC on imx Processor

cancel
Showing results for 
Search instead for 
Did you mean: 

How to calculate MFCC on imx Processor

98 Views
Priyanshu1069
Contributor I

Hi,

I am working on Audio based machine learning project where i need to extract MFCC [ Mel-frequency cepstral coefficients ] feature vector on the device. we are using imx6ul board which is based on ARM cortex A series processor.

I am aware about CMSIS-DSP library which only supports for cortex M based architecture.

So can you please guide like how can i calculate MFCC on cortex A using any lib?

Labels (1)
0 Kudos
2 Replies

71 Views
Priyanshu1069
Contributor I

Hello petrz_,

Thank you for the solution.

0 Kudos

76 Views
petrz_
NXP Employee
NXP Employee

Hi,

if you have Matlab, the easiest way would be to use the cepstral feature extractor block and generate the code from Simulink using Embedded Coder.

Alternatively, you can write your own MFCC extractor in C/C++. The key operations are Real-to-Complex FFT and Matrix-Vector Multiplication to process mel-filter bank. These functions are available in the Ne10 open-source libraryThe DCT (discrete cosine transform) can be found in the FFTW open-source library.

0 Kudos