LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Microphone records, but records nothing (http://www.linuxquestions.org/questions/linux-newbie-8/microphone-records-but-records-nothing-4175450022/)

alarazr 02-13-2013 01:46 PM

Microphone records, but records nothing
 
Evening gents.

I'm running Debian x86 with no GUI on my netbook acting as a server.

Sound works fine, MPD will play through the speakers. arecord also seems to work, but the recorded clip is silent

The command
Code:

arecord -d 10 /srv/samba/share/1TB/test2.wav
will appear to record without error, and creates the clip in the specified location.

The clip has no sound. Wat do?

Cheers

jlinkels 02-13-2013 06:29 PM

Run arecord and dump the output on screen. Is it all the same character you are seeing? (Usually an inverse video "?" or "}") Maybe only those 2 characters? Then you are recording zeros and you don't have sound being recorded. Use alsamixer to find out if your inputs are capturing.

If the output appears as garbage, really randon, redirect the output into a file using >.

jlinkels

alarazr 02-13-2013 06:52 PM

I ran alsamixer, and int mic, ext mic and capture are all turned up

Here's the output

alarazr@xorbi:/home$ arecord -d 10 /srv/samba/share/1TB/test.wav -v
Recording WAVE '/srv/samba/share/1TB/test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Converter: linear-interpolation
Protocol version: 10002
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : U8
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 8
buffer_size : 1365
period_size : 170
period_time : 21333
tstamp_mode : NONE
period_step : 1
avail_min : 170
period_event : 0
start_threshold : 1
stop_threshold : 1365
silence_threshold: 0
silence_size : 0
boundary : 178913280
Slave: Route conversion PCM (sformat=S32_LE)
Transformation table:
0 <- 0
Its setup is:
stream : CAPTURE
access : MMAP_INTERLEAVED
format : U8
subformat : STD
channels : 1
rate : 48000
exact rate : 48000 (48000/1)
msbits : 8
buffer_size : 8192
period_size : 1024
period_time : 21333
tstamp_mode : NONE
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 6
stop_threshold : 8192
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Slave: Soft volume PCM
Control: Digital Capture Volume
min_dB: -30
max_dB: 30
resolution: 121
Its setup is:
stream : CAPTURE
access : MMAP_INTERLEAVED
format : S32_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 32
buffer_size : 8192
period_size : 1024
period_time : 21333
tstamp_mode : NONE
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 6
stop_threshold : 8192
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Slave: Direct Snoop PCM
Its setup is:
stream : CAPTURE
access : MMAP_INTERLEAVED
format : S32_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 32
buffer_size : 8192
period_size : 1024
period_time : 21333
tstamp_mode : NONE
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 6
stop_threshold : 8192
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Hardware PCM card 0 'HDA Intel' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : MMAP_INTERLEAVED
format : S32_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 32
buffer_size : 8192
period_size : 1024
period_time : 21333
tstamp_mode : ENABLE
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 1
stop_threshold : 1073741824
silence_threshold: 0
silence_size : 0
boundary : 1073741824
appl_ptr : 0
hw_ptr : 16385
alarazr@xorbi:/home$

jlinkels 02-14-2013 10:24 AM

That is not what I asked, I asked to do
Code:

arecord
.

Anyway.. what does
Code:

arecord -l
and
Code:

arecord -L
show?

jlinkels

alarazr 02-15-2013 12:51 PM

Sorry mate,

arecord output:
Recording WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono

arecord -l output:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

arecord -L output:
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
HDA Intel, ALC272 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC272 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC272 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC272 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC272 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC272 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC272 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

alarazr 02-20-2013 07:21 AM

Bump, someone must have an idea what might be wrong with my mic configuration


All times are GMT -5. The time now is 05:39 PM.