Digital Media Dr. Jim Rowan ITEC 2110-01 Monday, August 27.

Slides:



Advertisements
Similar presentations
Chapter 4: Representation of data in computer systems: Sound OCR Computing for GCSE © Hodder Education 2011.
Advertisements

Chapter 4: Representation of data in computer systems
Technology ICT Option: Data Representation. Data Representation In our everyday lives, we communicate with each other using analogue data. This data takes.
4-Integrating Peripherals in Embedded Systems (cont.)
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
1 Rev 01/01/2015.  The main difference between analog and digital /discrete is that analog data is continuous and digital data is discrete.  We need.
Chapter 2 Digital data Ola A. Younis. Elements of digital media Symbols : representation for something else. Example: a group of letters often serve as.
Chapter 5 Light, Sound, Magic: Representing Multimedia Digitally Digitizing is more than letters, numbers, and metadata It is also photos, audio, and video.
Connecting with Computer Science, 2e
Introduction to Multimedia Student Multimedia Design Center 06/06/06.
1 The Information School of the University of Washington Nov 6fit more-digital © 2006 University of Washington Digital Information INFO/CSE 100,
Digital Data Patrice Koehl Computer Science UC Davis.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
(2.1) Fundamentals  Terms for magnitudes – logarithms and logarithmic graphs  Digital representations – Binary numbers – Text – Analog information 
Digital Media Lecture 2.1: SemesterOverview Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Dr. Jim Rowan Chapter 2. Today’s Question! Phenomenon in the real world can be described as having two different modalities. Discrete phenomenon.
Computing with Digital Media: A Study of Humans and Technology Mark Guzdial, School of Interactive Computing.
Chapter 2, Exploring the Digital Domain
Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 Adding some light to computing ….
1 4-Integrating Peripherals in Embedded Systems (cont.)
Digital Media Dr. Jim Rowan ITEC Monday, August 27.
Digital Media Dr. Jim Rowan Chapter 2. Roll Call using Banner.
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Announcements Chapter 11 for today No quiz this week Instructor got behind…. We'll be back in MGH389 on Friday.
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
Chapter 2 Computer Hardware
Foundations of Computer Science Computing …it is all about Data Representation, Storage, Processing, and Communication of Data 10/4/20151CS 112 – Foundations.
Data Representation CS280 – 09/13/05. Binary (from a Hacker’s dictionary) A base-2 numbering system with only two digits, 0 and 1, which is perfectly.
Data Representation and Storage Lecture 5. Representations A number value can be represented in many ways: 5 Five V IIIII Cinq Hold up my hand.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
CIS-325: Data Communications1 CIS-325 Data Communications Dr. L. G. Williams, Instructor.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Digital Media Dr. Jim Rowan Chapter 2. First, some mac software you will be using (found in the application folder) Grab - used to do a screen capture.
Digital Media Dr. Jim Rowan Chapter 2. Roll Call using Banner.
Introduction to Interactive Media 03: The Nature of Digital Media.
Digital Media Dr. Jim Rowan Chapter 2. Today’s Question! Who suggested that in order to best predict the future one should invent it?
Digital Media Dr. Jim Rowan Chapter 2. Roll Call using Banner.
Digital Media Lecture 2: SemesterOverview Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Introduction to Digital Media. What is it? Digital media is what computers use to; Store, transmit, receive and manipulate data Raw data are numbers,
Digital Media Lecture 2: SemesterOverview Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.
Digital Media Dr. Jim Rowan ITEC 2110 Chapter 3. Roll call.
Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.
Digital Media Dr. Jim Rowan Chapter 2. Today’s Question! Who suggested that in order to best predict the future one should invent it?
Digital Media Dr. Jim Rowan Chapter 2. Today’s Question! Phenomenon in the real world can be described as having two different modalities. Discrete phenomenon.
1 Rev 07/28/2015.  Describe: examples, definition,? 2.
Marwan Al-Namari 1 Digital Representations. Bits and Bytes Devices can only be in one of two states 0 or 1, yes or no, on or off, … Bit: a unit of data.
CSCI-100 Introduction to Computing Hardware Part II.
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
Chapter 1 Background 1. In this lecture, you will find answers to these questions Computers store and transmit information using digital data. What exactly.
Exploring Computer Science – Lesson 2-5. Click to add text.
Digital Media Dr. Jim Rowan ITEC 2110 Wednesday, August 29.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
2.1.4 Data Representation Units.
Digital Media Lecture 0: It’s all just bits! Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Lecture 2: SemesterOverview Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Information in Computers. Remember Computers Execute algorithms Need to be told what to do And to whom to do it.
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
CC111 Lec#2 The System Unit The System Unit: Processing and Memory Lecture 2 Binary System.
DATA Unit 2 Topic 2. Different Types of Data ASCII code: ASCII - The American Standard Code for Information Interchange is a standard seven-bit code that.
Everything is a number Everything in a computer memory and on storages is a number. Number  Number Characters  Number by ASCII code Sounds  Number.
Introduction to Computers
Digital Media Dr. Jim Rowan Chapter 2.
Data Representation Keywords Sound
Multimedia Fundamentals(continued)
Bits and Pieces November 6, 2007.
How Computers Store Data
COMS 161 Introduction to Computing
ITEC2110, Digital Media Chapter 1 Background & Fundamentals
Presentation transcript:

