Very nice presentation. However... You state that analog signal gets distorted measurably, irretrievably during transmission and duplication. Agreed! I wonder if you would comment on something that I would like to pose as a question. Since analogue signal is continuous and has true value at any time (let us say in voltage terms), how do you propose to make a perfect copy of that signal by any means of digital sampling? Here is why I am asking this question... Since all digital technology has numerical limitations and cannot solve something simple as a square root of 2 back and forth several times without losing precision, how do you make a/d and d/a converters perfect? A/D and D/A converters are pure mathematics, nothing more... and as such are subject to rounding errors and necessarily have to interpolate and lose data in real-time applications. As such, these mathematical routines are heavily using MMX, SSE and other CPU extensions that do not have uniform mathematical precision capabilities and by default have to approximate data, especially in real time...Therefore, reproduction and sampling of digital signal MUST depend, to a certain degree, on the abilities of the either DAC chip or CPU used to reproduce the signal back into analogue domain. Do you agree? Secondly, analogue is a continuous value at any discrete time chosen at any point and you say that much yourself. Please describe the sampling technique that is prefect in converting complex analogue signal, with second, third, fourth and so on, harmonic signal. Sound is a complex, dynamic and non-linear system, as far as mathematics is concerned. Yet you claim that sampling, which is linear and time discrete, gives a perfect copy of the input signal. I beg to disagree. I could go on with sampling, quantization, jitter, sampler voltage comparators, be it dual slope or single stage... All this components have voltage slew rate and final operational speed. And with all of that, digital works in a final range of 20Hz to 20KHz. With filters. Well... just being pedantic. And.. on the top of everything, with all obvious A/D and D/A errors, we have sound file formats with compression on the top!! Please do not try to justify that! I am perfectly aware of my limitation to hear just about 12 KHz... but that is not the point. First we make errors in sampling, A/D, then we assume some values in D/A and then we overlay errors trough MP3, SACD, MPEG and the rest... and then we claim that digital is somehow - PERFECT. I am at fail to understand your position... Digital sound is a color reproduction of Mona Lisa... but, as of now, it still just a reproduction. Keep up good work, and please do not oversimplify things that are not so simple.
You'll NEVER capture, store, and reproduce any analog signal perfectly. It's like trying to write down an infinite number. At some point, you just have to put down the pen and accept what you've got. But with digital sampling, it's easy to surpass the accuracy of the human senses. Monty has another video that specifically deals with audio sampling. I highly recommended it.
This is brilliant, and your introductory text is bang on point. I wish the original series had been presented with an interlinear K-E text in the video dialogs.
What is it about a knowledgeable scientist enlightening a RU-vid audience on his chosen topic that chases the know-nothings out from under their rocks of ignorance? Every time Monty posts, out they come, utterly ignoring everything he’s just said and quoting terms they’ve heard but never understood, completely out of context? I guess it’s never occurred to them how silly they look in doing this. Speaking directly to you who do this, it’s ok to learn and remain silent. Those whose theories we are discussing here made their discoveries 75 years ago following tireless research and experimentation. Even more important, their discoveries have been verified and re-proven thousands of times through the decades, even as vastly more accurate tools became available to do so. To expound on how they failed is simply ridiculous.
Worked at the telco for a while. Sampling was done at 8kHz 7 bit. The 8th bit was used as hook on/off indicator. 8kHz * 8 =64 kilo bits per second. This also an ISDN B channel. 24 ISDN B channels combined to make a T-1 Channel. If you ever tried to make a phone call and got "all circuits busy during an event was causing everyone to try to call from a subdivision, it was because 24 B channels were already in use.
It's sounds good enough for a normal person. So they don't see or even think about lossless vs lossy. It's just inertia at this point, a format established itself and that's what the masses go with. Flac's cool though.
A geeky and totally unimportant correction.. IEEE-754 actually uses 23 bits for the magnitude or mantissa (not 24), and 8 bits for the exponent (not 7)
This reply is to RaveyDaveyGravy who replied to my comments through email, but when I reply to him (from that email) it brings me here even though I don't see his reply at this time. His reply to me is a model of "selective listening" (or in this case, selective reading). First, he responds to my statement that "some high end gear has a response up to 100 kHz" with a rant about speakers. I did not say anything about speakers in particular, but was thinking more along the lines of devices, such as Crown's high end pre-amps which had (at the time I last looked at one over 10 years ago) an advertised response of 1 Hz - 100 kHz. My overall point was, why would such a company build what are (according to some comments here as well as his) unusable capabilities into their devices? Second, he says I spoke about people "hearing" 100 kHz tones; I said nothing of the sort. My statement was that researchers don't know why people seem to be able to tell when such frequencies are present, and that if they sense them, it is more of a feeling than audible response. He then refers to my comments about an article documenting research on Stradivarius violins vs other instruments. Says he: "your vague memories of an article about violins from 30 years ago does not constitute convincing evidence for your claims. Anyway, blind tests of Stradivarius violins vs modern ones have shown that people in fact CANNOT distinguish them nor even prefer the tone." First, I am not trying to convince anyone of anything; I simply paraphrased an article I had read on the topic. But scientific research can be (and regularly is) used for supporting an opinion. As for the difference in sound between a Stradivarius violin and others? I leave that to the researchers involved in that endeavor, but I suggest he ask people who play them, and are willing to pay upwards of $5 million for one. My original comments (or replies) can be seen somewhere in this section.
There's no such thing as latency as a result of sampling. Did you actually watch the video? Do you actually understand the implications of the Nyquist-Shannon sampling theorem?
@@peterselie1779 you are wrong. increasing sampling rate decreases latency in a DAW. if you don't know this fact then whatever. BTW this has nothing to do with what in this video. it's just a fact like 2+2 = 4. there's a whole world out there so go explore.
@@LucaskrillHC thanks for the tip. Problem is it's usually not my choice. Lately I've had to increase buffer size for better performance. Maybe my next computer can handle smaller buffer size better.
i get it. he's one of those guys that don't understand the difference between converting the sample rate of one audio file and doing the same to 100 combined audio files being recorded, mixed, and mastered. Yes dude you are right you cant hear a difference between 44 khz and 48 khz in solo. But there is a difference when you do this to 16+ tracks as they are recorded, mixed, and mastered. In blind tests some prefer the 44, but they still hear/feel a difference.
You don't get it. You really have zero idea of what he does or does not understand. Maybe google who he is LOL...and then tell me he doesn't understand audio science We already know that inside of DAWs, mixing and applying effects, especially non-linear effects like compression, high sample rates make sense. But once mastered, none of the reasons are longer relevant.
@@RaveyDavey read what I said again. Music production is bigger than mastering - are you aware of that? that's the final step and at that point then you are right much of this is irrelevant as it's too late but that's not what i was talking about. I was talking about the 100 steps before that stage.
What happened to that "24/192 Music Downloads...and why they make no sense" article. It's linked to from all over the web but has been taken down. The related videos are still up though. Anyone know why? web.archive.org/web/20180216031756/xiph.org/~xiphmont/demo/neil-young.html
Old analog and digital audiophiles need to watch this. Digital audiophiles need to understand oversampling improves frequency response using less expensive anti-aliasing filter.
Sorry so many questions. Signed and (linear) unsigned encoding; does the sign use up one of the stated bits? Say 16bit signed is the first bit the sign?
Sort of but not exactly. Integers typically use 2’s complement representation so if the most significant bit is set that the number is indeed negative. However, if you naively strip that bit you don’t get number’s absolute value. 14:14 demonstrates this. 0x8000 corresponds to -2¹⁵. This is different in floating point numbers where the most significant bit does represent sign directly. If you zero that bit you get absolute value of the number. And flipping that bit is equivalent to multiplying by -1. (At least so long as we ignore NaNs.)
Bullshit. They can refresh much faster than CRT. I recommend you watch some of eevblog's videos on digital vs analog scopes. If your digital scope has latency issues it's because it is a shit scope, not because it's digital.
Yes it is a data stream, no there is no stair step. His other video explains it nicely: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-cIQ9IXSUzuM.html
The stair steps only exist on paper to help view the waveform. They don't actually exist. Well, in some DAC chips they do, briefly but they go away once the DAC has finished conversion. Thing is, zeros and ones as you put it can not represent stair steps. They are too small and only represent a tiny point on the waveform. A stairstep, if it were real, would span an amount of time, thus needing many digital samples to represent it. In th analogue domain the stair step represents a higher bandwidth. To change from one value to the next in an instant requires a massive amount of bandwidth and would be part of a waveform with a frequency well beyond human hearing. Thus when we digitise and when we convert back to analogue we band-limit the signals with filters. The band we are interested in is human hearing, which does not have nearly enough bandwidth for a stair step. Any steps that did exist are filtered out simply by the conversion process each way. The output of a DAC is exactly the same waveform as was captured by the ADC with all the frequencies in the band limit intact. No stair steps, no loss. Totally lossless. This ignores any problems introduced after the conversion, as the signal goes through amps and cables and gets attacked by emi and perhaps ends up in a crap speaker.
If a steep anti-aliasing filter is difficult to make, which is a reasonable claim, why is it that old CDs from the 80s usually have a steep "digital" cutoff at around 20.5 kHz with no transition band? How was that realized?
When recording audio, you wouldn't sample directly at 44100 Hz (CD sample rate) with your ADC. Instead, you'd sample at a much higher frequency (like 96 kHz). This relaxes the requirements of the analog anti-aliasing filter: instead of passing everything under 20 kHz and attenuating everything above 22.05 kHz by 100dB, your filter only has to attenuate everything above e.g. 48 kHz. Then, you'd filter out everything above 22.05 kHz in the digital domain (fairly easy, especially compared to an analog filter), and downsample to 44100 Hz.
Well back then, with the first CD players they did just that but got it wrong. Eventually later models had a filter that worked well, but wasn't very efficient and was expensive. Years later CD players started oversampling. They read the data off the disc and then resample it to a higher sample rate. That's simple to do. That means they have all the audio data, plus a huge amount of empty samples beyond it thanks to the resampling. Thus they can get away with a much gentler and cheaper filter. Now when you see a CD player in a thrift store that proudly says 2x or 4x oversampling you know what it means. 2x means it resamples to 2x 44,100 and 4x is 4x 44,100. However, 2x and 4x oversampling are much the same, just different filters can be used. Yet you can expect and see that CD player manufacturers were using oversampling as a sale point. You benefit from some form of oversampling but you will see how players competed as to how much even if it didn't make a difference.
He does a good job of shutting up the vinyl-superiority crowd who don't understand why digital waveforms aren't actual "steps" and why there is no perfect analog in practice. Obviously a lot of vinyl folk are annoyed by evidence and want to cling to nostalgia.
Sad but true. Personally I do own a turntable and a record collection but I stand by digital audio formats for the most consistent results. Why did I get into records? Because you get a physical copy of the music, you can see the big art, you feel like you own something instead of paying for streaming services etc. There's the more interaction, and that's what I find fun and amazing. If all I wanted was high fidelity, I'd be going full on after CD's. Perhaps some of the people in the vinyl community loves the sound of the crackles and pops you get from a record due to dust and particles in the groove. I'm fine with them too and sometimes it does feel nice, but "warm analog sound which has infinite samples is better than cold digital sampled sound"? Bullshit. Ain't gonna buy that.
Honestly, Vinyl is better than CD or digital nowadays just because how horribly compressed, squashed the dynamic Range is on digital versions of most songs and since you can't compress the audio as much on a vinyl, it sounds better even with the crappy noise floor, pops and cracles.
I mean, I would argue that vinyl is better because it's nostalgic and awesome just like a 1960s mustang is better even though my mom's Honda Accord handles better, is more comfortable, gets better gas mileage, has more horsepower, has better traction, and is safer. That 1960s mustang is fucking awesome though so I mean
Because the frequency and the amplitude changes. When you hit a guitar string, the original note might be D+0.04 cents, but as it keeps ringing it will go down to a D if it's tuned. This is because when the string vibrates further, it stretches more, and the higher tension will produce a higher pitched sound. As the string starts to vibrate less, it gets quieter and lower pitched. There is no real way to tell if a certain sound in real life has a certain formula that is easier to compress than the samples it produces.
Christopher "Monty" Montgomery (born June 6, 1972 is the creator of the Ogg Free Software container format and Vorbis audio codec and others, and the founder of The Xiph.Org Foundation, which promotes public domain multimedia codecs. He is also known as "Monty" and uses xiphmont as an online pseudonym. He holds a B.S. in electrical engineering and computer science from the Massachusetts Institute of Technology and a M.Eng. degree in computer engineering from the Tokyo Institute of Technology.[4]
I like your videos a lot. You explained very well (and remind us..) not to distance to much from the basic knowledge ... then approach the rest of it (new "science"..) cautiously... all other (new) technologies, as far/much as everyone of us need of these ...