[SOLVED] Mono Output with Squeezelite and IQAudio Pi-DigiAMP+

Max2Play Home Forums Max2Play on Raspberry PI [SOLVED] Mono Output with Squeezelite and IQAudio Pi-DigiAMP+

Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • 11. November 2016 at 16:27 #23884

    Hy,

    I use a max2play image on a Pi3 with an IQAudio Pi-DigiAMP+ Board. I want to use each channel (left, right) for a extra room. Its not necessary, that the audiosignals on the two channel are different (as with multisqueeze), but if possible, why not. So an output in mono would be enough.

    Has anybody a detail info, how to configure this? I have basic Linux knowledge (but only for server), but no knowledge about audio systems under linux or with the pi.

    Thanks for help, Andy

    Hier die Anfrage auch in deutsch 😉

    Hallo,

    ich verwende aktuell ein max2play image auf einem Pi3 mit einer IQAudio Pi-DigiAMP+ Zusatzkarte. Ich würde gerne jeweils den linken und rechten Kanal für einen eigenen Raum verwenden, es ist aber nicht unbedingt nötig, jeden Kanal eigens anzusteuern, es reicht wenn beide das selbe abspielen. Mono würde daher reichen, wenn es aber auch eine einfache Lösung über Multisqueeze gibt, bin ich auch nicht abgeneigt.

    Ich hoffe, jemand hat eine detaillierte Anleitung für die Konfiguration. Ich habe zwar Grundlegende Linuxkenntnisse, aber nur im Serverbereich, aber leider absolut keine über die Verwendung/Konfiguration von Soundkarten.

    Danke für die Hilfe, Andy

    12. November 2016 at 19:36 #23894

    Just a bump, I’m also interested in this

    17. November 2016 at 16:06 #23946

    I am also interested in mono output from Squeezebox Server, although I use the Wolfson / Cirrus card on RPi3.

    There is a setting for ‚Output Channel Mode‘ in LMS under Player/Basic Settings/Audio that allows you to choose Stereo, Left. or Right Channels for output in LMS, but unlike other settings in LMS this one doesn’t work for me. Does this setting work for anyone else?

    Thanks,
    Simon

    24. November 2016 at 8:09 #24158

    Hallo,

    keiner eine Idee für eine Lösung?

    Danke, Andy

    PS: Ganz toll wäre ja eine Auswahlfeld im IQ Plugin 😉

    29. November 2016 at 12:44 #24302

    Hi guys,
    You might want to check out kris.maddens‘ solution to use all channels of the Logilink 7.1 card. This should be applicable similarly to the IQaudIO card except with just two channels. Here is the link: https://www.max2play.com/forums/topic/logilink-7-1-configuration-on-latest-234-jessie-image/

    The card’s slot can be set to hw:0 by deactivating the built-in audio in the Raspberry Settings. Then, you can use the parameter to write a solution. Maybe somebody could try to utilize the Pluginbuilder to be able to offer a solution for everybody. Flysurfer recently did a walkthrough of the Builder and how it works: https://www.youtube.com/watch?v=gWwQ0A1HoWY

    29. November 2016 at 20:34 #24360

    Hallo,

    danke für die Infos und nach einigen Stunden testen und lesen von diversen Anleitung habe ich auch eine funktionierende Konfigurationder /etc/asound.conf

    für Mono (als Soundkarte mono auswählen mit -o mono in den erweiterten Einstellungen von Squeezelite):

    #Define the soundcard to use
    pcm.snd_card {
        type hw
        card 0
        device 0
    }
    
    pcm.dshare {
     type dmix
     ipc_key 2048
     slave {
      pcm "snd_card"
      channels 2
     }
    }
    pcm.mono {
     type plug
     slave {
      pcm "dshare"
      channels 2
     }
     ttable.0.0 0.5
     ttable.1.0 0.5
     ttable.0.1 0.5
     ttable.1.1 0.5
    }
    

    für 2 Räume (für MultiSqueeze: als Soundkarte raum1 oder raum2 auswählen mit -o raum1 oder -o raum2 in den erweiterten Einstellungen von Squeezelite):

    #Define the soundcard to use
    pcm.snd_card {
        type hw
        card 0
        device 0
    }
    
    pcm.dshare {
     type dmix
     ipc_key 2048
     slave {
      pcm "snd_card"
      channels 2
     }
    }
    pcm.raum1 {
     type plug
     slave {
      pcm "dshare"
      channels 2
     }
     ttable.0.0 0.5
     ttable.1.0 0.5
    }
    pcm.raum2 {
     type plug
     slave {
      pcm "dshare"
      channels 2
     }
     ttable.0.1 0.5
     ttable.1.1 0.5
    }
    

    lg, Andy

    6. Februar 2017 at 21:12 #26702

    For me this is sadly not working


    pi@max2play:~ $ aplay -l
    **** Liste der Hardware-Geräte (PLAYBACK) ****
    Karte 0: IQaudIODAC [IQaudIODAC], Gerät 0: IQaudIO DAC HiFi pcm512x-hifi-0 []
    Sub-Geräte: 0/1
    Sub-Gerät #0: subdevice #0

    When I try to use in the options of the soundcard „dshare – dashare“ I get following error when starting the player

    [20:09:12.855776] test_open:384 playback open error: Invalid argument
    [20:09:12.855989] output_init_common:382 unable to open output device

    • This reply was modified 7 years, 2 months ago by eriche.
    7. Februar 2017 at 13:25 #26720

    Hy,

    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: IQaudIODAC [IQaudIODAC], device 0: IQaudIO DAC HiFi pcm512x-hifi-0 []
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    I get Subdevices: 1/1

    which config do you use? Mono/Multiroom?

    wbr, Andy

    3. März 2017 at 23:40 #27432

    Hi Andy,

    ich versuche das gleiche mit einem Hifiberry Amp+

    Wenn ich deine Multiroom config in asound.conf anwende ohne sie zu modifizieren bekomme ich auch
    auch Sub-Geräte: 1/1

    Leider tauchen die „pcm“-Namen nicht in der Liste auf der Devices auf.
    Ist das bei dir so? Oder muss ich den Parameter -o „xRaum“ angeben?

    Danke

    4. Dezember 2017 at 0:08 #32763

    Hi. I wonder if you could help. My apologies, but I do not speak or read German, so I have not been able to understand the answers given here. I too wish to set the two speakers attached to my pi3 and iqaudio dac+ to both output mono for all of my max2play output. How do I do that?
    Regards,
    Chris

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

Register here