• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Spotify to launch 'Hi-Fi' CD Quality Tier.

antcollinet

Master Contributor
Forum Donor
Joined
Sep 4, 2021
Messages
7,821
Likes
13,229
Location
UK/Cheshire
I think it's here in optimum_bandwidth() in lame.c:
Code:
    const band_pass_t freq_map[] = {
        {8, 2000},
        {16, 3700},
        {24, 3900},
        {32, 5500},
        {40, 7000},
        {48, 7500},
        {56, 10000},
        {64, 11000},
        {80, 13500},
        {96, 15100},
        {112, 15600},
        {128, 17000},
        {160, 17500},
        {192, 18600},
        {224, 19400},
        {256, 19700},
        {320, 20500}
    };
This defines the start of the stop-band. Later it is rounded up to one of the 32 band-buckets that lame is using. For example for 17000:
Code:
17000 * 2 / 44100 = 0.771
23 / 31 = 0.742
24 / 31 = 0.774

therefore stop-band starts at:
24 / 31 * 44100 / 2 = 17071

and transition-band starts at:
(24 - 0.75) / 31 * 44100 / 2 = 16538
To verify:
Code:
]$ lame -b 128 test.wav test.mp3
LAME 3.100 64bits (http://lame.sf.net)
Using polyphase lowpass filter, transition band: 16538 Hz - 17071 Hz
...
I love this place.

I'm not sure there are many other places than ASR, where someone will quote C source code to answer a question that is NOT about coding.

Thanks - fantastic. :D
 

pablolie

Major Contributor
Forum Donor
Joined
Jul 8, 2021
Messages
2,134
Likes
3,617
Location
bay area, ca
These discussions always go down the rabbit hole of bits per second.

Let's make it clear:

(1) Start with a GREAT, FAMILIAR recording, if you are even remotely trying to make this a successful experiment.
(2) Even better if the recording has sharp percussion, ideally something like castanets. Every time someone claims they hear "fuller bass" when listening to "uncompressed" shows they don't know what they are talking about.
(3) Realize 90% of recordings do not merit anything over 256k, because they are already compromised in some way.
(4) If you are not very familiar with the original version of a great recording, you are wasting your time.
(5) If you can't enjoy great music and recordings at 320k, you are sabotaging yourself.

Spotify have said they have run experiments to see if users are more engaged with "uncompressed", and that the results were that it doesn't make a difference. And I believe them, once I measured the bandwidth and saw it was higher than usual, in fact clocking in at 20/96 or so for about 30 minutes. I didn't measure because I heard a difference, it was just a coincidence I was measuring the bandwidth consumption of different apps at the time.

With a familiar great recording like Kevin Mahogany's "Pride and Joy" I *can* accurately tell apart 256k from CD 100% of the time, 320k goes down to 80%ile except with one song, which I nail every time because I know exactly which part to pay attention to. But as a rule, I hate the exercise and I'd rather never do it, it's silly and obsessive. It's like saying that, because 350hp in a car is fun, 5000hp must be even better. The law of ridiculous overkill has not yet registered for many audio fans. Guess what else is compressed? Your very ears. Ask your dog or cat. :)
 

Sal1950

Grand Contributor
The Chicago Crusher
Forum Donor
Joined
Mar 1, 2016
Messages
14,246
Likes
17,043
Location
Central Fl
I love this place.
I'm not sure there are many other places than ASR, where someone will quote C source code to answer a question that is NOT about coding.
ROTFLMAO
 

Jeromeof

Addicted to Fun and Learning
Forum Donor
Joined
Jul 25, 2021
Messages
635
Likes
1,025
Location
Ireland
I work as a Software Architect / Engineer and I remember years ago some manager wanting me to document everything we were doing on a very technical project and I told him the source code was the ultimate documentation. He was not very impressed :D
 

Timcognito

Major Contributor
Forum Donor
Joined
Jun 28, 2021
Messages
3,584
Likes
13,468
Location
NorCal
These discussions always go down the rabbit hole of bits per second.

Let's make it clear:

(1) Start with a GREAT, FAMILIAR recording, if you are even remotely trying to make this a successful experiment.
(2) Even better if the recording has sharp percussion, ideally something like castanets. Every time someone claims they hear "fuller bass" when listening to "uncompressed" shows they don't know what they are talking about.
(3) Realize 90% of recordings do not merit anything over 256k, because they are already compromised in some way.
(4) If you are not very familiar with the original version of a great recording, you are wasting your time.
(5) If you can't enjoy great music and recordings at 320k, you are sabotaging yourself.

Spotify have said they have run experiments to see if users are more engaged with "uncompressed", and that the results were that it doesn't make a difference. And I believe them, once I measured the bandwidth and saw it was higher than usual, in fact clocking in at 20/96 or so for about 30 minutes. I didn't measure because I heard a difference, it was just a coincidence I was measuring the bandwidth consumption of different apps at the time.

With a familiar great recording like Kevin Mahogany's "Pride and Joy" I *can* accurately tell apart 256k from CD 100% of the time, 320k goes down to 80%ile except with one song, which I nail every time because I know exactly which part to pay attention to. But as a rule, I hate the exercise and I'd rather never do it, it's silly and obsessive. It's like saying that, because 350hp in a car is fun, 5000hp must be even better. The law of ridiculous overkill has not yet registered for many audio fans. Guess what else is compressed? Your very ears. Ask your dog or cat. :)
Well put. I too can hear differences but only with single or dual instrument closely miked recordings. Best done with headphones excluding the room effects. But that kind of reinforces there are no differences except in the meticulous recording techniques and environments where dramatic differences can be found
 

gags

Member
Joined
Nov 17, 2021
Messages
40
Likes
32
I work as a Software Architect / Engineer and I remember years ago some manager wanting me to document everything we were doing on a very technical project and I told him the source code was the ultimate documentation. He was not very impressed :D
Actually, it’s unit tests.

Now back to work!
 

Sal1950

Grand Contributor
The Chicago Crusher
Forum Donor
Joined
Mar 1, 2016
Messages
14,246
Likes
17,043
Location
Central Fl

Dumdum

Senior Member
Joined
Dec 13, 2019
Messages
357
Likes
225
Location
Nottinghamshire, UK
Evidence please ?
I don’t have android anymore to prove this… suffice to say those who have it can connect a topping d10 and watch the claimed sample rate and the actual on the topping d10… it upsampled everything to 384khz which is the maximum the device can supply…

actually now I’ve written it I can’t recall if it was on Apple… that I can try if I take out a free subscription on a spare email address… it was definitely with a topping d10 and 384khz
 

Dumdum

Senior Member
Joined
Dec 13, 2019
Messages
357
Likes
225
Location
Nottinghamshire, UK
I don’t have android anymore to prove this… suffice to say those who have it can connect a topping d10 and watch the claimed sample rate and the actual on the topping d10… it upsampled everything to 384khz which is the maximum the device can supply…

actually now I’ve written it I can’t recall if it was on Apple… that I can try if I take out a free subscription on a spare email address… it was definitely with a topping d10 and 384khz
So I’ve just downloaded Amazon music to my iPhone, plugged in my topping d10s and sure enough every track is 192khz… which is not accurate even when Amazon is showing 44.1khz…

image.jpg
IMG_1266.png
 

Dumdum

Senior Member
Joined
Dec 13, 2019
Messages
357
Likes
225
Location
Nottinghamshire, UK
Evidence please ?
Is that enough or would you like me to video the exact setup to prove it’s one and the same device and topping linked by a usb c av adaptor and a printer cable…

The other thing with Amazon is the app, if you add a playlist of 160 songs you then get 160 albums with 1 track in each… horrible app to use!
 

pablolie

Major Contributor
Forum Donor
Joined
Jul 8, 2021
Messages
2,134
Likes
3,617
Location
bay area, ca
I would not trust what an app shows, only way to verify the claim is with a third party tool that analyzes if it's truly legitimate CD quality or 24/192. Upsampling is easy.

PS: And if I am listening on my smartphone, 320k is more than plenty. :)
 
Last edited:

Jimbob54

Grand Contributor
Forum Donor
Joined
Oct 25, 2019
Messages
11,133
Likes
14,806
Is that enough or would you like me to video the exact setup to prove it’s one and the same device and topping linked by a usb c av adaptor and a printer cable…

The other thing with Amazon is the app, if you add a playlist of 160 songs you then get 160 albums with 1 track in each… horrible app to use!
Looks to me more like the OS upsampling everything going out to 192.
 

mhardy6647

Grand Contributor
Joined
Dec 12, 2019
Messages
11,450
Likes
24,859
Spotify: "Guys, we are really, really close this time, no cap for realz, pinky swear"

Puts me to mind of this National Lampoon parody, from January 1972.
Cover art :p by the inimitable R Crumb.
Why do I remember s#!t like this? :facepalm:
1714771598639.png

(slightly redacted out of deference to tender sensibilities)
 

antcollinet

Master Contributor
Forum Donor
Joined
Sep 4, 2021
Messages
7,821
Likes
13,229
Location
UK/Cheshire
Except Apple Music and tidal plays everything at its defined playback rate… so no… it’s not the operating system… it’s the Amazon app and its audio layer
Do we really care about upsampling though (assuming it is done properly). It will be completely inaudible.


Now if they were advertising 24/96 and outputting 16/44.1 then there might be something to worry over - though it would STILL be inaudible in real world listening.
 
Top Bottom