Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Computer Basics 15: Analog vs Digital and how File Compression works
Play lesson

Computer Science and Software Engineering Theory with Briana - Computer Basics 15: Analog vs Digital and how File Compression works

4.0 (0)
5 learners

What you'll learn

This course includes

  • 1.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

http://FreeCodeCamp.com is a community of busy people who learn to code, then practice by building projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our open source community. Follow us on twitter: https://twitter.com/intent/user?screen_name=freecodecamp Follow us on Twitch: twitch.tv/freecodecamp Like us on Facebook: https://www.facebook.com/freecodecamp Follow Quincy on Quora: http://www.quora.com/Quincy-Larson How computers turn analog sound into digital files, and the pros and cons of data compression. Let's discuss analog vs digital on a very basic level. Most specifically, we'll talk about how computers interpret analog sound and turn it into a digital file. An analog sound wave could look like anything, but for this example it's a wavy line. The computer takes it and measures at lots of different points, turning them into numbers. This is called sampling. Later, the computer can take those numbers and turn them into sound again. Let's also discuss data compression. The benefit of compression is that it's a smaller file: it's easier to store, it's easier to send to someone else, and it just takes up less space. One of the ways this is done in sound is that the sampling is taken less often. Another way is that it takes the measurement from a median point instead of from 0, so the numbers recorded are smaller. In images, it's done by measuring groups of pixels by 16 instead of individually. The takeaway from this video is that you'll want to use digital files as they're a higher quality, and when you're looking at compression, you want to decide how far you are willing to go to ensure the user still has the best possible experience. ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere