DMIC3 mono capture examples don’t work

If I run either of the dmic3 mono capture examples from:

https://docs.nvidia.com/jetson/archives/r36.4/DeveloperGuide/SD/Communications/AudioSetupAndDevelopment.html#mono-capture-l

https://docs.nvidia.com/jetson/archives/r36.4/DeveloperGuide/SD/Communications/AudioSetupAndDevelopment.html#mono-capture-r

Here I used the following command:

$ amixer -c APE cset name=“ADMAIF3 Mux” DMIC3
$ amixer -c APE cset name=“DMIC3 Boost Gain” 400
$ amixer -c APE cset name=“DMIC3 Mono Channel Select” L
$ arecord -D hw:APE,2 -r 48000 -c 1 -f S16_LE cap.wav

$ amixer -c APE cset name=“ADMAIF3 Mux” DMIC3
$ amixer -c APE cset name=“DMIC3 Boost Gain” 400
$ amixer -c APE cset name=“DMIC3 Mono Channel Select” R
$ arecord -D hw:APE,2 -r 48000 -c 1 -f S16_LE cap.wav

When I used the third command:

amixer -c APE cset name="DMIC3 Mono Channel Select" R

or

amixer -c APE cset name="DMIC3 Mono Channel Select" L

an error occurred as follows

root@ubuntu:~# amixer -c APE cset name="DMIC3 Mono Channel Select" L
amixer: Cannot find the given element from control sysdefault:1

However, I can run the stereo dmic capture example without issue.

Are you working on AGX Orin or Orin Nano devkit?

Yes, this command was run on the Jetson AGX devkit with 64G. I enabled the DMIC interface using the following command sudo /opt/nvidia/jetson-io/jetson-io.py` .

Thank you for reaching out. Based on the data and steps provided, I have analyzed the issue and identify the root cause along with the required actions.

The “DMIC Mono Channel Select” has been updated to “DMIC Channel Select.”
For DMIC mono use, please configure the controls as follows:
amixer -c APE cset name=“ADMAIF3 Mux” DMIC3
amixer -c APE cset name=“DMIC3 Boost Gain Volume” 400
amixer -c APE cset name=“DMIC3 Channel Select” [value]

Where:

 [value] = 0  for 'Left'
 [value] = 1  for 'Right'
 [value] = 2  for 'Stereo'

There is a typo in the examples provided. For the correct mixer controls, please refer to [Audio Setup and Development — NVIDIA Jetson Linux Developer Guide 1 documentation].

We will update the examples in the BSP documentation.
If you need further assistance or if any issues persist, feel free to reach out.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.