Logilink 7.1 configuration on latest (234) jessie image

Max2Play Home Forums Max2Play on Raspberry PI Logilink 7.1 configuration on latest (234) jessie image

Viewing 5 posts - 1 through 5 (of 5 total)
  • 9. September 2016 at 17:51 #22957

    Hi ,
    is there anyone that has tips for configuring “ the stuff“ to make the logilink 7.1 usb soundcard work as separate output chanels to use in a multisquize situation? everything that should be modified dous not seem to be in the same place as before.

    14. September 2016 at 0:53 #23003

    Hi,
    after search and search , try and error for a few days
    i have worked out a super easy way to use all 4 outputs of the logilink 7.1 usb soundcard.
    how to:
    *install the multisqueeze plugin.
    set in mediaplayer squeezelite any soundcard exept something from the logilink usb card
    i used „equal – equal“ (save)
    * desactivate autostart squeezelite (save)
    *now use a terminal program like „putty“ to get acces to your raspberry pi.
    *login as pi with password raspberry
    type the command cd ..
    type the command cd ..
    type the command cd etc
    type the command sudo nano asound.config (this opens the file in an editor)

    *just paste the next few lines under the existing text

    pcm.dshare {
    type dmix
    ipc_key 2048
    slave {
    pcm „hw:1“
    rate 44100
    period_time 0
    period_size 1024
    buffer_size 8192
    channels 8
    }
    bindings {
    0 0
    1 1
    2 2
    3 3
    4 4
    5 5
    6 6
    7 7
    }
    }
    pcm.frontx {
    type plug
    slave {
    pcm „dshare“
    channels 8
    }
    ttable.0.0 1
    ttable.1.1 1
    }
    pcm.centerx {
    type plug
    slave {
    pcm „dshare“
    channels 8
    }
    ttable.0.2 1
    ttable.1.3 1
    }
    pcm.backx {
    type plug
    slave {
    pcm „dshare“
    channels 8
    }
    ttable.0.4 1
    ttable.1.5 1
    }
    pcm.surroundx {
    type plug
    slave {
    pcm „dshare“
    channels 8
    }
    ttable.0.6 1
    ttable.1.7 1
    }

    if you want you can change the names frontx centerx backx and surroundx to whatever you want (exept to back because this is seen as a command, just ad an x to be sure)

    *save the asound.conf file
    reboot
    and magicaly the 4 names of the outputs are selectable in your multisqueeze player options.

    * et voila you have a multiroom system for 4 rooms with 1 pi and a 25$ usb soundcard.
    isn’t that great.

    i would say well done for a noob who didn’t know wat alsa was a few days ago.

    23. September 2016 at 10:56 #23169

    Great job and thanks for sharing!!!

    Anyone who likes to add this functionality to a Max2Play Addon? Using the Pluginbuilder this might be not to difficult to achieve.

    Cheers,
    Stefan

    23. September 2016 at 19:03 #23175

    Hi,

    Thanks for noticing.

    I just recieved more logilink 7.1 usb soundcards 🙂 Lets test how many card can function together.

    🙂
    Kris.

    3. Dezember 2016 at 14:17 #24525

    HI,
    did anyone notice that if you use more than 3 multisqueeze instances that instance 0 and instance 3 seem to be the same player but on a difirent output device.
    if you change music or volume on instance 0 instance 3 folows the changes also.
    i have tryed to change the 4 th instance to the default bcm soundcard and add a 5th instance with the same soundcard options that i wanted for the 4th instance and then again instance 0 and instance 3 seem to be the same player and instance 4 dous what it needs to do correctly.

    even after updating all to Version 2.38 for Raspberry PI 3 the same strange link between instance 0 and 3 exists.
    also after a few hours of continuos playing a network stream the sound plays double with a minor time delay on instance 0 and 3
    no problems on instance 1 , 2 and 4 .

    all tips are welcome.

    P.S. in prevous post a little type error:
    „type the command sudo nano asound.config (this opens the file in an editor)“
    correct =
    *install the multisqueeze plugin.
    set in mediaplayer squeezelite any soundcard exept something from the logilink usb card
    i used “equal – equal” (save)
    * desactivate autostart squeezelite (save)
    *now use a terminal program like “putty” to get acces to your raspberry pi.
    *login as pi with password raspberry
    type the command cd ..
    type the command cd ..
    type the command cd etc
    type the command sudo nano asound.conf (this opens the file in an editor)

    *just paste the next few lines under the existing text

    pcm.dshare {
    type dmix
    ipc_key 2048
    slave {
    pcm “hw:1”
    rate 44100
    period_time 0
    period_size 1024
    buffer_size 8192
    channels 8
    }
    bindings {
    0 0
    1 1
    2 2
    3 3
    4 4
    5 5
    6 6
    7 7
    }
    }
    pcm.frontx {
    type plug
    slave {
    pcm “dshare”
    channels 8
    }
    ttable.0.0 1
    ttable.1.1 1
    }
    pcm.centerx {
    type plug
    slave {
    pcm “dshare”
    channels 8
    }
    ttable.0.2 1
    ttable.1.3 1
    }
    pcm.backx {
    type plug
    slave {
    pcm “dshare”
    channels 8
    }
    ttable.0.4 1
    ttable.1.5 1
    }
    pcm.surroundx {
    type plug
    slave {
    pcm “dshare”
    channels 8
    }
    ttable.0.6 1
    ttable.1.7 1
    }

    if you want you can change the names frontx centerx backx and surroundx to whatever you want (exept to back because this is seen as a command, just ad an x to be sure)

    *save the asound.conf file
    reboot
    and magicaly the 4 names of the outputs are selectable in your multisqueeze player options.

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

You must be logged in to reply to this topic.

Register here