[Microphone[Echo in the background, some devices are not visible

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Domin_PL

[Microphone[Echo in the background, some devices are not visible

Post by Domin_PL »

Hello guys,
I've recently reinstalled Linux Mint and changed to Cinnamon desktop. On Tara I used to have so many microphone issues, which I still have.
According to my issue: I got 3 microphones: 1 is Apple Headphones (it should work, shouldn't it?), and 2 are normal, analog which don't work to me, even though one of them is brand new. The only difference between Apple headphones and those 2 microphones is that, Apple headphones are 3 pins when microphones are 2 pins. Heading step back to my problem, I've already added following lines to my default.pa file in /etc/pulse:

Code: Select all

load-module module-echo-cancel source_name=noechosource sink_name=noechosink
set-default-source noechosource
set-default-sink noechosink
it reduced my echo level, but echo still exists. Sample record from Apple headphones: https://drive.google.com/file/d/1_UQhvN ... sp=sharing
I don't use my microphones for one reason - they are not recognised in the system, when I try to record it is as they were not connected, maybe it's hardware problem, I don't know. Current input volume is set up for 45%. Not sure what am I supposed to do more.
So, do you have any suggestions how to remove this echo from the background?

I'm providing outputs from some codes, how am I to hide them to don't make this post too long, something like click to show/hide?
Thanks in advance!

output from inxi -Fxzd:
inxi -Fxzd
System: Host: domin Kernel: 4.15.0-20-generic x86_64 bits: 64 gcc: 7.3.0
Desktop: Cinnamon 3.8.8 (Gtk 3.22.30-1ubuntu1)
Distro: Linux Mint 19 Tara
Machine: Device: laptop System: LENOVO product: 2356GH3 v: ThinkPad T430s serial: N/A
Mobo: LENOVO model: 2356GH3 serial: N/A
UEFI: LENOVO v: G7ET95WW (2.55 ) date: 07/10/2013
Battery BAT0: charge: 22.9 Wh 98.9% condition: 23.2/44.0 Wh (53%)
model: SANYO 45N1037 status: N/A
CPU: Dual core Intel Core i5-3320M (-MT-MCP-)
arch: Ivy Bridge rev.9 cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10375
clock speeds: max: 3300 MHz 1: 3230 MHz 2: 3155 MHz 3: 3129 MHz
4: 3103 MHz
Graphics: Card: Intel 3rd Gen Core processor Graphics Controller
bus-ID: 00:02.0
Display Server: x11 (X.Org 1.19.6 )
drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1600x900@60.00hz, 1280x1024@60.02hz
OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile
version: 4.2 Mesa 18.0.0-rc5 Direct Render: Yes
Audio: Card Intel 7 Series/C216 Family High Def. Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network: Card-1: Intel 82579LM Gigabit Network Connection
driver: e1000e v: 3.2.6-k port: 5080 bus-ID: 00:19.0
IF: enp0s25 state: up speed: 100 Mbps duplex: full mac: <filter>
Card-2: Intel Centrino Advanced-N 6205 [Taylor Peak]
driver: iwlwifi bus-ID: 03:00.0
IF: wlp3s0 state: up mac: <filter>
Drives: HDD Total Size: 128.0GB (27.9% used)
ID-1: /dev/sda model: TOSHIBA_THNSNF12 size: 128.0GB
Optical-1: /dev/sr0 model: HL-DT-ST DVDRAM GU70N
rev: LT21 dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 24x multisession: yes
audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 109G used: 26G (25%) fs: ext4 dev: /dev/dm-0
ID-2: swap-1 size: 8.40GB used: 0.00GB (0%)
fs: swap dev: /dev/dm-1
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 64.0C mobo: N/A
Fan Speeds (in rpm): cpu: 3841
Info: Processes: 249 Uptime: 3:08 Memory: 4862.9/7795.6MB
Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56

lsusb:
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 04f2:b2da Chicony Electronics Co., Ltd thinkpad t430s camera
Bus 001 Device 005: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]
Bus 001 Device 004: ID 147e:2020 Upek TouchChip Fingerprint Coprocessor (WBF advanced mode)
Bus 001 Device 003: ID 25a7:2410
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

my codecs:
$: cat /proc/asound/card0/codec#* | grep Codec
Codec: Realtek ALC269VC
Codec: Intel PantherPoint HDMI
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: [Microphone[Echo in the background, some devices are not visible

Post by trytip »

if you don't have experience with audio hardware i would eliminate some. 3 micorphones is bound to have conflicts. is your noecho running?
pactl list | grep -A2 'Source #' | grep 'Name: ' | cut -d" " -f2
Image
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: [Microphone[Echo in the background, some devices are not visible

Post by MrEen »

Hi Domin_PL.

While trytip helps with the echo issue, I'll take a stab at the unrecognized mics.

First I must say, I'm assuming by 2 vs 3 pins, you're referring to the rings on the 3.5mm plug. This shouldn't have any effect on your issue. I'm also going to assume for the moment that the other mics are microphones only and not headsets. If I'm wrong, please correct me.

Stand-alone mics are plugged into a different port than headsets, so start with that check. Headsets into headphone port, mics into mic port.

Install and run PulseAudio Volume Control and on the Configuration tab, make sure the Profile for your Built-in sound card is set to Analog Stereo Duplex. Then look on the Input Devices tab to see if the mic shows up.

If all this is of no help, paste back the output of aplay -l please. Use the code button like you did with your default.pa edit.

Good luck.
Domin_PL

Re: [Microphone[Echo in the background, some devices are not visible

Post by Domin_PL »

Allright, following up to your answers:
I have a laptop, so that I have only one minijack port. Does it mean then, I can only plug-in headset, not a microphone only? If I wanted to plug-in a microphone I need to have one which uses USB port as input port?

My built-in card is set to Analog Stereo Duplex, as mentioned. Noecho is running, there is huge difference between noecho provile vs default profile (with noecho disabled)
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: [Microphone[Echo in the background, some devices are not visible

Post by MrEen »

Domin_PL wrote: Thu Dec 13, 2018 5:11 am Allright, following up to your answers:
I have a laptop, so that I have only one minijack port. Does it mean then, I can only plug-in headset, not a microphone only? If I wanted to plug-in a microphone I need to have one which uses USB port as input port?

My built-in card is set to Analog Stereo Duplex, as mentioned. Noecho is running, there is huge difference between noecho provile vs default profile (with noecho disabled)
Sorry. For some reason I thought you were using a desktop. A USB mic should work fine, but I believe yours should as well. When one of the unrecognized mics are plugged in, does anything show on the Input Devices tab? In case your audio chip needs a workaround for microphone use, I'll need to see the output of aplay -l to be able to look it up.
Domin_PL

Re: [Microphone[Echo in the background, some devices are not visible

Post by Domin_PL »

Unfortunately it doesn't show me anything when microphone is plugged in. Then it does use internal one.

here's aplay -l output:

Code: Select all

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: [Microphone[Echo in the background, some devices are not visible

Post by trytip »

i removed the noecho from my profile. it worked very good recording myself, but when using skype there was major microphone sound issues with clicks and bumps as if speaker wires were touching.

your test audio file doesn't sound bad, i believe it's the microphone quality. mine has more treble yours sounds too much base on my speakers

i don't believe you can improve the noecho as this is how it sounds. it's really not an echo but noise canceling frequencies
Image
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: [Microphone[Echo in the background, some devices are not visible

Post by MrEen »

Domin_PL wrote: Thu Dec 13, 2018 12:09 pm Unfortunately it doesn't show me anything when microphone is plugged in. Then it does use internal one.

here's aplay -l output:

Code: Select all

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
We have a few options here to try. I'll give you what I think will most likely work first. In the terminal run xed admin:///etc/modprobe.d/alsa-base.conf and when the file opens, scroll to the bottom and add this one line:

Code: Select all

options snd-hda-intel model=alc269-dmic
Then save the file, reboot and test your mics.
Locked

Return to “Sound”