Converting Analog Data to Binary, Sampling, Quantization - AP Computer Science Principles

preview_player
Показать описание
Strap in, this one's gonna get a bit bumpy.

Converting from analog data to digital is a three step process. "Sampling" involves taking a sample of points from a continuous curve, such as a sound wave. Once the points have been selected, their values must be rounded off in a process called "quantization." Finally, these approximated values are further simplified, then converted into binary.

As you watch, keep these two facts in mind:
1) Analog data is infinite, digital is finite.
2) Lower intervals mean higher fidelity, but also a larger file.

Khan Academy Article:
Комментарии
Автор

Thank you so much! I am doing the AP Computer Science course on Khan Academy. Your video's always help me understand things better!

nathanielstubbs
Автор

Excellent lecture Dr. Cunningham. Very clear & concise with a more modern, youthful, & invigorating tone plus using audio as an application motivator. ... I couldn't have done any better myself.

smesui
Автор

You just earned yourself another subscriber young man!! (Me) Great video.

BrendanPierce-ze
Автор

This helped me so much that I was able to sleep tonight. Thank you.

IIIIlIIIIIIIlI
Автор

SUPER Lecture! Just what I needed to shed light on this subject. THX!

fredreed
Автор

Thankyou for making this video! I was so confused after reading the article

eklaqeer
Автор

Thank you so much!
This video helped me a lot.

redsword
Автор

Excellent video!!! Excellent explanations!!! Thank you so much!!!

dportz
Автор

Very well explained. I've checked out numerous explanations on this topic for how accurate the analogue signal relates to the reconstructed signal and professionals including and electronics expert all day that that the analogue signal is exactly the same coming out as going in. Yet in your breakdown the reconstructed signal can only ever be an approximation and that the process of rounding also means that it's not exact. I know in audio that with the amount of sampling and bit depth that the reconstruction may be very close but it can't be exact. I was also looking for how this process of ad-da reconstructs the curve of the signal and this is the first time I've heard, in your words, that it is an estimation, which would mean another lacking exactitude! I've often wondered how thousands of harmonics in an audio signal is affected by this analogue to digital and back again process ( not thinking of Nyquist here) in its processing ability to reconstruct it all faithfully. Of course there's the filter roll off depending on sampling rate, 44.1, 48, 96, that can affect aliasing etc
In the world of audio perhaps it doesn't matter these days with enough sampling rate and bit depth that you get very high quality music. Yet to me it's always had a slightly different sound from an original analogue source (forgetting analogue recording formats for a mo) noticing years ago when digital mixing desks took over from analogue. I suppose because ad-da is a process it's bound not to remain identical. But very useful these days. Anyway, I enjoyed your explanation of this process.

johnthorpedidge
Автор

thank you ! Khan academy's content in this particular topic is little complex for me but you explain in a very smooth way ! THANKS TO PROFFESOR CUNNINGHAM

shreyasharma
Автор

Thank you, learned a lot and just subscribed to your channel.

StoriesOfaWar
Автор

thank you so much youve helped me so much

hmmmno
Автор

Sir, will you plz tell which practical device or instrument is used to convert sound into digital data?

dr.vaishalideshmukh
Автор

When encoding, we only change the values of y to binary. Additionally, there will be many x values. At the quantized y value (at this particular point), I didn't understand how the computer reads the values of x and y and reconstructs them. Could you explain?

deborahyohannes
Автор

What aplication that you used to simulate the process sir

veraodja
Автор

Can you come work at my university and teach my class please? 🥹

kenesto