Sound recognition

Hannibal1980
Posts: 1
Joined: Mon May 08, 2017 9:46 am

Sound recognition

Postby Hannibal1980 » Mon May 08, 2017 2:06 pm

Hi friends,

I want to build a sound recognition module with the Esp32. My idea is to use sound detector (f.e. https://www.sparkfun.com/products/12642) and via FHT library to do audio spectrum analysis and compare it to values for specific noise. Do this seems reasonable at all? Since I'm new in the microcontroller area(pure C developer) I would really appreciate some guidance on the subject

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: Sound recognition

Postby ESP_Sprite » Tue May 09, 2017 1:24 am

That board won't give you enough information to do a nice FFT on... you probably want to use a real microphone and connect it to i2S instead.

daslolo
Posts: 4
Joined: Thu Apr 26, 2018 4:02 am

Re: Sound recognition

Postby daslolo » Thu May 03, 2018 9:36 am

ESP_Sprite wrote:That board won't give you enough information to do a nice FFT on... you probably want to use a real microphone and connect it to i2S instead.
I saw the i2s microphone thread and it looks far more complicated to setup than a mic on analog pin. would MEMS microphone give enough sound detail for a nice FFT?

bobolink
Posts: 98
Joined: Mon Feb 26, 2018 4:17 pm

Re: Sound recognition

Postby bobolink » Fri May 11, 2018 8:25 pm

This might be of interest: https://youtu.be/OStljy_sUVg
Claims to go up to 16 KHz but ESP-32 ADC accuracy over 6 KHz falls off.
Those cheap electret microphones are usually good to 8 KHz before they fall off.
I guess it depends on what sound you want to detect and resolution you need.

Who is online

Users browsing this forum: ESP_Sprite and 55 guests