简体   繁体   中英

How to get MFCC from microphone input on android (C++, Qt)

I am programming application on android and I am using Qt creator for this. I am looking for library, what samples signal, something like an Aquila. It needs MFCC technology. I will be grateful for all advices. Next thing is microphone. I have absolutely no idea, how I get any sounds for processing to the device. My idea is that I push button and microphone will record all sounds for 5 seconds and then get MFCC from it.

To record data in Qt you could use QAudioRecorder and handle the event bufferReady to get the buffer data. You could find an easy example in my github:

https://github.com/mohabouje/logospeech-studio/blob/master/capturedata/recorder.h

If you are looking for some library to estimate the MFCC see this stack question: Mel Frequency Cepstral Coefficients (MFCC) in C/C++

I will recommend to implement our own algorith by using a basic FFT library, FFTW is the best for me, easy & faster.

If you are looking for a complete set of audio signal processing i will recommend Essentia Lib

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM