You are not logged in.

#1 2017-03-14 04:37:45

Tofu_Bone
Member
Registered: 2016-12-26
Posts: 43

Static noise while recording

This is a continuous of the  My previous post about recording.

When I try to record something, the result with have some static noise.
Also, because I have to mute the "mic boost" in order to make it work(from previous post), the record volume is low.
I tried to "tsched=0" method in default.pa, but it doesn't work.
I also tried to eleminate harware factor by using different earphone.
Any idea?
Here is some system information:

[yat@yat626 alsa]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3236 Analog [ALC3236 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[yat@yat626 alsa]$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3236 Analog [ALC3236 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
yat@yat626 alsa]$ arecord -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default:CARD=PCH
    HDA Intel PCH, ALC3236 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC3236 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3236 Analog
    Front speakers

Last edited by Tofu_Bone (2017-03-14 04:38:31)

Offline

#2 2017-04-12 16:40:40

Aiven
Member
Registered: 2017-04-12
Posts: 3

Re: Static noise while recording

I myself suffered a month with this problem. And before I found a solution, I came across this topic. When no one answered, I found it necessary to register and help.
I do not know English. Translated by Google.
My system information:

[~]$ aplay -l                                                                  
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3236 Analog [ALC3236 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[~]$ arecord -l                                                                
**** List of CAPTURE Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: ALC3236 Analog [ALC3236 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[~]$ arecord -L                                                                
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC3236 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3236 Analog
    Front speakers
[~]$ uname -a                                                                  
Linux kiv-pc 4.9.20-1-MANJARO #1 SMP PREEMPT Fri Mar 31 17:49:34 UTC 2017 x86_64 GNU/Linux

Now my microphone works normally. Try it as I:

1) Set "default-sample-rate".
https://wiki.archlinux.org/index.php/Pu … _recording
Now I have 48000.

2) Disable mic boost.
https://wiki.archlinux.org/index.php/Pu … adjustment
After that, the maximum volume of the recording in the pavucontrol was 100. And not 39% as before. Also, it stopped increasing it by itself above 40%, which led to the breakdown of the record.

3) Enable noise suppression.
https://habrahabr.ru/post/243977/
Sorry, this article is in Russian. I could not find the same for you in English.
In short, you need to add this to the end of /etc/pulse/default.pa:

load-module module-echo-cancel source_name=noechosource sink_name=noechosink
set-default-source noechosource

But now I have another problem. When I connect my headphones (which have a mirophone), then the microphone built into the laptop works. And I can not find where it can be switched.

Offline

#3 2017-04-13 15:36:55

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Static noise while recording

@Aiven: Are you running Manjaro?


Matt

"It is very difficult to educate the educated."

Offline

#4 2017-04-13 16:56:42

Tofu_Bone
Member
Registered: 2016-12-26
Posts: 43

Re: Static noise while recording

Thanks for the reply, after testing the situation is much better, but it is not yet solved.

I tried to Mic boost disable method, but without luck, i still have to turn the volume to 0 in alsamixer.

Because of no Mic boost, the recording level is too low, so i can barely hear what I am saying.

for the echo cancel module, I have trouble enable it, the pulseaudio daemon won't start after adding the line.

somehow, I have to comment out "load-module module-default-device-restore" to make echo cancel work.

But still, thank you so much smile

Offline

#5 2017-04-14 09:21:03

Aiven
Member
Registered: 2017-04-12
Posts: 3

Re: Static noise while recording

mrunion wrote:

@Aiven: Are you running Manjaro?

Yes.

Tofu_Bone, try resetting the pulse settings. And then set echo cancellation and turn off the mic boost. After turning on echo cancellation, the volume of the microphone became very large, so no gain is needed. On the contrary, I even reduce the volume, because Too loud it turns out.

P.S. Due to the fact that I have the Manjaro installed, our settings may be different. My default.pa: https://pastebin.com/au0AnEga

P.S.s. When you connect an external microphone, you can turn on the recording from it?

Last edited by Aiven (2017-04-14 09:34:10)

Offline

#6 2021-02-08 10:44:47

Qt.ng
Member
Registered: 2020-05-06
Posts: 4

Re: Static noise while recording

Aiven wrote:

I myself suffered a month with this problem. And before I found a solution, I came across this topic. When no one answered, I found it necessary to register and help.
I do not know English. Translated by Google.
My system information:

[~]$ aplay -l                                                                  
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3236 Analog [ALC3236 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[~]$ arecord -l                                                                
**** List of CAPTURE Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: ALC3236 Analog [ALC3236 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[~]$ arecord -L                                                                
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC3236 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3236 Analog
    Front speakers
[~]$ uname -a                                                                  
Linux kiv-pc 4.9.20-1-MANJARO #1 SMP PREEMPT Fri Mar 31 17:49:34 UTC 2017 x86_64 GNU/Linux

Now my microphone works normally. Try it as I:

1) Set "default-sample-rate".
https://wiki.archlinux.org/index.php/Pu … _recording
Now I have 48000.

2) Disable mic boost.
https://wiki.archlinux.org/index.php/Pu … adjustment
After that, the maximum volume of the recording in the pavucontrol was 100. And not 39% as before. Also, it stopped increasing it by itself above 40%, which led to the breakdown of the record.

3) Enable noise suppression.
https://habrahabr.ru/post/243977/
Sorry, this article is in Russian. I could not find the same for you in English.
In short, you need to add this to the end of /etc/pulse/default.pa:

load-module module-echo-cancel source_name=noechosource sink_name=noechosink
set-default-source noechosource

But now I have another problem. When I connect my headphones (which have a mirophone), then the microphone built into the laptop works. And I can not find where it can be switched.

Thank you so much I tried 1) and 3) and now it works perfectly.

Offline

Board footer

Powered by FluxBB