>I am working on a problem where I want to extract the left and right >channels from a sound file.
sox can do this from the command line. 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. alsa-lib does this when you use a "plug" PCM device (which is the default when you install ALSA). if you open a N channel device as an (N-M) channel device, it duplicates the signal across the the missing channels. this can be controlled from your ~/.asoundrc but nobody has written a decent document to explain how to change this. a search of the archives for "ttable" may reveal some ideas, but ... --p _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel