I have been trying to understand MPD audio settings in an attempt to deal with some occasional skips when playing .WAV files from an external hard drive connected via USB to a SOtM SMS-200 Ultra.
The skips do not appear to depend on the resolution of the file. The settings that can be adjusted through the web based interface "Eunhasu" are:
audio_buffer_size <size in KiB> This specifies the size of the audio buffer in kilobytes. The default is 2048, large enough for nearly 12 seconds of CD-quality audio.
buffer_before_play <0-100%> This specifies how much of the audio buffer should be filled before playing a song. Try increasing this if you hear skipping when manually changing songs. The default is 10%, a little over 1 second of CD-quality audio with the default buffer size.
buffer_time <time in microseconds> This sets the length of the hardware sample buffer in microseconds. Increasing it may help to reduce or eliminate skipping on certain setups. Most users do not need to change this. The default is 500000 microseconds (0.5 seconds).
period_time <time in microseconds> This sets the time between hardware sample transfers in microseconds. Increasing this can reduce CPU usage while lowering it can reduce underrun errors on bandwidth-limited devices. Some users have reported good results with this set to 50000, but not all devices support values this high. Most users do not need to change this. The default is 256000000 / sample_rate(kHz), or 5804 microseconds for CD-quality audio.
The default values in Eunhasu are:
audio_buffer_size: 4Mb (4,000 KiB)
buffer_before_play: 0%
buffer_time: 0.2sec (200,000 microseconds)
period_time: 5msec (5,000 microseconds)
To deal with 24bit/192KHz files what should be the preferred settings? Should I just quadruple the values to accommodate Hi Rez files?
Any assistance in understanding these variables (particularly the last two) and how they interact when dealing with Hi Rez files would be appreciated.
Question
ClothEars
I have been trying to understand MPD audio settings in an attempt to deal with some occasional skips when playing .WAV files from an external hard drive connected via USB to a SOtM SMS-200 Ultra.
The skips do not appear to depend on the resolution of the file. The settings that can be adjusted through the web based interface "Eunhasu" are:
audio_buffer_size <size in KiB> This specifies the size of the audio buffer in kilobytes. The default is 2048, large enough for nearly 12 seconds of CD-quality audio.
buffer_before_play <0-100%> This specifies how much of the audio buffer should be filled before playing a song. Try increasing this if you hear skipping when manually changing songs. The default is 10%, a little over 1 second of CD-quality audio with the default buffer size.
buffer_time <time in microseconds> This sets the length of the hardware sample buffer in microseconds. Increasing it may help to reduce or eliminate skipping on certain setups. Most users do not need to change this. The default is 500000 microseconds (0.5 seconds).
period_time <time in microseconds> This sets the time between hardware sample transfers in microseconds. Increasing this can reduce CPU usage while lowering it can reduce underrun errors on bandwidth-limited devices. Some users have reported good results with this set to 50000, but not all devices support values this high. Most users do not need to change this. The default is 256000000 / sample_rate(kHz), or 5804 microseconds for CD-quality audio.
The default values in Eunhasu are:
audio_buffer_size: 4Mb (4,000 KiB)
buffer_before_play: 0%
buffer_time: 0.2sec (200,000 microseconds)
period_time: 5msec (5,000 microseconds)
To deal with 24bit/192KHz files what should be the preferred settings? Should I just quadruple the values to accommodate Hi Rez files?
Any assistance in understanding these variables (particularly the last two) and how they interact when dealing with Hi Rez files would be appreciated.
Link to comment
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now