[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Sound recorder records only silence



Hi,

I hope someone can help with this problem...

I'm trying to get the microphone input working (actually for use with
Skype).  I'm using audacity, arecord, and the gnome sound recorder to
test the mic input and whichever app I use it records only silence.

In the Gnome volume control: 
	Playback tab - Microphone slider is set to 100, and not muted
	Capture tab - Both sliders set to 100 and not muted
	Switches tab - Microphone Capture is ticked
	Options tab - Mic Select set to Mic1, Mono select set to Mic

Blowing or touching the microphone can be clearly heard on the PC
speakers, holding the mic next to the speakers causes a feedback
'howl', speech is distorted.

However, any recording records just silence:

~# arecord -d 10 test.wav
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
~# hd test.wav
00000000  52 49 46 46 a4 38 01 00  57 41 56 45 66 6d 74 20  |RIFF.8..WAVEfmt |
00000010  10 00 00 00 01 00 01 00  40 1f 00 00 40 1f 00 00  |........@...@...|
00000020  01 00 08 00 64 61 74 61  80 38 01 00 80 80 80 80  |....data.8......|
00000030  80 80 80 80 80 80 80 80  80 80 80 80 80 80 80 80  |................|
*
000138a0  80 80 80 80 80 80 80 80  80 80 80 80              |............|
000138ac
~# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: CS46xx [Sound Fusion CS46xx], device 0: CS46xx [CS46xx]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
~# amixer info
Card default 'CS46xx'/'Sound Fusion CS46xx at 0xfcffe000/0xfce00000, irq 193'
  Mixer name    : 'Cirrus Logic CS4297A rev 4'
  Components    : 'AC97a:43525914'
  Controls      : 45
  Simple ctrls  : 26
~# man amixer
Reformatting amixer(1), please wait...
~# amixer scontents
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 63
  Mono:
  Front Left: Playback 48 [76%] [on]
  Front Right: Playback 48 [76%] [on]
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 24 [77%] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 24 [77%] [on]
  Front Right: Playback 24 [77%] [on]
Simple mixer control '3D Control - Center',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control '3D Control - Depth',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control '3D Control - Switch',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 28 [90%] [on]
  Front Right: Playback 28 [90%] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 25 [81%] [on] Capture [off]
  Front Right: Playback 25 [81%] [on] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [on]
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Mic Select',0
  Capabilities: enum
  Items: 'Mic1' 'Mic2'
  Item0: 'Mic1'
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [off]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Input',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Output',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 0 [0%] [off]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mono Output Select',0
  Capabilities: enum
  Items: 'Mix' 'Mic'
  Item0: 'Mic'
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 15 [100%] [on]
  Front Right: Capture 15 [100%] [on]
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'ADC',0
  Capabilities: volume cswitch cswitch-joined
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 32767
  Front Left: 32767 [100%] Capture [off]
  Front Right: 32767 [100%] Capture [off]
Simple mixer control 'DAC',0
  Capabilities: volume cswitch cswitch-joined
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 32767
  Front Left: 29491 [90%] Capture [off]
  Front Right: 29491 [90%] Capture [off]
Simple mixer control 'External Amplifier',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
~# lsmod
Module                  Size  Used by
snd_cs46xx             76360  1
gameport               14632  2 snd_cs46xx
snd_seq_dummy           3844  0
snd_seq_oss            28768  0
snd_seq_midi            8192  0
snd_seq_midi_event      7008  2 snd_seq_oss,snd_seq_midi
snd_seq                45680  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_rawmidi            22560  2 snd_cs46xx,snd_seq_midi
snd_seq_device          7820  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd_ac97_codec         83104  1 snd_cs46xx
snd_ac97_bus            2400  1 snd_ac97_codec
snd_pcm_oss            38368  0
snd_mixer_oss          15200  1 snd_pcm_oss
snd_pcm                68676  3 snd_cs46xx,snd_ac97_codec,snd_pcm_oss
snd_timer              20996  2 snd_seq,snd_pcm
snd                    47012  12 snd_cs46xx,snd_seq_oss,snd_seq,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               9248  1 snd
snd_page_alloc          9640  2 snd_cs46xx,snd_pcm
ipv6                  226016  20
ipt_LOG                 6112  0
xt_tcpudp               3136  0
xt_state                2272  0
iptable_filter          3104  1
iptable_nat             7044  0
ip_nat                 16876  1 iptable_nat
ip_conntrack           49088  3 xt_state,iptable_nat,ip_nat
nfnetlink               6680  2 ip_nat,ip_conntrack
iptable_mangle          2880  0
ip_tables              13028  3 iptable_filter,iptable_nat,iptable_mangle
x_tables               13316  5 ipt_LOG,xt_tcpudp,xt_state,iptable_nat,ip_tables
ppdev                   8676  0
lp                     11012  0
button                  6672  0
ac                      5188  0
battery                 9636  0
dm_snapshot            15552  0
dm_mirror              19152  0
dm_mod                 50232  2 dm_snapshot,dm_mirror
loop                   15048  0
sd_mod                 19040  0
tsdev                   7520  0
parport_pc             32132  1
parport                33256  3 ppdev,lp,parport_pc
floppy                 53156  0
intel_rng               5088  0
serio_raw               6660  0
i2c_i801                7468  0
intel_agp              21148  1
agpgart                29896  1 intel_agp
i2c_core               19680  1 i2c_i801
pcspkr                  3072  0
psmouse                35016  0
shpchp                 33024  0
pci_hotplug            28704  1 shpchp
evdev                   9088  1
ext3                  119240  15
jbd                    52456  1 ext3
mbcache                 8356  1 ext3
usb_storage            71840  0
scsi_mod              124168  2 sd_mod,usb_storage
ide_cd                 36064  0
cdrom                  32544  1 ide_cd
ide_disk               14848  17
uhci_hcd               21164  0
3c59x                  40360  0
mii                     5344  1 3c59x
usbcore               112644  3 usb_storage,uhci_hcd
piix                    9444  0 [permanent]
generic                 5476  0 [permanent]
ide_core              110504  5 usb_storage,ide_cd,ide_disk,piix,generic
thermal                13608  0
processor              28840  1 thermal
fan                     4804  0
~# ps alx | grep art
0     0 11137  3845  18   0   2848   712 pipe_w S+   pts/2      0:00 grep art
~# ps alx | grep esd
0     0 11143  3845  18   0   2848   708 -      R+   pts/2      0:00 grep esd
~# ps alx | grep alsa
0     0 11147  3845  18   0   2852   716 pipe_w S+   pts/2      0:00 grep alsa
~# uname -a
Linux baron 2.6.18-4-686 #1 SMP Wed May 9 23:03:12 UTC 2007 i686 GNU/Linux
~#



Reply to: