Hi. everyone I need help with Audio Pattern Recognition

Thanks a lot for replying,
Goodluck with your projects,
appreciate the help you do, Just a question, how can I Make it to detect a diferent audio? I mean how can i get the Audio data to the microcontroller?

Thanks a lot for replying,
Appreciate you so much for the help, but the thing is I have to use FFT method to recognise the audio pattern,
Anyways, appreciate your help

So could you please tell me how to get the data i need to get from Audio file?

To get the amplitude pattern, you need to measure the peak voltages on a regular time basis and record the peaks and the time between the peaks.
To get the pattern of quiet, do just the opposite of the above, find the low volumes and the time between them.

Now you have two more patterns to merge along with the frequency pattern.

1 Like

You could do a search for "Arduino Microphone Module" or "Teensy Audio Adaptor Board" or similar.

Edit.

I missed this "I'm using STM32F407VGT6"

1 Like

Are you saying that you're looking for a way to do FFT on an audio signal with a STM32?

Exactly.

And that's it?

1 Like

Try reading
sound recognition:-
https://www.eetasia.com/news/article/Data-is-King-for-AI-Sound-Recognition

AI - Google’s flagship machine learning library: “TensorFlow“

Have you asked the question why?
I have supervised many finial year projects in my time at University ( before I retired ) and I never used to be so prescriptive. Can you ask your supervisor why he is being so restrictive?

Thanks a lot for helping. Aprreciate that
I just need to find a way to detect only an audio

Thanks a lot for helping, I'm not sure if this library will work on STM32 but i will look for it appreciate that. And well the reason for why hes being restrictive, I must say I'm honestly not sure.

Do I have to get those values from serial monitor or, if know the way could you please explain me a little more

See if you microphone module has a digital output and if so use that as a peak detector.

1 Like

My Microhpone has analog put, can I still gt those values?
and another question if i could ask, why the serial monitor doesnt show me anything its says it's connected but it was supposte to show the frequency and the magnitude, when i connected the STM32 board to it it shows me an empty plot monitor only
Thanks a lot for helping.

You will have to write program to get those values.

The serial monitor will only show what you write to it.

well it can aslo show the output on the serial mnitor and the plot monitor as well, i could get those values using ESP32 but with the STM32 Board which is a STM32F407G-Disc1, idk why it didnt give anything as the output in the serial monitor

I don't know anything about the STM32 board.

I tried to do the steps on ESP32 as it worked then i did the same on STM32 by changing a litle bit of the value in the code it worked without using the Serial monitor so i kinda dont need it anymore. Thanks for all the helps.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.