ΣSigmaStudio Ask AI Русский Log in

How to convert the data obtained by the audio detection module to the dB value

SigmaDSP & SigmaStudio Mia Dec 28, 2023 00:00 2 replies Original on forum ↗
Subscribe
Mia Question
Dec 28, 2023 00:00

Hi ,

We use the Level detector to detect the audio ,here is the design. We can get the data block from the model, but we don't know how the convert the data block to eh dB valune?

Audio Signal Processors

adau1452

Audio Products

software

SigmaDSP Audio Processors

pastedimage1703750096368v1.png
pastedimage1703750096368v1.png
ADIApproved Reply
Dec 28, 2023 00:00

ADI North America will be on winter shutdown starting December 25, 2023; perhaps another community member can assist you until our return on January 8, 2024.

Harishgowtham Reply
Dec 28, 2023 00:00

Hello Mia,

I'm not sure that I understand your question correctly.

When you turn ON the meter, the level detector itself shows the dB level of the signal.

Here is the formula to convert an 8.24 data into a dB level.

dB = 20*log(data)

For example, a signal level of 0.5 in 8.24 format is -6dB in the dB scale.

dB = 20*log (0.5) = -6dB

Please look at the below post where Dave explains how to read the level detector and get the dB value by an MCU.

post: (1) Reading meters with a controller on the ADAU1452 - Q&A - SigmaDSP Processors & SigmaStudio Dev. Tool - EngineerZone (analog.com)

If you have further questions, please post your query in a detailed way.

Regards,

Harish