Hi
I was trying to record Audio by using the Headphone . It was not able to record Audio . Command which I used
for recording :
arecord -Ddefault:apalist30sgtl50 -V mono -c 2 -f S16_LE -r 48000 -t wav mic.wav
Recording WAVE ‘mic.wav’ : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
#+ | 00%
Always it is 00%
Please suggest any way to record Audio using Headphone
Hope you have configured the mic controls using the amixer before recording the audio. if not, please configure the mic controls and then record the audio. For more information please refer to our audio(Linux)article.
Hi
I ready done the setting using amixer before recording the audio. I using Earphone to capture the Audio, for confirmation, Can we use Earphone which have mic also for capturing audio??
Following is the console output :
*root@apalis-t30*:~# amixer set 'Mic' 1
Simple mixer control 'Mic',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 3
Mono: 1 [33%] [20.00dB]
**root@apalis-t30:~#** amixer set 'Capture' 12
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 12 [80%] [on]
Front Right: Capture 12 [80%] [on]
**root@apalis-t30:~#** amixer set 'Capture Mux' 'MIC_IN'
Simple mixer control 'Capture Mux',0
Capabilities: enum
Items: 'MIC_IN' 'LINE_IN'
Item0: 'MIC_IN'
**root@apalis-t30**:~# arecord -D hw:0,0 -V mono -c 2 -f S16_LE -r 48000 -t wav mic.wav
**Recording WAVE 'mic.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
#+ | 00%^CAborted by signal Interrupt...
#+ | 00%^C**
**root@apalis-t30**:~# amixer set 'Headphone' 113
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 113 [89%] [5.00dB] [on]
Front Right: Playback 113 [89%] [5.00dB] [on]
**root@apalis-t30**:~# amixer set 'Headphone' 113
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 113 [89%] [5.00dB] [on]
Front Right: Playback 113 [89%] [5.00dB] [on]
**root@apalis-t30**:~# amixer set 'PCM' 144
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 192
Mono:
Front Left: Playback 144 [75%]
Front Right: Playback 144 [75%]
**root@apalis-t30**:~# aplay -D hw:0,0
.Xauthority .cache/ .dbus/ .local/ Desktop/ linein.wav p1.c transmiter_t30.o
.bash_history .config/ .gstreamer-0.10/ .xsession-errors line.wav mic.wav receiver_t30.o
**root@apalis-t30:**~# aplay -D hw:0,0 mic.wav
Playing WAVE 'mic.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
^CAborted by signal Interrupt...
Please help me to debug this problem.
May be I recording from Earphone will be a problem .
Hi
It is recording for very less time and Noise level is very High ,
When I am speaking loud it is able to capture it but as Noise level is too high that we can’t able to listen
I followed your article which you mentioned above .
Can tell me How we can reduce Noise level and get clarity in voice recording .
So I had this problem with a customer before. And at the end it was the wrong 3.5 mm plug pinout.
My assumption is that there is something wrong with your Audio plug or you are not using the right OMTP compatible Headset.
The Audio jack on the IXORA board X12 is using the TRRS (Tip/Ring/Ring/Sleeve) Plug following the Open Mobile Terminal Platform configuration short OMTP.
OMTP configuration:
1 sleeve= AGND
4 ring2 = Microphone (Ring 2 is the ring closest to the sleeve)
3 ring1 = Right Headphone Channel
2 Tip = Left Headphone Channel
Please see the illustration in the picture last one in the list SJ-43516-SMT.