LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-02-2010, 08:16 AM   #16
Skellz
Member
 
Registered: May 2010
Location: Cloud 9
Distribution: Xubuntu 10.04
Posts: 32

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by smithdsouza View Post
I suppose there is some problem in the settings better you go in the settings and check it out.
What settings?
 
Old 06-02-2010, 10:15 AM   #17
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
$ cat /proc/asound/cards

$ amixer

$ alsamixer
(press tab to get to the CAPTURE devices.)

In aumix, you need to have Mic + iGain to get a level worth recording. And you need to select your capture device as many devices let you record from line in or mic in and other options. It sounds like your issue is probably one of that nature.
 
Old 06-02-2010, 11:28 AM   #18
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
Quote:
I hear it through my speakers when I turn it up but not through any programs
If you can hear the mic through your speakers, the mic is probably ok.
Its probably the headphones that need to be turned up.

Quote:
alsamixer
Use the M key to make sure the headphones are not muted.

then
Code:
sudo alsactl store
to store the settings.

You could also do
Code:
arecord -l
to give a list of capture devices.

What program are you using to test this?
 
Old 06-02-2010, 11:33 AM   #19
Skellz
Member
 
Registered: May 2010
Location: Cloud 9
Distribution: Xubuntu 10.04
Posts: 32

Original Poster
Rep: Reputation: 15
I have all Line In and Mic In (and others like that) selected, along with a mic boost...

I'm using a skype test call to test the mic, should I be using otherwise?

Output for "arecord -l"

skellz@skellz-laptop:~/Desktop$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: CS46xx [Sound Fusion CS46xx], device 0: CS46xx [CS46xx]
Subdevices: 1/1
Subdevice #0: subdevice #0

And also, it's not that I'm trying to get it to work through to headphones, it won't capture any sound in those programs, such as skype, audacity, etc.

Last edited by Skellz; 06-02-2010 at 11:36 AM.
 
Old 06-02-2010, 11:47 AM   #20
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
I can't help you with skype. But if you can hear yourself through your speakers and not your headset(if that is the problem), the headphones in alsamixer could be muted.
You should try recording something through another program like vlc or arecord to make sure it is actually a settings problem and not something with skype.
Try recording 5 second sample with arecord:
Code:
arecord -D plughw:0,0 -d 5 -f S16_LE > testing.wav
Then play it with
Code:
aplay testing.wav

Last edited by mryuck; 06-02-2010 at 11:54 AM.
 
Old 06-02-2010, 11:49 AM   #21
Skellz
Member
 
Registered: May 2010
Location: Cloud 9
Distribution: Xubuntu 10.04
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mryuck View Post
I can't help you with skype. But if you can hear yourself through your speakers and not your headset(if that is the problem), the headphones in alsamixer could be muted.
You should try recording something through another program like vlc or arecord to make sure it is actually a settings problem and not something with skype.
That's why I tried Audacity as well, still nothing from it
 
Old 06-02-2010, 11:56 AM   #22
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
Try what I put in my previous post. I edited it while you were reading it apparently.
 
Old 06-02-2010, 12:04 PM   #23
Skellz
Member
 
Registered: May 2010
Location: Cloud 9
Distribution: Xubuntu 10.04
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mryuck View Post
Try what I put in my previous post. I edited it while you were reading it apparently.
Just tried what you suggested, I recorded but no sound came out whatsoever
 
Old 06-02-2010, 12:10 PM   #24
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
Code:
sox -t .wav testing.wav -n stat
Where testing.wav is the recording you made.
post results.
 
Old 06-02-2010, 12:14 PM   #25
Skellz
Member
 
Registered: May 2010
Location: Cloud 9
Distribution: Xubuntu 10.04
Posts: 32

Original Poster
Rep: Reputation: 15
skellz@skellz-laptop:~/Desktop$ sox -t .wav testing.wav -n stat
Samples read: 40000
Length (seconds): 5.000000
Scaled by: 2147483647.0
Maximum amplitude: 0.000000
Minimum amplitude: 0.000000
Midline amplitude: 0.000000
Mean norm: 0.000000
Mean amplitude: 0.000000
RMS amplitude: 0.000000
Maximum delta: 0.000000
Minimum delta: 0.000000
Mean delta: 0.000000
RMS delta: 0.000000
Rough frequency: -2147483648
 
Old 06-02-2010, 12:21 PM   #26
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
Nothing got captured.
In alsamixer, Did you press F4 to make sure capture is not muted/turned way down.
Also turn on mic boost.

after changing alsamixer settings do alsactl store.

I won't be able to post back here for a few hours.
Ill check back later.
 
Old 06-02-2010, 12:28 PM   #27
Skellz
Member
 
Registered: May 2010
Location: Cloud 9
Distribution: Xubuntu 10.04
Posts: 32

Original Poster
Rep: Reputation: 15
Everything is at a reasonable level. I also turned everything up very loud to see if that would help. Mic boost has been on since the beginning, so idk if that has been helping or not...
 
Old 06-02-2010, 03:31 PM   #28
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
-t .wav is probably a typo(no dot needed). And probably redundant since a wav has headers. -t wav otherwise.

$ sox test.wav -n stat

$ arecord -t wav -f S16_LE -d 10 -c 1 -r 48000 test.wav

Assuming that you want to use the default device.
 
Old 06-02-2010, 03:44 PM   #29
Skellz
Member
 
Registered: May 2010
Location: Cloud 9
Distribution: Xubuntu 10.04
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Shadow_7 View Post

$ arecord -t wav -f S16_LE -d 10 -c 1 -r 48000 test.wav

Assuming that you want to use the default device.
skellz@skellz-laptop:~/Desktop$ sox test.wav -n stat
Samples read: 480000
Length (seconds): 10.000000
Scaled by: 2147483647.0
Maximum amplitude: 0.000000
Minimum amplitude: 0.000000
Midline amplitude: 0.000000
Mean norm: 0.000000
Mean amplitude: 0.000000
RMS amplitude: 0.000000
Maximum delta: 0.000000
Minimum delta: 0.000000
Mean delta: 0.000000
RMS delta: 0.000000
Rough frequency: -2147483648

That's the result after doing this
 
Old 06-02-2010, 05:04 PM   #30
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
$ aumix -q
$ amixer
 
  


Reply



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
Adjust and test microphones pwabrahams Linux - Hardware 1 12-11-2009 04:49 AM
Any USB microphones that works well in Linux WillingToLikeLinux Linux - Newbie 5 12-20-2008 10:41 PM
dev file for speakers and microphones ashlesha Programming 9 04-11-2007 08:41 PM
Anyone with experience in microphones...... ksoma General 7 09-19-2004 02:29 PM
Microphones for live streaming audio Dave Kelly Linux - Hardware 4 08-22-2004 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:20 PM.

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