This forum has been archived. All content is frozen. Please use KDE Discuss instead.

microphone quality

Tags: None
(comma "," separated)
contremaitre
Registered Member
Posts
71
Karma
0

microphone quality

Fri Mar 29, 2013 7:54 am
Hello,

When I use my microphone with skype (which use pulseaudio) or Linphone (which use ALSA), the microphone quality is VERY bad, noisy.
With audacity it's a bit better but still not very good, there is some noise also.

I muted all input except the one I am using.
If I set the input volume to 10% (in pavucontrol), it's acceptable in audacity, but the sound is low and still a little noise.
But in skype or linphone it's still bad, the voice seems saturated and too much noise.

The hardware seems to work correctly, it works fine under windows.
It's an integrated Realtek ALC892
contremaitre
Registered Member
Posts
71
Karma
0

Re: microphone quality

Mon Apr 15, 2013 6:16 am
anyone ?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: microphone quality

Wed Apr 17, 2013 3:34 am
Can you check (using alsamixer) that the Capture lines for your sound card are configured appropriately?
In particular, try adjusting the various items that exist, particularly if their name is "Line In" or similar.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
contremaitre
Registered Member
Posts
71
Karma
0

Re: microphone quality

Thu Apr 18, 2013 8:36 pm
Setting the "rear mic boost" to 0 improved a little.
Now the voice is less saturated, but there is still too much noise.
Other sound levels in alsa mixer are set to 0 to be safe.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: microphone quality

Fri Apr 19, 2013 7:01 am
This could indicate that the kernel driver still needs work unfortunately, or that something else is introducing this noise.
If you make a recording using "arecord" does that include this noise?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
contremaitre
Registered Member
Posts
71
Karma
0

Re: microphone quality

Fri Apr 19, 2013 9:00 am
I can't start arecord, I never see the GUI
If I launch it from command line, all I can see in the terminal is tons of :
��������������������
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: microphone quality

Sat Apr 20, 2013 7:29 am
Please note that 'arecord' is a CLI application, and as such you need to specify the name of a file which the recording should be written to.
Code: Select all
arecord recording.wav

The resulting 'recording.wav' file should then be playable in any music or video player.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
contremaitre
Registered Member
Posts
71
Karma
0

Re: microphone quality

Thu Jul 04, 2013 11:57 am
Hmmm this is weird, with arecord the mic sound is fine.
But when I test from skype or linphone (a VOIP phone), the microphone sound is horrible. And they both claim they use pulseaudio.
I also tried to configure linphone to use ALSA and the sound is still horrible.

Any idea ?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: microphone quality

Thu Jul 04, 2013 11:40 pm
I would suggest taking a look at this thread, which seems to have a similar issue.
https://bbs.archlinux.org/viewtopic.php?pid=920549

It would appear that Pulseaudio is mismanaging the microphone unfortunately.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
contremaitre
Registered Member
Posts
71
Karma
0

Re: microphone quality

Mon Jul 22, 2013 8:23 pm
all workaround I tested, like in the thread you posted, or other thread found with "pulseaudio crackling noise", does not fix my issue :(

For the record, I tested :
- adding tsched=0 in /etc/pulse/default.pa
- changing the sample-rate from 44100 to 44800 in /etc/pulse/daemon.conf
- launching skype with the following env variable : PULSE_LATENCY_MSEC=30
- lowering the PCM volume in alsamixer

Nothing helped so far...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: microphone quality

Mon Jul 22, 2013 11:49 pm
Unfortunately there are no other known solutions to this - you will need to bypass Pulseaudio to workaround this issue.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
contremaitre
Registered Member
Posts
71
Karma
0

Re: microphone quality

Tue Jul 23, 2013 8:25 pm
For the record, upgrading pulseaudio to version 4.0 (with pulse-testing ppa) does not fix the microphone issue, and add a crackling sound output on skype, now I need PULSE_LATENCY_MSEC=30 workaround.

This is discouraging because it means it's not fixed in latest pulseaudio development versions
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: microphone quality

Sat Jul 27, 2013 7:17 am
Have you tried changing the "device profile" that Pulseaudio uses to manage your sound card, to see if a better recording option is offered?
It is rather unfortunate it does not work in even the latest development code.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
contremaitre
Registered Member
Posts
71
Karma
0

Re: microphone quality

Sun Jul 28, 2013 3:40 pm
Yes I already tried to change the device profile.

Looks like PA is buggy with my audio chipset.
I reported it thanks to this web page :
http://www.freedesktop.org/wiki/Softwar ... enDrivers/
contremaitre
Registered Member
Posts
71
Karma
0

Re: microphone quality  Topic is solved

Mon Sep 23, 2013 11:27 am
The bug is gone on Kubuntu 13.10


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]