Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Skype - Distorted Microphone Input

  1. #1

    Unhappy Skype - Distorted Microphone Input

    Hi guys,

    Skype has not worked completely yet for me since installing OpenSUSE 12.2. It worked with 12.1.

    While I can hear perfectly what others are saying, the audio records my voice heavily distorted which is how I
    hear it when using the Skype Testing Service. My voice more or less sounds like some demonic being in the
    movies ...heavy and low.

    Now if I record from arecord instead, my voice sounds completely normal. Here is the command that works:

    Code:
    arecord -vv -f S16_LE -c 2 -D hw:0,0 new.wav
    Skype is set to use the same audio input explicitly. If I set it to default, then there is sound being recorded at all.

    Any idea why would Skype not record correctly and how to fix it?

    Thanks in advance,

    PS: Let me know if there is any other information required to diagnose the problem.
    - Itai
    http://www.cybernium.net

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Skype - Distorted Microphone Input

    On 2013-01-22 16:36, idanan wrote:

    > Any idea why would Skype not record correctly and how to fix it?


    I don't know, I haven't used skype in a long time, just installed it
    again yesterday. One suggestion, though: try installing the static
    package instead of the rpm: it is downloaded from the option named
    "dynamic", a bz2 archive.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  3. #3
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,569
    Blog Entries
    38

    Default Re: Skype - Distorted Microphone Input

    Skype worked for me on openSUSE-12.2 on my laptop, when I was in Thailand (with my laptop) and my mother in North America (she is using openSUSE 12.1).

    If you have the record level too high you will get distortion. You can tune the levels using pavucontrol - and I blogged about Skype and pulse audio here: https://forums.opensuse.org/blogs/ol...avucontrol-96/

    Note there is a newer version of skype available: skype-4.1.0.20-suse121.i586

    Also note your arecord test proves your mike is working, but it bypasses pulse audio so if the problem is in your pulse audio setting it will not show the problem.

  4. #4

    Default Re: Skype - Distorted Microphone Input

    Sorry but that version makes NO sound at all.

    Thanks for trying though!

    - Itai

    Quote Originally Posted by robin_listas View Post
    On 2013-01-22 16:36, idanan wrote:

    > Any idea why would Skype not record correctly and how to fix it?


    I don't know, I haven't used skype in a long time, just installed it
    again yesterday. One suggestion, though: try installing the static
    package instead of the rpm: it is downloaded from the option named
    "dynamic", a bz2 archive.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))
    - Itai
    http://www.cybernium.net

  5. #5

    Default Re: Skype - Distorted Microphone Input

    No, the volume is not high at all and the distortion is so severe that it is not understandable. Actually with arecord, I come out on the low side but perfectly clear.

    Pavucontrol does not work for me because that requires PulseAudio which causes my system to have no audio at ALL.... no record or playback and in no application.
    Once I uninstalled it, everything worked except for Skype input. I use AlsaMixer instead and played with the controls extensively without success.

    Thanks anyway!

    - Itai

    Quote Originally Posted by oldcpu View Post
    Skype worked for me on openSUSE-12.2 on my laptop, when I was in Thailand (with my laptop) and my mother in North America (she is using openSUSE 12.1).

    If you have the record level too high you will get distortion. You can tune the levels using pavucontrol - and I blogged about Skype and pulse audio here: https://forums.opensuse.org/blogs/ol...avucontrol-96/

    Note there is a newer version of skype available: skype-4.1.0.20-suse121.i586

    Also note your arecord test proves your mike is working, but it bypasses pulse audio so if the problem is in your pulse audio setting it will not show the problem.
    - Itai
    http://www.cybernium.net

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Skype - Distorted Microphone Input

    On 2013-01-22 23:06, idanan wrote:
    > Once I uninstalled it, everything worked except for Skype input. I use
    > AlsaMixer instead and played with the controls extensively without
    > success.


    In my case, skype says that it notices that PA is running, and offers a
    button to run the appropriate audio control dialog. Don't you get an
    equivalent text and button for your audio?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  7. #7
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,569
    Blog Entries
    38

    Default Re: Skype - Distorted Microphone Input

    Quote Originally Posted by idanan View Post
    No, the volume is not high at all and the distortion is so severe that it is not understandable. Actually with arecord, I come out on the low side but perfectly clear.

    Pavucontrol does not work for me because that requires PulseAudio which causes my system to have no audio at ALL.... no record or playback and in no application.
    Once I uninstalled it, everything worked except for Skype input. I use AlsaMixer instead and played with the controls extensively without success.
    Its unfortunate your hardware does not work with pulse audio. Practically all testing now adays is done with pulse audio, and when one removes pulse audio (or does not install it) then one is in mostly untested territory.

    We can only take your word for your mixer settings being appropriate, unless you provide more information, such as output of diagnostic script (ie web address to where your PC's hardware/software audio config information is uploaded by the script):
    Code:
    /usr/sbin/alsa-info.sh

  8. #8

    Default Re: Skype - Distorted Microphone Input

    Quote Originally Posted by oldcpu View Post
    Its unfortunate your hardware does not work with pulse audio. Practically all testing now adays is done with pulse audio, and when one removes pulse audio (or does not install it) then one is in mostly untested territory.

    We can only take your word for your mixer settings being appropriate, unless you provide more information, such as output of diagnostic script (ie web address to where your PC's hardware/software audio config information is uploaded by the script):
    Code:
    /usr/sbin/alsa-info.sh
    No problem. Here it is:
    http://www.alsa-project.org/db/?f=2d...976829d4066f25

    Honestly when it comes to audio in Linux, I am quite lost. Everything except Skype just worked once I removed Pulse Audio
    which is something I wouldn't have known to try until I read it has worked for many people in this forum.

    Maybe one day I'll put some new questions to get Pulse Audio working

    Well, thanks for your help. Please let me know if there something you see wrong in the ALSA info uploaded.
    There has to be something Skype does differently than arecord.

    - Itai
    - Itai
    http://www.cybernium.net

  9. #9
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,569
    Blog Entries
    38

    Default Re: Skype - Distorted Microphone Input

    Quote Originally Posted by idanan View Post
    Hmmm .... looking at your mixer configuration I am surprised arecord works at all.

    This is what I can see ... your motherboard has an ALC889 hardware codec, which provides a significant amount of configuration options with the alsa sound driver.

    According to arecord you have two capture devices with both analogue:
    Code:
    ARECORD
    
    **** List of CAPTURE Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: SB [HDA ATI SB], device 2: ALC889 Analog [ALC889 Analog]
      Subdevices: 2/2
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
    Your mixer indicates "Input Source-1" set to Line and "Input Source-2 set to "Rear Mic". Your front Mic is not selected, which is likely good as your Front Mic playback is 'OFF' which if not 'OFF' would give you feedback indicating that the Front Mic works.

    If I look at the Rear Mic settings I see there is a 'capture-0', 'capture-1', 'capture-2' and also a digital-0'. Every one of these has 0% capture, meaning you can not possible record any audio.

    Plus when I look at the 'Rear Mic' playback settings, it is 'OFF' which means you will get no feedback even if it was working.

    I think your mixer needs tuning.

    Here are your misconfigured (?) settings:
    Code:
    Simple mixer control 'Front Mic',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 31
      Mono:
      Front Left: Playback 31 [100%] [12.00dB] [off]
      Front Right: Playback 31 [100%] [12.00dB] [off]
    
    Simple mixer control 'Front Mic Boost',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 3
      Front Left: 3 [100%] [30.00dB]
      Front Right: 3 [100%] [30.00dB]
    
    Simple mixer control 'Capture',0
      Capabilities: cvolume cswitch
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 46
      Front Left: Capture 0 [0%] [-16.00dB] [on]
      Front Right: Capture 0 [0%] [-16.00dB] [on]
    
    Simple mixer control 'Capture',1
      Capabilities: cvolume cswitch
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 46
      Front Left: Capture 0 [0%] [-16.00dB] [off]
      Front Right: Capture 0 [0%] [-16.00dB] [off]
    
    Simple mixer control 'Capture',2
      Capabilities: cvolume cswitch
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 46
      Front Left: Capture 0 [0%] [-16.00dB] [off]
      Front Right: Capture 0 [0%] [-16.00dB] [off]
    
    Simple mixer control 'Digital',0
      Capabilities: cvolume
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 120
      Front Left: Capture 0 [0%] [-30.00dB]
      Front Right: Capture 0 [0%] [-30.00dB]
    
    Simple mixer control 'Input Source',1
      Capabilities: cenum
      Items: 'Rear Mic' 'Front Mic' 'Line'
      Item0: 'Line'
    
    Simple mixer control 'Input Source',2
      Capabilities: cenum
      Items: 'Rear Mic' 'Front Mic' 'Line'
      Item0: 'Rear Mic'
    
    Simple mixer control 'Rear Mic',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 31
      Mono:
      Front Left: Playback 31 [100%] [12.00dB] [off]
      Front Right: Playback 31 [100%] [12.00dB] [off]
    
    Simple mixer control 'Rear Mic Boost',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 3
      Front Left: 3 [100%] [30.00dB]
      Front Right: 3 [100%] [30.00dB]

  10. #10

    Default Re: Skype - Distorted Microphone Input

    Now I am even more baffled then before. Just in case I broke something between reporting my problem and generating the ALSA output,
    I ran arecord again and it worked. My voice sounds perfect. Even more strange, I am using the Front Mic which you said is not used by
    the config!

    Then, I spend a good amount of time fiddling with the mixer to correct the problem and it seems I can only make it worse! At best, I get
    my voice played back at a reasonable volume but completely distorted. At worst, I got no playback at all. What controls Skype hearing
    me is the setting called 'Capture' (it has to be ON but any gain is fine), plus Front Mic Boost (It has to be at least 1/3 from the bottom to
    record myself). When Skype is allowed to 'Change Mixer Settings', I can see the Front Mic Boost going to the maximum.

    Since the behavior is so weird, I suspect there is an either deeper cause than mixer config but I'm guessing of course. The only odd thing
    I just noticed is that in Yast -> Sound there are 3 cards listed and one says 'Not Configured' and it has the same name as the first one.
    The Delete button refuses to do anything while trying to configure is results in an error saying there is no kernel driver for it! Specifically,
    the cards are list as follows:

    Code:
    0                      SBx00 Azalia (Intel HDA)
    1                      R700 Audio Device [Radean HD 4000 Series]
    Not Configured  SBx00 Azalia (Intel HDA)
    If I try to configure it, either automatic or manually, it says:

    The kernel module snd-hda-intel for sound support could not be loaded. This can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
    Any ideas why there would be this extra sound card and how to remove it? That may cause some confusion in the system with
    multiple parameters and then maybe ALSA gets confused. Could it this also be what causes PulseAudio to make my system
    silent?

    Thanks again,
    - Itai
    http://www.cybernium.net

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •