I need mono sound from ALSA (not stereo)
  • Hi,

    Is there an easy way to change to sound output from Airtime via ALSA from stereo to mono?

    I am setting Airtime up for a community radio station, their stereo encoder for FM is not currently working so I want to be able to plug the Left (or Right) XLR output from my audio interface directly into the transmitter as a temporary solution while the stereo encoder is sorted out. Of course I can do this now but I'll only be transmitting the left or right channel.

    I've tried doing this by changing "asound.conf" but when I change this Airtime will not use ALSA.

    Has anybody done this?

    Thanks

    Marcus
  • 3 Comments sorted by
  • Try buy a XLR to RCA  or XLR to 1/4

    Hope that work

    Good Luck
    VOISSES
    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.
  • Have you tried setting up something similar to the virtual multi channel devices example from the alsa docs using only one soundcard and replacing pcm.multi with pcm.!default.
    You should be able to configure the downmix to mono like in this 5.1 to stereo example by tweaking pcm.ttable.

    AFAIK airtime-liquidsoap honors redefining the default alsa device in such a fashion.

    Lucas
    Post edited by Lucas Bickel at 2014-04-29 18:43:36
  • I tried pcm.ttable etc but in the airtime liquidsoap log it just said 'ALSA:Invalid arguments'.

    My solution for now is to set up another stream, MP3, mono with max bit rate pointing at the local machine. Then use Mplayer to pick that up and send it to my USB Audio interface. I also set up a script that runs every minute to checks Mplayer is running and restart if necessary.

    Works for now...

    Thanks for your help.

    Marcus