-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Squeezelite: Tweak default command options #4428
Comments
@MichaIng |
Perfect timing, just finished Amiberry an Shairport Sync, Squeezelite was the next I wanted to look at 👍. |
@scan80269 |
All packages have been updated:
Please give it a try. |
Thanks for the SqueezeLite update to 1.9.9-1386! The (-a 4096 1024 16 0) parameters didn't work for 352.8K/384K FLAC & WAV and 768K WAV playback which were all badly distorted with constant buzzing & wrong tempo. Replacing this with -W restores the playback of these formats to normal: /usr/bin/squeezelite -C 5 -W -n DietPi-SqueezeLite. Tested with Allo Sparky (USBridge) driving Oppo Sonica DAC over USB. |
Thanks for testing. For now I'll leave it as it is, but probably we can collect some more opinions about the best/most compatible defaults, also whether we remove the What we could definitely do is provide some common options required for this or that types or audio sources in our docs: https://dietpi.com/docs/software/media/#squeezelite |
Just tested -a 4096 1024 and it didn't work either, same problem as with -a 4096 1024 16 0. Playback was normal up to 192K but not higher. Going back to -W works. So it looks like -a is not an effective substitute for -W for the setups I tested. 352.8K/384K FLAC & WAV and 768K WAV may be pushing the envelope, as little to no content is available in such formats. These sample rates are related to external upsampling experiments my friends & I are conducting, so consider them as corner cases if you like. Also, there were very few DACs capable of playing at 768K until recently, so probably very little test history at such high sample rates in the past. I also tested SqueezeLite 1.9.9-1386 running in Arch Linux, and also with different SBCs (Raspberry Pi 4, Tinker Board S & Cubox i4x4) with virtually identical results: the -W is required for sample rates above 192K to play properly. I'll be sticking with -W and leaving out -a for my setups. |
Just to be sure, you added the Does the |
Yes, tried both -a 4096:1024:16:0 and -a 4096:1024 in /lib/systemd/system/squeezelite.service. Only -W (without -a) yields correct playback above 192K. With -W running, nothing is seen in output of journalctl -u squeezelite, other than "DietPi systemd[1]: Started Squeezelite (DietPi)." |
- Squeezelite | Updated to latest version 1.9.9-1403, fixed install on Debian Bookworm and added support for the Opus audio codec format. Also the default command-line arguments have been enhanced to not enforce the audio format anymore, and they can now be easily adjusted via /etc/default/squeezelite. Many thanks to @scan80269 and @aposcic for doing this suggestions: #4428, #5791
- Squeezelite | Updated to latest version 1.9.9-1403, fixed install on Debian Bookworm and added support for the Opus audio codec format. Also the default command-line arguments have been enhanced to not enforce the audio format anymore, and they can now be easily adjusted via /etc/default/squeezelite. Many thanks to @scan80269 and @aposcic for doing this suggestions: #4428, #5791
- Squeezelite | Updated to latest version 1.9.9-1403, fixed install on Debian Bookworm and added support for the Opus audio codec format. Also the default command-line arguments have been enhanced to not enforce the audio format anymore, and they can now be easily adjusted via /etc/default/squeezelite. Many thanks to @scan80269 and @aposcic for doing this suggestions: #4428, #5791
- Squeezelite | Updated to latest version 1.9.9-1403, fixed install on Debian Bookworm and added support for the Opus audio codec format. Also the default command-line arguments have been enhanced to not enforce the audio format anymore, and they can now be easily adjusted via /etc/default/squeezelite. Many thanks to @scan80269 and @aposcic for doing this suggestions: #4428, #5791
- Squeezelite | Updated to latest version 1.9.9-1403, fixed install on Debian Bookworm and added support for the Opus audio codec format. Also the default command-line arguments have been enhanced to not enforce the audio format anymore, and they can now be easily adjusted via /etc/default/squeezelite. Many thanks to @scan80269 and @aposcic for doing this suggestions: #4428, #5791
- Squeezelite | Updated to latest version 1.9.9-1403, fixed install on Debian Bookworm and added support for the Opus audio codec format. Also the default command-line arguments have been enhanced to not enforce the audio format anymore, and they can now be easily adjusted via /etc/default/squeezelite. Many thanks to @scan80269 and @aposcic for doing this suggestions: #4428, #5791
Finally, new packages up with suggested argument changes applied. Also the arguments can now be easier adjusted via cd /tmp
curl -sSfLO "https://dietpi.com/downloads/binaries/$G_DISTRO_NAME/testing/squeezelite_$G_HW_ARCH_NAME.deb"
apt install "./squeezelite_$G_HW_ARCH_NAME.deb"
rm "squeezelite_$G_HW_ARCH_NAME.deb" |
- Squeezelite | Updated to latest version 1.9.9-1403, fixed install on Debian Bookworm and added support for the Opus audio codec format. Also the default command-line arguments have been enhanced to not enforce the audio format anymore, and they can now be easily adjusted via /etc/default/squeezelite. Many thanks to @scan80269 and @aposcic for doing this suggestions: #4428, #5791
- Squeezelite | Updated to latest version 1.9.9-1403, fixed install on Debian Bookworm and added support for the Opus audio codec format. Also the default command-line arguments have been enhanced to not enforce the audio format anymore, and they can now be easily adjusted via /etc/default/squeezelite. Many thanks to @scan80269 and @aposcic for doing this suggestions: #4428, #5791
- Squeezelite | Updated to latest version 1.9.9-1403, fixed install on Debian Bookworm and added support for the Opus audio codec format. Also the default command-line arguments have been enhanced to not enforce the audio format anymore, and they can now be easily adjusted via /etc/default/squeezelite. Many thanks to @scan80269 and @aposcic for doing this suggestions: #4428, #5791
- Squeezelite | Updated to latest version 1.9.9-1403, fixed install on Debian Bookworm and added support for the Opus audio codec format. Also the default command-line arguments have been enhanced to not enforce the audio format anymore, and they can now be easily adjusted via /etc/default/squeezelite. Many thanks to @scan80269 and @aposcic for doing this suggestions: MichaIng#4428, MichaIng#5791
Creating a feature request
Is your feature request related to a problem? Please describe:
SqueezeLite has a confirmed issue with 24/384K & 24/352.8K FLAC file playback to USB/I2S DACs (no sound) that was recently resolved. 1.9.9-1386 is the first SqueezeLite version with the proper fix. Also, the -W option is needed to support 24/768K & 24/705.6K WAV file playback.
Describe the solution you'd like:
Update SqueezeLite version to 1.9.9-1386 or later for DietPi. Add -W as user-configurable option for SqueezeLite settings.
Describe alternatives you've considered:
Alternative is to avoid playing 24/384K & 24/352.8K FLAC files and 24/768K & 24/705.6K WAV files with SqueezeLite.
Additional context
Vote for this feature on FeatHub: https://feathub.com/MichaIng/DietPi/
The text was updated successfully, but these errors were encountered: