On Mon, Apr 13, 2020 at 4:29 PM Michael <confabul...@kintzios.com> wrote: >
> Yes, the first step would be to reduce or set to zero the Mic Boost in > alsamixer and adjust the Capture volume. However, noise with arecord is > usually a result of incorrect bitrate? > > You could try: > > arecord -fdat -r 48 test.wav OK, I tried "arecord -D hw:0,1 -fdat -r 48 test.wav" and "arecord -D hw:0,2 -fdat -r 48 test.wav". aplay produces noise, in both cases. I alse tried with -r 44, same result. ## arecord -l **** List of CAPTURE Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog [Generic Alt Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 ## arecord -L null Discard all samples (playback) or generate zero samples (capture) default:CARD=PCH HDA Intel PCH, Generic Analog Default Audio Device sysdefault:CARD=PCH HDA Intel PCH, Generic Analog Default Audio Device front:CARD=PCH,DEV=0 HDA Intel PCH, Generic Analog Front speakers usbstream:CARD=PCH HDA Intel PCH USB Stream Output I assume the two capture devices are LineIn and Mic (mono). Correct? (But why the device numbers 0 and 2, and not 1?) OTOH, ## arecord -fdat -r 48 test.wav ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.1.2/work/alsa-lib-1.2.1.2/src/pcm/pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave arecord: main:828: audio open error: No such file or directory I didn't use any flags for aplay, because aplay foo.wav works fine when foo.wav is music from a CD (i.e., not from a micro) > > Also, make sure any hardware buttons have been enabled and the mic is not > muted. Additional options may be required to use the correct input device and > driver, which can be specified in /etc/modprobe.d/alsa.conf I have /etc/modprobe.d/alsa.conf (not changed) but I have alsa support built in the kernel, not as a module (could this be a problem?!) Jorge