Pi Musicbox volume control (for Amp hat) not working with Spotify Connect

Sum up :

#. /opt/musicbox/setsound.sh

  • Edit etc/asound.sh to remplace by ( change X and Y by your values ) :
pcm.!default {
    type plug
    slave.pcm  "softvol"
}
ctl.!default {
    type hw
    card X

}

pcm.softvol {
    type            softvol
    slave {
        pcm         "hw: X, Y"  
    }
    control {
        name        "PCM"
        card         X
    }
}
  • Use the following command to set the global volume (xx = desired volume). You can add it to a script that run at the startup.

amixer set PCM xx%

1 Like

Yes, all works ! YOU are fantastic ! :wink:

Thanks for trying this out, I’ll see what I can do to integrate this into the release. See https://github.com/pimusicbox/pimusicbox/issues/248

1 Like

Volumio with spotify connect plugin is good too (sorry)

-------- Oprindelig besked --------

I just hope you are saying the same thing over on their user forums.

Naturally. Both apps have advantages and disadvantages.
For Spotify Connect users, I assume it comes down to which application has the latest Spotify Connect plugin version (most stable, least errors).