Digital Media Dr. Jim Rowan ITEC Monday, August 27

Roll Call using Banner

File formats and extensions Indication to us (the humans) what kind of file this is Some software looks at the extension –so... some software will try to open files with improper extensions –results in “file corrupted” error message –try it... change the extension from.doc to.jpg

File formats and extensions Some software looks at the data in the file for more definitive answer –important file-related information is encoded in the data of the file for example: some image formats have color tables to reduce the size of the file some video just saves the changes from one frame to the next

Numbering systems Humans: decimal –Humans: 10 fingers, 10 digits: –0, 1, 2, 3, 4, 5, 6, 7, 8 & 9 Computers: binary –Computers: 2 fingers, 2 digits –0 & 1

Binary Coding Data for a computer –zeros and ones, –off and on –false and true Data for humans –Coding schemes are used by humans to reduce the volume of digits –Two coding schemes used Hexadecimal ASCII

Hexadecimal Humans and Computers: hexadecimal –Hexadecimal: 16 fingers, 16 digits –Humans organize 0s and 1s into groups of 4 –These groups of 4 are can be represented by a single hexadecimal digit –0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

ASCII Humans and Computers: ASCII –Made of two hexadecimal codes –One ASCII character - two hex codes –ASCII code for R (from text pg 317) hexadecimal: 52 binary:

How to count using a different number of fingers 10 fingers: Counting in decimal –0, 1, 2, 3, 4, 5, 6, 7, 8, 9, –start over but put a 1 in the higher position 2 fingers: Counting in binary –0, 1 –start over but put a 1 in the higher position 16 fingers: Counting in hexadecimal –0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F –start over but put a 1 in the 1 higher position

From the Real World to Stuff on a computer A note –Paper and pen -> bits (0s and 1s) A picture –Reflected light -> bits (0s and 1s) A song –Pressure waves in air -> bits (0s and 1s) A video –Pressure waves in air and Reflected light -> bits (0s and 1s)

Phenomena in the Real world: discrete vs continuous Things in the real world can be discrete They either ARE or ARE NOT there These things can be counted Examples: –The number of cars in the parking lot –The number of beans in a jar

Phenomena in the Real world: discrete vs continuous Things in the real world can be continuous Continuous can’t be counted, it must be measured Examples: –Atmospheric pressure –Height of an ocean wave –Frequency of a sound wave

But... computers can only count Discrete data is easy for a computer –count it and store it as a number Continuous data... not so much –music: measure the frequency & amplitude encode as discrete –pictures: measure the amount of light and its color encode as discrete

[Switch to Mac] Play/show some stuff Text (using Text Edit) Audio (using Quicktime) Image (using Preview) Video (using Quicktime) Open same stuff (using HexFiend) Text Audio Image Video (open and crop jayley and manOfScience)

Note on paper

Picture

Song: fieldsOfGold.mp3

Video

Question... Computers only store 0s and 1s –They only store digits... So... How does all this continuous stuff end up in a computer so that we can save it and play it back? Continuous data must be converted to discrete data

Converting Continuous (analog) data to Discrete data Requires two processes –sampling - equally spaced –quantization - measuring at each sample Usually handled by –analog to digital converter –AKA A to D converter or ADC

Digital back to the real world: –Display samples using “sample and hold” –Play the sample for the duration of the sample time Converting Discrete data back to Continuous (analog) data

But... How many samples?

single sample

two samples

three samples

four samples

five samples

How frequently should I sample? too few –small file size (good) –not a faithful representation when replayed too many –large file size (bad) –excellent representation when replayed The Nyquist rate –twice as many samples as the frequency –ok file size –faithful representation when replayed

Nyquist rate Why is the sample size used for audio CDs 44,000 samples per second? –Human hearing response is in the range of 0 to 22,000 cycles per second Why is the sample size used for audio CDs 44,000 samples per second? –Human hearing response is in the range of 0 to 22,000 cycles per second

FieldsOfGold.mp3 4 minutes and 59 seconds long 1,201,173 bytes in length Does this make sense? 4 minutes and 59 seconds long –299 seconds 44,000 samples per second (sample rate) 16 bit samples (quantity stored for each sample)

FieldsOfGold.mp3 4’59 = 299 seconds long 299 x 44,000 samples per second = 13,156,000 bytes 13,156,000 x 2 bytes/sample –26,312,000 bytes Should be 26.3 megabytes! Why only 1.2 megabytes? HMMMmmm...

FieldsOfGold.mp3 Why 26.3 megabytes not 1.2 megabytes? This is an MP3! Data COMPRESSION!

Undersampling & Video Retrograde Motion

Further reading signal_processing%29

Questions?