Hello ST Experts I have a query on mems mic interfacing STM32f466re nucleo board i am getting a PCM data in PCM_buffer .Now How do I acquire this data and convert it to dB and print serially for every 1 second or 5 seconds .
the noise intensity level print on serially on monitor . from this the threshold has to be set to detect pleasant noise or harmful noises for further coding and analysis.
I am stuck at a point in PCM audio data out conversion to dB i.e noise level .
Below is a image attached on how I am getting the PCM values in buffer. And I am not sure how to validate whether this is correct or wrong.? and after this if any voice or variations in the mic should be showing alterations in the noise level intensity printing serially.
I am a beginner with audio mems mic and audio processing.
Please help .this project is on urgent requirement.
Thanks in advance.
