how extract a single mic signal from c_4x_pdm_mic_0 channel returned by mic_array_pdm_rx()
Posted: Wed Apr 18, 2018 2:49 pm
Hi all,
I would like to extract a mic signal from the 4-mic streaming channel "c_4x_pdm_mic_0" outputted by mic_array_pdm_rx().
From pdm_mic.xc :
mic_array_pdm_rx(p_pdm_mics, c_4x_pdm_mic_0, c_4x_pdm_mic_1);
mic_array_decimate_to_pcm_4ch(c_4x_pdm_mic_0, c_ds_output[0], MIC_ARRAY_NO_INTERNAL_CHANS);
I added a task that take c_4x_pdm_mic_0 as an input channel.
I saw that mic_array_pdm_rx returns more or less 1536000 integers per second.
Taking into account that the flow is at 384kHz, this means 384k integers/sec for each mic.
Does anyone know how the 4 mics data are chained in to this streaming channel?
How many bits is the length of each mic sample?
Do you have any example code showing how extract such mics?
Many thanks
Fabrizio
I would like to extract a mic signal from the 4-mic streaming channel "c_4x_pdm_mic_0" outputted by mic_array_pdm_rx().
From pdm_mic.xc :
mic_array_pdm_rx(p_pdm_mics, c_4x_pdm_mic_0, c_4x_pdm_mic_1);
mic_array_decimate_to_pcm_4ch(c_4x_pdm_mic_0, c_ds_output[0], MIC_ARRAY_NO_INTERNAL_CHANS);
I added a task that take c_4x_pdm_mic_0 as an input channel.
I saw that mic_array_pdm_rx returns more or less 1536000 integers per second.
Taking into account that the flow is at 384kHz, this means 384k integers/sec for each mic.
Does anyone know how the 4 mics data are chained in to this streaming channel?
How many bits is the length of each mic sample?
Do you have any example code showing how extract such mics?
Many thanks
Fabrizio