Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

For personal reasons (I'm hearing impaired) I need my linux machine to produce mono downmixed sound. Downmixed, not just single channel.

Is there any possibility to force such behavior in ALSA / PulseAudio server? Hardware mixing (short-circuiting L and R channels with some resistors) is not possible at the moment. I'm looking for a software solution to mix two channels into one.

I know that some media players have this functionality, but I'd like the whole system (ie games, flash applications, etc) to produce downmixed audio.

share|improve this question
add comment

2 Answers

PulseAudio's module-remap-sink should let you do this, but I don't know all the details.

share|improve this answer
    
your link doesn't work anymore :c –  Sosi Aug 6 '13 at 16:43
    
@Sosi: Problem with the server; nothing I can solve, but it should pass. –  Ignacio Vazquez-Abrams Aug 6 '13 at 18:43
add comment

I haven't done any extensive testing, but this ~/.asoundrc file (or /etc/asound.conf) should work for anything that uses ALSA. Assumes that you only want to deal with two in-channels (left and right), and that your soundcard is at hw:0.

pcm.!default makemono

pcm.makemono {
    type route
    slave.pcm "hw:0"
    ttable {
        0.0 1    # in-channel 0, out-channel 0, 100% volume
        1.0 1    # in-channel 1, out-channel 0, 100% volume
    }
}

Check out http://alsa.opensrc.org/.asoundrc for details on how to fine-tune/complicate things further.

share|improve this answer
    
the link doesn't work anymore :\ –  Sosi Aug 6 '13 at 16:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.