dtcooper / raspotify

A Spotify Connect client that mostly Just Works™

Home Page:https://dtcooper.github.io/raspotify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi Channels

EG-Julien opened this issue · comments

Due Diligence

  • I have done my due diligence

What can we help you with?

Hi,
I'm wondering if it's possible to have play the sound on more than two channels ? Is it related to Raspotify or sound configuration ?

No. It's related to your sound system configuration, ALSA or Pulseaudio. Librespot (the binary that the Raspotify service runs) output's stereo audio. Whatever you're outputting that to does whatever it does.

Thanks for the quick reply, I tried something found on ALSA / Jack documentation but It makes raspotify crash when I'm trying to connect to it.

Tried to add this in asound.conf

pcm.!jack {
    type jack
    # If "mpv --ao:alsa ..." gives you this error:
    # [ao/alsa] Unable to set buffer time near: Invalid argument
    # uncomment the following to allow non-jack-aligned period size:
    #align_psize = 0
    playback_ports {
        0 system:playback_2
        1 system:playback_3
    }
}

pcm.!default {
    type plug
    slave.pcm "jack"
    hint.description "Jack Audio"
}

Well if you don't have jack installed that'll happen? I know nothing about jack. You don't need jack to mirror channels. Here are the docs for configuring ALSA. It's a trial and error process, nothing I can really help you with unless I have the hardware in hand.

I know, I wanted to use Jack since our previous system was using it. But I'll start over, RTFM and make it work.

I was just wondering if there was any specials config for default multi-channels outputs.