09-25-2018, 08:39 PM
Frank Luebeck, a member of the German forum aktives-hoeren (active listening), has discovered, that the sox does not use the full capabilities of the resampling routines in libsoxr. Those are capable of handling 64 bit samples, while input in sox is limited to 32 bit samples. Hence he has written a program resample-soxr that works with 64 bit samples. In addition, he has written other very useful programs for improved audio quality, see http://137.226.152.76/frankl/stereoutils/player.html and https://bitbucket.org/frank_l/frankl_stereo/. Some people claim to have used them in combination with squeezelite and with MPD to good effect.
Especially for resampling, it would be nice to know the base frequency before determining the resampling factor; resampling 44.1 kHz material to 192 kHz may not be the best choice, 176.4 kHz would be better. Daphile has such a capability (but it is based on squeezelite). In MPD-based players this was thought to be impossible, since only the audio stream is piped, not the information about the current bit rate. While I'm not a programmer, the discussion with Dimas Sky on https://bitbucket.org/frank_l/frankl_ste...t-47497909 seems to suggest that the technique of parameter substitution could help to get around this problem.
-- Jürgen
Especially for resampling, it would be nice to know the base frequency before determining the resampling factor; resampling 44.1 kHz material to 192 kHz may not be the best choice, 176.4 kHz would be better. Daphile has such a capability (but it is based on squeezelite). In MPD-based players this was thought to be impossible, since only the audio stream is piped, not the information about the current bit rate. While I'm not a programmer, the discussion with Dimas Sky on https://bitbucket.org/frank_l/frankl_ste...t-47497909 seems to suggest that the technique of parameter substitution could help to get around this problem.
-- Jürgen