Bugzilla – Bug 14768
SoX does not use the best available quality to resample
Last modified: 2009-10-17 03:28:40 UTC
I would change convert.conf as follows if CPU usage allows to do so: flc flc transcode * # FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=rate -v %d} [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C0 - $RESAMPLE$ The very high quality SoX is famous for is achieved with the command "- rate -v %d" instead of "-r %d -".
I would think we would want the most cpu efficient resampling by default for most users. Perhaps an option could be added to SqueezeboxServer for speed vs accuracy settings for resampling like we do for lame transcoding. Alan, what do you think?
Yes, the current setting (the sox defaults) are chosen as a good compromise between CPU usage and quality. A knowledgeable user could modify convert.conf as suggested, or (better) create a custom-convert.conf file and entry. Perhaps someone could create a wiki entry with this information.
I can live with that. Thanks for having looked at it. I will try to put a wiki entry. [0.02$] The lines above are just needed to downsample high resolution files. A user who owns hi-res material typically cares more about quality than CPU usage. Without the proposed change SBS serves a customer who is after the best quality when it comes to files but on the other hand is willing to sacrifice quality when it comes to transcoding. IMHO such a customer doesn't exist. [/0.02$]