<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unable to record audio using microphone imx8mplus in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Unable-to-record-audio-using-microphone-imx8mplus/m-p/2087239#M28439</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&amp;nbsp;I have tried connecting headset and recording audio using microphone in imx8MPlus flashe d with LinuxBSP but&amp;nbsp; audio is not captured. Is there some other settings to be done if so please share the steps or documentation for the same.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Pooja&lt;/P&gt;</description>
    <pubDate>Fri, 25 Apr 2025 10:13:35 GMT</pubDate>
    <dc:creator>PoojaSk</dc:creator>
    <dc:date>2025-04-25T10:13:35Z</dc:date>
    <item>
      <title>Unable to record audio using microphone imx8mplus</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Unable-to-record-audio-using-microphone-imx8mplus/m-p/2087239#M28439</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&amp;nbsp;I have tried connecting headset and recording audio using microphone in imx8MPlus flashe d with LinuxBSP but&amp;nbsp; audio is not captured. Is there some other settings to be done if so please share the steps or documentation for the same.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Pooja&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 10:13:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Unable-to-record-audio-using-microphone-imx8mplus/m-p/2087239#M28439</guid>
      <dc:creator>PoojaSk</dc:creator>
      <dc:date>2025-04-25T10:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to record audio using microphone imx8mplus</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Unable-to-record-audio-using-microphone-imx8mplus/m-p/2087353#M28447</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You have to use the latest BSP, then get information on the sound cards&lt;/P&gt;
&lt;P&gt;Installed devices:&lt;/P&gt;
&lt;PRE&gt;# cat /proc/asound/cards
 0 [wm8904audio      ]: wm8904-audio - wm8904-audio
                      wm8904-audio
&lt;/PRE&gt;
&lt;P&gt;List device names for playback:&lt;/P&gt;
&lt;PRE&gt;# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=wm8904audio
    wm8904-audio, 
    Default Audio Device
&lt;/PRE&gt;
&lt;H1&gt;&lt;SPAN class="mw-headline"&gt;Audio Playback&lt;/SPAN&gt;&lt;/H1&gt;
&lt;P&gt;PulseAudio needs to be stopped to run amixer commands.&lt;/P&gt;
&lt;PRE&gt;# systemctl stop pulseaudio
&lt;/PRE&gt;
&lt;P&gt;Set PCM volume (main volume of audio codec), range :0-63&lt;/P&gt;
&lt;PRE&gt;# amixer set Headphone 35
&lt;/PRE&gt;
&lt;P&gt;Play audio:&lt;/P&gt;
&lt;PRE&gt;# aplay /usr/share/sounds/alsa/Front_Center.wav
&lt;/PRE&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;# systemctl stop pulseaudio;amixer set set Headphone 35
Simple mixer control 'Headphone',0
  Capabilities: volume pswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 63
  Front Left: 35 [56%] [-22.00dB] Playback [on]
  Front Right: 35 [56%] [-22.00dB] Playback [on]

# aplay /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav'&amp;nbsp;: Signed 16 bit Little Endian, Rate 48000 Hz, Mono
&lt;/PRE&gt;
&lt;H1&gt;&lt;SPAN class="mw-headline"&gt;Audio Record and Play, Line-in Jack&lt;/SPAN&gt;&lt;/H1&gt;
&lt;P&gt;PulseAudio needs to be stopped to run amixer commands.&lt;/P&gt;
&lt;PRE&gt;# systemctl stop pulseaudio
&lt;/PRE&gt;
&lt;P&gt;Set PCM volume (main volume of audio codec), range :0-63&lt;/P&gt;
&lt;PRE&gt;# amixer set Headphone 35
&lt;/PRE&gt;
&lt;P&gt;Set capture input source to ADC&lt;/P&gt;
&lt;PRE&gt;# amixer set 'Capture Input' ADC
&lt;/PRE&gt;
&lt;P&gt;Set DMIC Mux to DMIC2&lt;/P&gt;
&lt;PRE&gt;# amixer set 'DMIC Mux' DMIC2
&lt;/PRE&gt;
&lt;P&gt;Record CD quality audio for 10 seconds into file test.wav&lt;/P&gt;
&lt;PRE&gt;# arecord -f cd -d 10 test.wav
&lt;/PRE&gt;
&lt;P&gt;Play the recorded file&lt;/P&gt;
&lt;PRE&gt;# aplay test.wav 
&lt;/PRE&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;# systemctl stop pulseaudio; amixer set set Headphone 35
Simple mixer control 'Headphone',0
  Capabilities: volume pswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 63
  Front Left: 35 [56%] [-22.00dB] Playback [on]
  Front Right: 35 [56%] [-22.00dB] Playback [on]
