⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
aectaan
Offline
Last seen:1 month 2 weeks ago
Joined:2019-10-02 07:06
PDM mic processing

Hi Dialog,

At the moment I work with audio acquisition system, that consist of two PDM microphones and DA14695.

At the moment it continiously stream data (PDM clock 2MHz, sample rate 16000, bit depth 16) from dev_out.memory_param.buff_addr[0] (only one mic at the moment) to the USB-CDC. I transform received data by ffmpeg with flags -f s16le -ar 16000 -ac 1. Resulted data is too quiet.

When I transform data with flags -f s16be -ar 16000 -ac 1, sound loudness is good, but it have a lot of distortion sometimes.

So, my question is: what is the endianness of data in SRC memory buffer? If it is LE, how to increase sound level? In case of BE, how to remove distortion?

Device:
PM_Dialog
Offline
Last seen:1 day 20 hours ago
Staff
Joined:2018-02-08 11:03
Hi Egor,

Hi Egor,

谢谢你的跟进问题。我要升级this internally and I will get back to you shortly.

Regards, PM_Dialog

PM_Dialog
Offline
Last seen:1 day 20 hours ago
Staff
Joined:2018-02-08 11:03
Hi Egor,

Hi Egor,

We will reach out to you directly and offline from the forum.

Thanks, PM_Dialog