10-07-2022, 09:16 AM (This post was last modified: 10-07-2022, 09:19 AM by Falco.)
Hi all,
I'm always looking to improve sound quality and trying to do that for the Spotify renderer as well. But I struggle a bit with how to select best settings for my hardware.
I have two RPi's, both connected to an USB DAC (a Peachtree audio decco65 dac/amplifier and a Highres microstreamer).
Not sure if you can see the attached picture, but in Spotify Config I set bitrate to 320 and the audio format to S24 as the DAC is 24bit. However I'm doubting a bit if the latter setting is correct. How to I find out the max output format my DAC supports?
I've tried suggestions like aplay -L and librespot --device ? commands in terminal but they do not give me a supported format.
Any suggestions how to proceed on this one, many thanks for your support in advance!
I'm always looking to improve sound quality and trying to do that for the Spotify renderer as well. But I struggle a bit with how to select best settings for my hardware.
I have two RPi's, both connected to an USB DAC (a Peachtree audio decco65 dac/amplifier and a Highres microstreamer).
Not sure if you can see the attached picture, but in Spotify Config I set bitrate to 320 and the audio format to S24 as the DAC is 24bit. However I'm doubting a bit if the latter setting is correct. How to I find out the max output format my DAC supports?
I've tried suggestions like aplay -L and librespot --device ? commands in terminal but they do not give me a supported format.
Any suggestions how to proceed on this one, many thanks for your support in advance!
I believe that if the supported format of your dac is S24 you might want to use S32
-a Print features availability
-A [add|rm N] Update features availability
-d Dump session file (requires sudo)
-D [var name] Delete session variable (requires sudo)
-e [filename] Export settings to [filename] or ./moodecfg-<timestamp>.ini
-i Import settings (/boot/moodecfg.ini)
-f Print supported audio formats
-F Print full alsacap info
-l Print moode log
-m Run system monitor
-s Print system info
-c Detect CIFS (SMB) hosts
-C Detect CIFS (SMB) shares [host or ip address]
-N Detect NFS hosts
-M Detect MPD hosts
-o List audio overlays
-p Import playlists
-q Query sql database
-r Restart servers
-R Restart renderer [--bluetooth | --airplay | --spotify | --squeezelite | --roonbridge]
-t Print last 10 lines of moode log and wait
-u Check radio station urls for playability
-U Check station urls, list only unplayable
--btreset Reset Bluetooth to off
--mpdlog Print MPD log
--updlog Print in-place update log
--mooderel Print moOde release
--revision Print hardware revision
--version Print program version
--help Print this help text
Example:
Code:
# Just the bit depths
pi@moode:~ $ moodeutl -f
S16_LE, S24_LE, S32_LE
# Bit depths and sample rates
pi@moode:~ $ moodeutl -F
*** Scanning for playback devices ***
Card 0, ID `BossDAC', name `BossDAC'
Device 0, ID `Boss DAC HiFi [Master] pcm512x-hifi-0', name `Boss DAC HiFi [Master] pcm512x-hifi-0', 1 subdevices (1 available)
2 channels, sampling rate 8000..384000 Hz
Sample formats: S16_LE, S24_LE, S32_LE
Buffer size range from 64 to 131072
Period size range from 32 to 65536
Subdevice 0, name `subdevice #0'
# Supported formats are also printed in the moOde startup log
-a Print features availability
-A [add|rm N] Update features availability
-d Dump session file (requires sudo)
-D [var name] Delete session variable (requires sudo)
-e [filename] Export settings to [filename] or ./moodecfg-<timestamp>.ini
-i Import settings (/boot/moodecfg.ini)
-f Print supported audio formats
-F Print full alsacap info
-l Print moode log
-m Run system monitor
-s Print system info
-c Detect CIFS (SMB) hosts
-C Detect CIFS (SMB) shares [host or ip address]
-N Detect NFS hosts
-M Detect MPD hosts
-o List audio overlays
-p Import playlists
-q Query sql database
-r Restart servers
-R Restart renderer [--bluetooth | --airplay | --spotify | --squeezelite | --roonbridge]
-t Print last 10 lines of moode log and wait
-u Check radio station urls for playability
-U Check station urls, list only unplayable
--btreset Reset Bluetooth to off
--mpdlog Print MPD log
--updlog Print in-place update log
--mooderel Print moOde release
--revision Print hardware revision
--version Print program version
--help Print this help text
Example:
Code:
# Just the bit depths
pi@moode:~ $ moodeutl -f
S16_LE, S24_LE, S32_LE
# Bit depths and sample rates
pi@moode:~ $ moodeutl -F
*** Scanning for playback devices ***
Card 0, ID `BossDAC', name `BossDAC'
Device 0, ID `Boss DAC HiFi [Master] pcm512x-hifi-0', name `Boss DAC HiFi [Master] pcm512x-hifi-0', 1 subdevices (1 available)
2 channels, sampling rate 8000..384000 Hz
Sample formats: S16_LE, S24_LE, S32_LE
Buffer size range from 64 to 131072
Period size range from 32 to 65536
Subdevice 0, name `subdevice #0'
# Supported formats are also printed in the moOde startup log
The programs included with moOde are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright or
in the moOde source files. moOde comes with absolutely
no warranties either expressed or implied, or any other
such guarantees.
To set a new password for the user 'pi' type 'passwd'.
pi@moode-woonkamer:~ $ moodeutl -f
S32_LE
pi@moode-woonkamer:~ $ moodeutl -F
*** Scanning for playback devices ***
Card 0, ID `b1', name `bcm2835 HDMI 1'
Device 0, ID `bcm2835 HDMI 1', name `bcm2835 HDMI 1', 4 su
bdevices (4 available)
1..8 channels, sampling rate 8000..192000 Hz
Sample formats: U8, S16_LE
Buffer size range from 80 to 131072
Period size range from 80 to 131072
Subdevice 0, name `subdevice #0'
Subdevice 1, name `subdevice #1'
Subdevice 2, name `subdevice #2'
Subdevice 3, name `subdevice #3'
Card 1, ID `Headphones', name `bcm2835 Headphones'
Device 0, ID `bcm2835 Headphones', name `bcm2835 Headphone
s', 4 subdevices (4 available)
1..8 channels, sampling rate 8000..192000 Hz
Sample formats: U8, S16_LE
Buffer size range from 80 to 131072
Period size range from 80 to 131072
Subdevice 0, name `subdevice #0'
Subdevice 1, name `subdevice #1'
Subdevice 2, name `subdevice #2'
Subdevice 3, name `subdevice #3'
Card 2, ID `X', name `Peachtree 24/192 USB X'
Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (
1 available)
2 channels, sampling rate 44100..192000 Hz
Sample formats: S32_LE
Buffer size range from 16 to 131072
Period size range from 8 to 65536