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

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ม.ค. 2025
  • 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:
    www.khanacadem...

ความคิดเห็น • 29

  • @nathanielstubbs0005
    @nathanielstubbs0005 2 ปีที่แล้ว +7

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

    • @professorcunningham8106
      @professorcunningham8106  2 ปีที่แล้ว

      Glad to hear it!

    • @nathanielstubbs0005
      @nathanielstubbs0005 ปีที่แล้ว

      @@professorcunningham8106 Do you plan to make more video's on the AP Computer Science course on Khan?

    • @professorcunningham8106
      @professorcunningham8106  ปีที่แล้ว

      @@nathanielstubbs0005 Yep! Unfortunately, I work full time as a teacher, so I don't get to make these as often as I'd like, but more are on the way when I have the time!

  • @smesui1799
    @smesui1799 7 หลายเดือนก่อน +2

    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.

  • @fredreed7202
    @fredreed7202 5 หลายเดือนก่อน

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

  • @dportz91
    @dportz91 3 หลายเดือนก่อน

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

  • @Youcan352
    @Youcan352 ปีที่แล้ว +2

    thank you, it is a great help.

  • @redsword7192
    @redsword7192 10 หลายเดือนก่อน +1

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

  • @WellThatsallfolks
    @WellThatsallfolks ปีที่แล้ว +1

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

  • @eklaqeer
    @eklaqeer 3 หลายเดือนก่อน

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

  • @GCKteamKrispy
    @GCKteamKrispy 8 หลายเดือนก่อน

    Great walk-through!

  • @Cluni-80s
    @Cluni-80s 4 หลายเดือนก่อน

    Great video, thanks.

  • @johnthorpedidge
    @johnthorpedidge 5 หลายเดือนก่อน

    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.

  • @dr.vaishalideshmukh492
    @dr.vaishalideshmukh492 2 หลายเดือนก่อน

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

  • @olivernardbagay318
    @olivernardbagay318 6 หลายเดือนก่อน

    Great explnation!

  • @veraodja6331
    @veraodja6331 2 หลายเดือนก่อน

    What aplication that you used to simulate the process sir

  • @hmmmno5926
    @hmmmno5926 11 หลายเดือนก่อน

    thank you so much youve helped me so much

  • @iqbaljaved3924
    @iqbaljaved3924 ปีที่แล้ว

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

  • @shreyasharma7352
    @shreyasharma7352 7 หลายเดือนก่อน

    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

    • @professorcunningham8106
      @professorcunningham8106  7 หลายเดือนก่อน

      Thank you for the feedback! I was honestly worried this would be too dense

  • @NOpainNoGain176
    @NOpainNoGain176 6 หลายเดือนก่อน

    Thank you sir

  • @deborahyohannes4687
    @deborahyohannes4687 9 หลายเดือนก่อน

    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?

    • @professorcunningham8106
      @professorcunningham8106  7 หลายเดือนก่อน +1

      Both x and y are being converted to binary. Recall that ALL data that passes through a computer is represented in binary. As for how the computer reconstructs the original X and Y, that would rely on some code providing the baseline. For example, If I know that the minimum voltage was 50 volts, and I set up the code so that 50 was my baseline, the computer would simply add 50 to any number I provided, so a value of 010, which translates to 2, could be read as 52. This allows us to compress the number of bits needed to store the data losslessly.
      I don't know if that helps, but it's the best I've got for the moment. I'd love for any other computer science students or teachers to weigh in here.

  • @castleold19
    @castleold19 ปีที่แล้ว

    It's good.

  • @kenesto6262
    @kenesto6262 11 หลายเดือนก่อน

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