LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2020, 10:52 AM   #1
blueray
Member
 
Registered: Feb 2020
Location: Bangladesh
Distribution: Debian, Ubuntu, Linux Mint
Posts: 136

Rep: Reputation: 2
Audio Recorded Via Webcam Microphone Sounds Gibberish


My webcam video recording is working.

When I am making sound, my webcam microphone is receiving sound.

However, when I playback the sound, it is nothing but noise.

It sounds like this

My current system is

Code:
    $ inxi -F
    System:    Host: blueray-PC Kernel: 4.15.0-108-generic x86_64 bits: 64 Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia 
    Machine:   Type: Desktop Mobo: ASUSTeK model: PRIME H370-PLUS v: Rev 1.xx serial: <root required> UEFI: American Megatrends 
               v: 0904 date: 09/14/2018 
    CPU:       Topology: 6-Core model: Intel Core i5-8600K bits: 64 type: MCP L2 cache: 9216 KiB 
               Speed: 800 MHz min/max: 800/4300 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 801 5: 800 6: 800 
    Graphics:  Device-1: Intel driver: i915 v: kernel 
               Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa 
               resolution: 1920x1080~60Hz, 1920x1080~60Hz 
               OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) v: 4.5 Mesa 19.2.8 
    Audio:     Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel 
               Device-2: Generalplus 808 Camera #9 (web-cam mode) type: USB driver: snd-usb-audio,uvcvideo 
               Sound Server: ALSA v: k4.15.0-108-generic 
    Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
               IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: 18:31:bf:b5:e6:5b 
    Drives:    Local Storage: total: 7.50 TiB used: 4.48 TiB (59.8%) 
               ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 250GB size: 232.89 GiB 
               ID-2: /dev/sdb vendor: Western Digital model: WD40PURX-64N96Y0 size: 3.64 TiB 
               ID-3: /dev/sdc vendor: Western Digital model: WD40EFRX-68WT0N0 size: 3.64 TiB 
    Partition: ID-1: / size: 223.79 GiB used: 31.56 GiB (14.1%) fs: ext4 dev: /dev/dm-2 
               ID-2: swap-1 size: 4.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-1 
    Sensors:   System Temperatures: cpu: 27.8 C mobo: N/A 
               Fan Speeds (RPM): cpu: 0 
    Info:      Processes: 250 Uptime: 20m Memory: 31.20 GiB used: 1.93 GiB (6.2%) Shell: zsh inxi: 3.0.32
I was trying to record audio using audacity and cheese.

Then, I tried to record sound using arecord and this is what I get:

Code:
    $ arecord --list-devices                                                                             
    **** List of CAPTURE Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 2: ALC887-VD Alt Analog [ALC887-VD Alt Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: WEBCAM [GENERAL WEBCAM], device 0: USB Audio [USB Audio]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    
    $ arecord -f dat -r 60000 -D hw:1,0 -d 5 test.wav
    Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 60000 Hz, Stereo
    arecord: set_params:1305: Channels count non available
What does set_params:1305: Channels count non available mean and what is the solution of this noise here?

I have tried Static noise in microphone recording and Microphone distorted due to automatic adjustment

I have just updated my kernel

Code:
$ uname -r
5.4.0-39-generic
It is still not working.


[1]: https://i.stack.imgur.com/206jt.png
[2]: https://voca.ro/ftOo8UjrkEv
 
Old 06-27-2020, 07:20 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
No solution, but some ideas for further testing:

Do you have the correct sound input source selected in Audacity?

Have you tested with a known-good microphone plugged into the mic jack to verify that the jack itself is functional?

You don't mention which distro you are using for this, but, if it uses Pulse Audio, install the Pulse Audio Mixer (pavucontrol--it should be in the repos), then check the settings for that input device.
 
1 members found this post helpful.
Old 06-28-2020, 11:26 AM   #3
blueray
Member
 
Registered: Feb 2020
Location: Bangladesh
Distribution: Debian, Ubuntu, Linux Mint
Posts: 136

Original Poster
Rep: Reputation: 2
I gave up on that hardware. Looking for a new webcam.
 
Old 07-04-2020, 10:56 AM   #4
blueray
Member
 
Registered: Feb 2020
Location: Bangladesh
Distribution: Debian, Ubuntu, Linux Mint
Posts: 136

Original Poster
Rep: Reputation: 2
I discussed about this issue in Linux Mint forum.

If someone is interested, here is the link https://forums.linuxmint.com/viewtopic.php?t=322942
 
Old 07-04-2020, 03:42 PM   #5
michaelsavage
Member
 
Registered: Apr 2019
Distribution: Linux Mint
Posts: 59

Rep: Reputation: 11
I came across something that fixed my usb mic on this YouTube video https://www.youtube.com/watch?v=DrkZIT7w7Hc
The entire video is very useful, but for your issue the needed information starts 10 minute into it.
 
1 members found this post helpful.
  


Reply

Tags
alsa, audio, mint, pulseaudio



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No audio recorded in ffmpeg ryanpcmcquen Slackware 5 09-07-2018 10:21 AM
Distortion in recorded audio data using ALSA plugin vineeshkumar Linux - Kernel 1 09-24-2016 11:32 AM
[SOLVED] Recorded stream in mp4 - Audio and video are out of sync glupa4e Slackware 2 10-03-2015 01:47 PM
No audio perceived/recorded from around/ambient. Benny7440 Linux - Laptop and Netbook 12 06-26-2011 02:21 PM
Recorded audio sounds horrible, but the untouched line-in sounds ok? justin218 Linux - Newbie 1 10-14-2003 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration