volumio-plugins icon indicating copy to clipboard operation
volumio-plugins copied to clipboard

Spotify - bitrate vs samplerate

Open ashthespy opened this issue 5 years ago • 1 comments

Shouldn't this be the sample rate, and not the bitrate? https://github.com/volumio/volumio-plugins/blob/4f512d80a6dfa7ad14df8fed6f942d29bafae72a/plugins/music_service/spotify/index.js#L40-L43

PS: https://community.volumio.org/t/program-state-not-consice-between-spotify-and-flac-track/7925

ashthespy avatar May 05 '20 16:05 ashthespy

In either case the sampling rate of the reconstructed audio is 44.1. So it's IMHO more informative to show the bitrate. I also noticed that it show a bit depth of 16 bit which is a bit of a lie. Lossy audio doesn't have a bit depth. The output bit depth is decided by the decoder. In fact outputting at 24 bit actually has the advantage of allowing for "bitperfect"-ish software volume at basically no cost even if the source was a 16 bit file.

JasonLG1979 avatar Aug 14 '20 04:08 JasonLG1979