# amixer set 'Capture Input' ADC                                                                                                                                                         
Simple mixer control 'Capture Input',0
  Capabilities: enum
  Items: 'ADC' 'DMIC'
  Item0: 'ADC'
# amixer set 'DMIC Mux' DMIC2
Simple mixer control 'DMIC Mux',0
  Capabilities: enum
  Items: 'DMIC1' 'DMIC2'
  Item0: 'DMIC2'
# arecord -f cd -d 10 test.wav
Recording WAVE 'test.wav'&amp;nbsp;: Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
# aplay test.wav
Playing WAVE 'test.wav'&amp;nbsp;: Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
&lt;/PRE&gt;
&lt;H1&gt;&lt;SPAN class="mw-headline"&gt;Audio Record and Play, DMIC&lt;/SPAN&gt;&lt;/H1&gt;
&lt;P&gt;PulseAudio needs to be stopped to run amixer commands.&lt;/P&gt;
&lt;PRE&gt;# systemctl stop pulseaudio
&lt;/PRE&gt;
&lt;P&gt;Set Headphones volume, range :0-63&lt;/P&gt;
&lt;PRE&gt;# amixer set Headphone 35
&lt;/PRE&gt;
&lt;P&gt;Set capture input source to DMIC&lt;/P&gt;
&lt;PRE&gt;# amixer set 'Capture Input' DMIC
&lt;/PRE&gt;
&lt;P&gt;Set DMIC Mux to DMIC1&lt;/P&gt;
&lt;PRE&gt;# amixer set 'DMIC Mux' DMIC1
&lt;/PRE&gt;
&lt;P&gt;Record CD quality audio for 10 seconds into file test.wav&lt;/P&gt;
&lt;PRE&gt;# arecord -f cd -d 10 test.wav
&lt;/PRE&gt;
&lt;P&gt;Play the recorded file&lt;/P&gt;
&lt;PRE&gt;# aplay test.wav 
&lt;/PRE&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt; # systemctl stop pulseaudio;amixer set set Headphone 35
Simple mixer control 'Headphone',0
  Capabilities: volume pswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 63
  Front Left: 35 [56%] [-22.00dB] Playback [on]
  Front Right: 35 [56%] [-22.00dB] Playback [on]
# amixer set 'Capture Input' DMIC                                                                                                                                                         
Simple mixer control 'Capture Input',0
  Capabilities: enum
  Items: 'ADC' 'DMIC'
  Item0: 'DMIC'
# amixer set 'DMIC Mux' DMIC1
Simple mixer control 'DMIC Mux',0
  Capabilities: enum
  Items: 'DMIC1' 'DMIC2'
  Item0: 'DMIC1'
# arecord -f cd -d 10 test.wav
Recording WAVE 'test.wav'&amp;nbsp;: Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
# aplay test.wav
Playing WA&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the everything works on EVK&lt;/P&gt;
&lt;P&gt;Alfredo&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 14:23:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Unable-to-record-audio-using-microphone-imx8mplus/m-p/2087353#M28447</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-04-25T14:23:55Z</dc:date>
    </item>
  </channel>
</rss>

