Optimizing Squeezelite’s Volume Control

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
nicosea
Posts: 10
Joined: Wed Mar 29, 2017 9:08 am

Optimizing Squeezelite’s Volume Control

Post by nicosea »

Generally, with DACs, it is recommend to directly connect the Squeezelite volume control to the hardware control of the DAC (in my case a IQaduIO DAC+). With the standard setting Squeezelite has a software volume control and a fixed hardware volume on the DAC – but this does not improve the audio quality.

It is possible to connect the volume control for Squeezelite directly to the DAC by adding the following Start Parameters:

Code: Select all

-o [Soundcard] -V Digital


“Digital” is the DAC’s mixer device.

What do I need to edit to add the above parameters?

I have installed Sqeezelite with Dietpi, but I do not know where the script is, the one which autostarts Squeezelite. I would like to edit it and change the command which starts Squeezelite, more or less like below:

Code: Select all

/usr/bin/squeezelite -o sysdefault:CARD=IQaudIODAC -V Digital -s [IP.Number.LMS]
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: Optimizing Squeezelite’s Volume Control

Post by Fourdee »

Hi,

SystemD service is located here:

Code: Select all

nano /etc/systemd/system/squeezelite.service
Once changes are made to the command line options, reload systemD and restart service with:

Code: Select all

systemctl daemon-reload
dietpi-services restart
SqueezeLite will use the default soundcard on system, if /etc/asound.conf matches the DAC (will do if sound card was set in dietpi-config), you may be able to simply use -V Digital
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
nicosea
Posts: 10
Joined: Wed Mar 29, 2017 9:08 am

Re: Optimizing Squeezelite’s Volume Control

Post by nicosea »

I added -V Digital and it works!
Many many thanks ;)

I suggest to add this advice in the description of Squeezelite here:
http://dietpi.com/phpbb/viewtopic.php?f ... 1009#p1009
So everybody can benefit.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: Optimizing Squeezelite’s Volume Control

Post by Fourdee »

nicosea wrote:I added -V Digital and it works!
Many many thanks ;)

I suggest to add this advice in the description of Squeezelite here:
http://dietpi.com/phpbb/viewtopic.php?f ... 1009#p1009
So everybody can benefit.
Excellent, great to hear.

I've updated the doc with info for service/command line options. Thanks :)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply