News for hackers. Stuff that matters.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by qmmmur on Tuesday May 18, 2021 @12:22PM (#27196943)
That is just so unbelievably overkill. Especially the sample rate.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by andrewzah on Tuesday May 18, 2021 @12:35PM (#27197184)
This is why "audiophile" is a joke term in the audio engineering community.

It is not biologically possible for us (unless one is an alien) to hear above 22kHz. 44.1kHz is enough to record in perfect fidelity [0]. For strictly listening purposes, 192kHz/24bit is wasteful, just extreme overkill because "bigger numbers = more good".

People can't even reliably detect a difference between 320kbps MP3s and source-quality FLAC/ALAC/WAV/PCM. On very good headphone and speaker setups. Good quality MP3/AAC is all one needs for airpods and the bluetooth protocol can easily handle those bitrates.

[0]: https://en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampli...

edit: changed record->playback. Here I'm just discussing playback; for audio production purposes 192kHz/24bit is desireable for several reasons. Once one ships that album/song though, it should be downmixed back to 44.1kHz/16bit.

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by qmmmur on Tuesday May 18, 2021 @12:42PM (#27197313)
It's not necessarily just that we can't hear above 20khz - recording above 44.1khz has its merits. For example, if you want to apply digital distortion or do amplitude modulation then up-sampling or having a high SR stops wrap around in the spectrum and getting all those nasty artefacts. The end user should never need to worry about this and it should be downsampled at the master.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by aidenn0 on Tuesday May 18, 2021 @01:19PM (#27197915)
You forgot the #1 reason for recording at high SR; using a lower order low-pass filter without affecting the audible range. Sharp digital low-pass filters have far fewer tradeoffs and better SNR than analog filters, so doing the anti-aliasing low-pass filter digitally has big advantages.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by kuschku on Tuesday May 18, 2021 @12:51PM (#27197472)
The interesting part is in how actually valuable improvements are rare, while useless "improvements" are common.

I've got all music in 44.1kHz or 48kHz FLAC (only on the server, so I can transcode it to ogg opus for mobile playback reducing the space usage without lossy to lossy artifacts). Similar effects apply to many other such cases.

Audiophiles buy 10'000$ golden HDMI cables... which don't even support HDMI 2.0a. They buy gold-plated toslink cables (!)

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by StavrosK on Tuesday May 18, 2021 @06:31PM (#27202125)
Is there something that does automatic transcoding? Though I can hardly give up the discovery aspect of Spotify these days...
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by andrewzah on Tuesday May 18, 2021 @06:35PM (#27202166)
Transcoding is a fairly common feature, although typically to mp3. I use Navidrome [0] to self-host my own music, and it lets me set up custom transcoding profiles with ffmpeg.

[0]: https://github.com/navidrome/navidrome

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by StavrosK on Tuesday May 18, 2021 @06:40PM (#27202201)
That's what I was looking for, thanks!
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by kuschku on Wednesday May 19, 2021 @04:35AM (#27205996)
KDE's Amarok (semi-dead project) can automatically transcode audio files if you copy them to e.g. a phone, Jellyfin (an Emby fork, which is a Plex clone) can automatically transcode files on the fly during playback.

I've simply written a small python utility to handle everything automatically.

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by mousepilot on Tuesday May 18, 2021 @07:06PM (#27202449)
gold plated hdmi cables add a parity bit.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by murph-almighty on Tuesday May 18, 2021 @01:25PM (#27198018)
Once I learned the Nyquist frequency rule existed in my EE classes I became incredibly suspicious of anybody who threw the words "lossless" around. Glad to know that this suspicion was well-founded.

Aside, "Nyquist criterion" would be a sick band name.

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by CharlesW on Tuesday May 18, 2021 @01:56PM (#27198497)
> …I became incredibly suspicious of anybody who threw the words "lossless" around. Glad to know that this suspicion was well-founded.

What's suspicious about it? Do you take this to mean something other than lossless compression/encoding?

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by murph-almighty on Thursday May 20, 2021 @10:04AM (#27221214)
I took it as either:

- not particularly a huge upgrade in audio quality, or

- an attempt to upsell me on some audio-related product

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by deltron3030 on Tuesday May 18, 2021 @01:02PM (#27197660)
The audio myths workshop, old but still gold: https://youtu.be/BYTlN6wjcvQ
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by giantrobot on Tuesday May 18, 2021 @12:54PM (#27197525)
While 192KHz is overkill, there are plenty of instruments that produce non-trivial amounts of energy above 22KHz. While we're unable to hear them some can be generally felt (depending on volume and proximity). A pair of headphones won't reproduce those ultrasonic energies but good speakers can. Even so, this is only germane in a handful of types of music with high fidelity recording and mastering.

The same for higher resolution samples, an audio pipeline using that available dynamic range can do cool stuff.

Both are pointless for 99% of music sold though.

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by layoutIfNeeded on Tuesday May 18, 2021 @01:12PM (#27197802)
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by Mediterraneo10 on Tuesday May 18, 2021 @03:39PM (#27199966)
This is somewhat true. Also, while human beings cannot hear a dog whistle per se, due to the way the human ear works they can hear the beats produced by the combination of that sound with another, straightforwardly audible-frequency sound. Per Nørgård exploits this in his Symphony No. 5. But examples of this actually affecting enjoyment or even an A/B test in practice are so few they shouldn't really guide one's encoding choices, CD audio is already sufficiently wide in practice and claims that we need more are audiophile wishful thinking.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by giantrobot on Tuesday May 18, 2021 @04:57PM (#27200997)
I'm definitely not arguing for the stupid "audiophile" frequencies. For the tiny fraction of music taking advantage of ultrasonic frequencies and high dynamic range it's nice there's an option now.

I hope the availability of high resolution, or more importantly the spacial audio, will inspire some artists to really explore the space. I'm hoping for some stuff like the Flaming Lips' Zaireeka or Yoshimi album's 5.1 mix.

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by patentatt on Tuesday May 18, 2021 @05:05PM (#27201126)
But does sampling above the Nyquist rate guarantee phase reconstruction though? In a real world (not theoretical ideal) implementation of a reconstruction filter, what’s the phase reproduction ability the nearer you get to the Nyquist rate? I thought that there was no phase reconstruction guarantee by the Shannon reconstruction theorem, only frequency, and that there can be advantages to sampling rates higher than than Nyquist alone would suggest. Can anyone with more authority on this subject speak to this? It’s a bit fuzzy but I remember my DSP professor making that argument once and it always kind of stuck with me. It does make some intuitive sense, as you picture trying to reconstruct a sinusoid close to (but below) the Nyquist rate. It’s not hard to see how a reconstruction filter may get some odd results like incorrect amplitude, oscillating amplitude, or phase shift the closer you get.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by millzlane on Tuesday May 18, 2021 @12:33PM (#27197155)
Overkill is the perfect amount of kill for audiophiles.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by toomanybeersies on Tuesday May 18, 2021 @12:41PM (#27197308)
Audiophiles generally don't use Bluetooth, it's balanced cables all the way.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by oneplane on Tuesday May 18, 2021 @01:08PM (#27197747)
Even "Directional" cables, and "Oxygen-free" and "Cryo" HDMI as well, because you know, that's what your digital signal cares about.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by ziml77 on Tuesday May 18, 2021 @05:06PM (#27201143)
Don't forget gold plated toslink connectors!
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by dwighttk on Tuesday May 18, 2021 @12:34PM (#27197181)
Might not be enough.

Have you seen the gold plated overkill?

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by Hamuko on Tuesday May 18, 2021 @12:37PM (#27197221)
Gold plated is far from overkill. Maybe not even cable risers (https://i.pinimg.com/originals/3c/fb/05/3cfb059ec7fde97d4090...) are overkill in the audiophile community. Maybe not even your personal electricity pylon (https://thevinylfactory.com/news/japanese-audiophiles-person...) is overkill.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by zbuf on Tuesday May 18, 2021 @12:48PM (#27197438)
I hope Apple are using an audiophile-optimised memcpy() function: https://www.audioasylum.com/forums/pcaudio/messages/11/11997...

> found that a function called memcpy was the culprit, most memory players use memcpy and this is one of the reasons why memory play sounds worse ie digital sounding. Fortunately there is an optimised version of memcpy from http://www.agner.org/optimize/, using this version removes the hard edge produced by memcpy.

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by paradygm on Tuesday May 18, 2021 @03:08PM (#27199501)
Or making sure they are using literals instead of variables, and using gotos: https://www.audioasylum.com/forums/pcaudio/messages/12/12050...
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by zbuf on Tuesday May 18, 2021 @03:41PM (#27199984)
The trouble with this threads is they straddle a gaping chasm between complete delusion, or amazing trolling.

Just imagine if stuff was like this though and computing were more 'analogue' -- each of those 15 layers of JavaScript transpiling just degraded the quality of the end result slightly.

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by spookthesunset on Tuesday May 18, 2021 @05:23PM (#27201353)
I have such a hard time imagining that thread being serious. Poe's law is in effect. Like seriously. What is going on with that thread?
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by detaro on Tuesday May 18, 2021 @05:26PM (#27201398)
Really weird things happen with half-knowledge and fixed ideas built on it. If you "know" it'll sound different, it will sound different to you. Combine that with actual, unrelated variations and maybe a bug that fits the pattern at some point...
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by thescriptkiddie on Tuesday May 18, 2021 @12:55PM (#27197537)
This shit always gets me. I don't care how much you spend on electrostatic speakers, granite slabs, acoustic treatments, and magic speaker wire — your room will never, ever sound as good as a decent pair of headphones.

That said there absolutely is a case for high-bitrate, losslessly-compressed, DRM-free, watermark-free audio as the standard, and that is sampling and remixing. Slowing down a 320 kbps mp3 by just 50% sounds like shit.

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by Mediterraneo10 on Tuesday May 18, 2021 @04:13PM (#27200392)
Some of the people concerned about room response are listening to surround-sound classical recordings. In works that involve a spatial element -- for example an orchestra in front and players that move around the hall (or are embedded within the audience), creating a 360° soundstage -- headphones just don't preserve that as well as actual speakers.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by kuschku on Wednesday May 19, 2021 @05:11AM (#27206196)
Headphones with a proper HRTF preserve that perfectly fine better than any actual speaker setup ever can. The typical demo for this functionality is https://www.youtube.com/watch?v=IUDTlvagjJA
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by Mediterraneo10 on Wednesday May 19, 2021 @07:08AM (#27206999)
Recordings have to be specially recorded and processed for that. There are however many older recordings that were made without the use of such technology and are expected to be played on speakers in 5.0.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by kuschku on Wednesday May 19, 2021 @12:22PM (#27210768)
You can apply the same virtually as well: simulate a raytraced environment with 5.0 speakers and furniture, simulate an HRTF, and generate the resulting 2.0 audio.

It's possible to do this in a way that's not in any way distinguishable from a real 5.0 setup

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by Mediterraneo10 on Wednesday May 19, 2021 @01:35PM (#27211788)
I don’t think it is realistic to expect an ordinary home listener of some old SACD 5.0 recording to carry out some elaborate simulation involving the specific furniture in his home, just to listen to something on headphones.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by kuschku on Wednesday May 19, 2021 @04:08PM (#27213803)
The user themselves not, but if you have some apple homepods and airpods max, they can build the same model and actually do that (and that's part of their spatial audio).

Dolby provides a similar system, but with a generic room simulation, as do several others.

Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by jolux on Tuesday May 18, 2021 @12:47PM (#27197405)
You joke but I wouldn't want to risk dirtying $10,000 cables by putting them on the floor.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by devNoise on Tuesday May 18, 2021 @12:39PM (#27197252)
The gold really lets you hear how much over the kill can be.
Re:AirPods Max and AirPods Pro Don't Support Apple Music Los... by StavrosK on Tuesday May 18, 2021 @12:33PM (#27197161)
In this house we obey the Shannon-Nyquist theorem!