LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-04-2006, 09:00 PM   #1
soccja
LQ Newbie
 
Registered: Mar 2006
Location: Melbourne
Distribution: arch
Posts: 3

Rep: Reputation: 0
arecord: recording in left-channel only


The problem:

I cannot enable recording in the right-channel using arecord.

I recorded using arecord -f dat -d 20 -D hw:0,0 test.wav.
Output in Left channel is fine. Output from right channel is 'Mic' (ie.
I record my typing and the playback of the recording through the speaker.
I have disabled Mic as a capture source so I do not know why this is happening.)

I initially thought there was a physical problem with the turntable.
But I get the same effect if I record from CD.

Hardware configuration:
-Turntable connected to amp (turntable plugged into 'phono' on amp)
-LineOut of computer connected to TapeIn of amp
-TapeOut of amp connected to LineIn of computer

Sound card installed on computer (cat /proc/asound/cards):
0 [nForce2 ]: NFORCE - NVidia nForce2
NVidia nForce2 with ALC650F at 0xe9080000, irq 16

Sound modules loaded (cat /proc/modules|grep snd)
snd_intel8x0 30620 3 - Live 0xf8c08000
snd_ac97_codec 95136 1 snd_intel8x0, Live 0xf9464000
snd_ac97_bus 2176 1 snd_ac97_codec, Live 0xf8bb3000
snd_pcm_oss 50848 0 - Live 0xf9493000
snd_mixer_oss 17920 2 snd_pcm_oss, Live 0xf90fc000
snd_pcm 84100 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss, Live 0xf947d000
snd_timer 22148 1 snd_pcm, Live 0xf8bf4000
snd 49124 10 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer, Live 0xf910c000
soundcore 8160 2 snd, Live 0xf8bb5000
snd_page_alloc 8840 2 snd_intel8x0,snd_pcm, Live 0xf8bf0000

amixer settings:
Simple mixer control 'Master',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 'Master Mono',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 28 [90%] [off]
Simple mixer control '3D Control - Center',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 15
Mono: 13 [87%]
Simple mixer control '3D Control - Depth',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 15
Mono: 13 [87%]
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 25 [81%] [on]
Front Right: Playback 25 [81%] [on]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 26 [84%] [off]
Front Right: Playback 26 [84%] [off]
Simple mixer control 'Surround Down Mix',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Surround Jack Mode',0
Capabilities: enum
Items: 'Shared' 'Independent'
Item0: 'Independent'
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 26 [84%] [off]
Simple mixer control 'Center/LFE Down Mix',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 26 [84%] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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 26 [84%] [on] Capture [on]
Front Right: Playback 26 [84%] [on] Capture [on]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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 26 [84%] [off] Capture [off]
Front Right: Playback 26 [84%] [off] Capture [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 26 [84%] [off]
Front Left: Capture [off]
Front Right: Capture [off]
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: 'Mic2'
Simple mixer control 'Video',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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 27 [87%] [off] Capture [off]
Front Right: Playback 27 [87%] [off] Capture [off]
Simple mixer control 'Phone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 27 [87%] [off]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined cswitch cswitch-joined
Playback channels: Mono
Capture channels: Mono
Mono: Playback [off] Capture [off]
Simple mixer control 'IEC958 Playback AC97-SPSA',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 3
Mono: 0 [0%]
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-joined 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 31 [100%] [off] Capture [off]
Front Right: Playback 31 [100%] [off] Capture [off]
Simple mixer control 'Mono Output Select',0
Capabilities: enum
Items: 'Mix' 'Mic'
Item0: 'Mix'
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 14 [93%] [on]
Front Right: Capture 14 [93%] [on]
Simple mixer control 'Mix',0
Capabilities: cswitch cswitch-joined 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-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Analog to IEC958 Output',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'
Simple mixer control 'Duplicate Front',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Exchange Center/LFE',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'External Amplifier',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Swap Surround Slot',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

Any help appreciated. I'm stumped.
--Charlie
 
Old 03-04-2006, 09:59 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
not meaning to state the obvious but make sure mic is not pluged into right line in.
 
Old 03-05-2006, 12:25 AM   #3
soccja
LQ Newbie
 
Registered: Mar 2006
Location: Melbourne
Distribution: arch
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by foo_bar_foo
not meaning to state the obvious but make sure mic is not pluged into right line in.
I don't mind the obvious. Most solutions are when you find them. I have checked that line-in cable is plugged into line-in and that microphone is plugged into Mic. So I can rule out Mic ---> LineIn (R). Thanks for your help.
Regards,
--Charlie
 
Old 03-05-2006, 01:09 AM   #4
soccja
LQ Newbie
 
Registered: Mar 2006
Location: Melbourne
Distribution: arch
Posts: 3

Original Poster
Rep: Reputation: 0
I have just found that selecting 'Mic' as the capture source produces a correct recording (ie. both left and right channels are recorded ok). So the source of the problem appears to be some difference between 'LineIn' and 'CD' as the capture source and 'Mic as the capture source.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
microphone not working with arecord/aplay shengchieh Linux - Newbie 7 06-15-2009 08:09 AM
Can't record with 'arecord' in FC4 Gregory Deal Linux - Software 0 07-29-2005 08:51 PM
Hard drive in primary channel showing in secondary channel Ale Linux - Hardware 2 02-20-2004 11:39 AM
Wavrecord and arecord not recording J_Szucs Linux - Software 5 01-13-2004 08:41 PM
Burn Audio CD - Only get Left Channel KL2001 Linux - General 2 02-11-2003 11:42 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration