Now we use the SDK V11 I2S sample program to collect data of digital microphone. We want to get the frequency of the sound and the dB value size.I don't know how to calculate these values.Can you provide some help?
Best regards!
Now we use the SDK V11 I2S sample program to collect data of digital microphone. We want to get the frequency of the sound and the dB value size.I don't know how to calculate these values.Can you provide some help?
Best regards!
Hi.
As i2s is a data transfer bus, it does not tell us anything about how the data is structured. You must investigate how your microphone sends the data. Maybe it is simply the sound amplitude at a given time, or maybe it is encoded.
When you have receiver the data in the nRF end, you can apply a fast fourier transform (fft) to see which frequencies dominate the sound.
I am not sure about the volume, but this and this thread should give you some clues.
Hi.
As i2s is a data transfer bus, it does not tell us anything about how the data is structured. You must investigate how your microphone sends the data. Maybe it is simply the sound amplitude at a given time, or maybe it is encoded.
When you have receiver the data in the nRF end, you can apply a fast fourier transform (fft) to see which frequencies dominate the sound.
I am not sure about the volume, but this and this thread should give you some clues.