2018-11-28 06:35 PM
Hi.
First , I'm not good at English.
I am testing an example of Audio_palyback_and_recorder of STM32f4 Discovery.
In the i2S setting of the microphone,
hAudioInI2s.Init.AudioFreq = 2 * AudioFreq; where, AudioFreq = 16K
Why did you multiply 2?
And how do you decide the size of the PCM data buffer after converting the PCM from PDM?
Thank you.
Best regards,
2018-11-28 06:43 PM
Is that how it deals with paired stereo samples? You'd likely want to look at how the Codec (manual/datasheet) describes frequencies and data sizes, and how they interrelate.
2018-11-28 08:37 PM
Thank you for your response.
Stm32f4 Discovery boards use one microphone.
I'll look for more data and analyze it.
Thank you.