News for hackers. Stuff that matters.
Re:24/192 Music Downloads Are Very Silly Indeed (2012) by fusiongyro on Tuesday August 29, 2017 @05:42PM (#15127843)
Basically, the sampling theorem says you can reconstruct the exact waveform with a certain number of samples. Adding a bunch more samples bulks up the file, but you didn't need them to restore the exact waveform. However, the unnecessary samples are in the file between you and the next sample you do need. At high enough levels of waste this creates an I/O bottleneck that hampers performance.

Another way to look at is that digital audio is not like digital imaging. There aren't pixels. Increasing the data rate does not continue to make the waveform more and more detailed to human auditory perception in the way that raising the pixel density does for human visual perception.

To describe it intuitively, forget your intuition that audio is like visual and start from "there is no metaphor between these two things."

Re:24/192 Music Downloads Are Very Silly Indeed (2012) by willglynn on Tuesday August 29, 2017 @05:51PM (#15127908)
Digital imaging definitely has sampling concerns too:

https://en.wikipedia.org/wiki/Aliasing

Even analog imaging has concerns that are better described in the frequency domain than the spatial domain:

https://en.wikipedia.org/wiki/Airy_disk

https://en.wikipedia.org/wiki/Optical_transfer_function

Re:24/192 Music Downloads Are Very Silly Indeed (2012) by fusiongyro on Tuesday August 29, 2017 @05:55PM (#15127932)
Interesting!
Re:24/192 Music Downloads Are Very Silly Indeed (2012) by astrange on Tuesday August 29, 2017 @09:01PM (#15128920)
Images and audio are pretty similar, and sampling theory works for both - a low-pass filter on audio and a blur filter on images is the same.

The difference is audio is "actually" bandlimited and frequency-based, but images are "actually" spatial. When you try using frequency math on images you get artifacts called ringing, which are easy to see with JPEGs or sharp scalers like Lanczos.

Of course audio isn't really frequency-based either, or else it would just be one sound repeated forever. So there's still ringing artifacts (called "pre-echo") and cymbals are the first to go in an MP3.

Re:24/192 Music Downloads Are Very Silly Indeed (2012) by dom0 on Wednesday August 30, 2017 @04:03AM (#15130464)
> The difference is audio is "actually" bandlimited and frequency-based, but images are "actually" spatial.

I.e. audio is sampled along one dimension, while images are sampled along two dimensions. Note that frequency-domain considerations play a crucial role in all optical design, including imaging sensors.

Re:24/192 Music Downloads Are Very Silly Indeed (2012) by astrange on Wednesday August 30, 2017 @11:02PM (#15137871)
It's a little more than that. A sine wave originates in the frequency domain but actually sounds like something, but images originating in the frequency domain are just noise and not pictures of anything.
Re:24/192 Music Downloads Are Very Silly Indeed (2012) by josteink on Wednesday August 30, 2017 @12:56AM (#15129809)
> Another way to look at is that digital audio is not like digital imaging. There aren't pixels.

For the mathematically inclined, this would probably be a good time to repeat: pixels are not little squares[1].

[1] http://alvyray.com/Memos/CG/Microsoft/6_pixel.pdf

Re:24/192 Music Downloads Are Very Silly Indeed (2012) by sitharus on Tuesday August 29, 2017 @05:47PM (#15127890)
> Increasing the data rate does not continue to make the waveform more and more detailed to human auditory perception in the way that raising the pixel density does for human visual perception.

Early low data rate codecs - such as the one used for GSM mobiles - are obviously inferior, but still functional. I think a better analogy is that an iPhone 7 has a 1 megapixel screen, so there's no difference between a 1 megapixel image and a 5 megapixel image, except one is much larger. Of course visually you can zoom in (or move closer in real life), but audibly you can't.

Re:24/192 Music Downloads Are Very Silly Indeed (2012) by fusiongyro on Tuesday August 29, 2017 @05:54PM (#15127922)
I get what you're saying, that if you remove the ability to zoom you can equalize things, but without that twist I think this preserves the essential problem with the analogy that Monty works so hard to correct. If your data rate is too low, you don't have enough samples to recreate the waveform. So you create an approximate. But there is a finite number of samples that you need to recreate all of the information in the waveform, so once you have that, there isn't any additional information there for you to obtain if you continue to increase the sample rate.
Re:24/192 Music Downloads Are Very Silly Indeed (2012) by DigitalJack on Tuesday August 29, 2017 @08:58PM (#15128905)
To be fair, phone audio signals have until recently been bandlimited to just a few KHz in centered around 3KHz.