you can set-up a simple routing plugin in your .asoundrc like: pcm.plug_convert2 { type plug slave.pcm your_soundcard ttable.0.0 1 }
this will route your 1 channel from your mono-file to the probably left channel of your soundcard. you have to set up the rest as the hw-type and ctl too. ____ joy On Sat, 6 Apr 2002, Jimen Ching wrote: > Hi all, > > I am working on a problem where I want to extract the left and right > channels from a sound file. I am running into a problem where I can not > tell if the samples are from the left only, or the right only channels. > I have a sound file that is mono, when I play this file through ALSA, the > samples come out on both left and right speakers. It seems either ALSA is > sending the mono samples to both channels, or my soundcard is doing it. > I am wondering if there is a way to control whether a mono sound file can > be played to only one speaker using ALSA. > > Also, does anyone have a sound file that has one song on the left channel > and another song on the right channel? Does anyone know how to generate > such a file from two mono files? > > Any help is greatly appreciated. > > --jc > > P.S. I might be confusing the terms 'channels' and 'voices'. I know some > people and tools use them differently. Basically, I am using the term > 'channels' to mean the left and right parts of a file with stereo samples. > > -- > Jimen Ching (WH6BRR) [EMAIL PROTECTED] [EMAIL PROTECTED] > > > _______________________________________________ > Alsa-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/alsa-devel > _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel