Digital Media Lecture 2: SemesterOverview Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.

Slides:



Advertisements
Similar presentations
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
Advertisements

It’s here there and everywhere The Internet. in perspective in perspective The Internet is big. Bigger than the biggest thing ever.
4-Integrating Peripherals in Embedded Systems (cont.)
From the air to the iPod. Minute disturbances in the air, caused by a vibrating object Air molecules bunch together, then spread out Changes in density.
Department of Information Engineering1 What is a bit? –the basic unit in computer –represent a binary number : 0 and 1 a group of bits can represent any.
Copyright 2003 Monash University IMS5401 Web-based Information Systems Topic 2: Elements of the Web (d) Digital representation.
Chapter 2 : Business Information Business Data Communications, 4e.
Chapter 1: Introduction Business Data Communications, 4e.
 Wisegeek.com defines Data Compression as:  “Data compression is a general term for a group of technologies that encode large files in order to shrink.
Introduction to Information Technology
IT-101 Section 001 Lecture #4 Introduction to Information Technology.
SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.
Representing Sound in a computer Analogue  Analogue sound is produced by being picked up by a transducer (microphone) and converted in an electrical current.
Representing Information in Binary (Continued)
Digital Data Patrice Koehl Computer Science UC Davis.
 Continuous sequence of vibrations of air  (Why no sound in space? Contrary to Star Wars etc.)  Abstraction of an audio wave:  Ear translates vibrations.
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.
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 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.
Digital Media Dr. Jim Rowan ITEC 2110 Wednesday, August 30.
 Refers to sampling the gray/color level in the picture at MXN (M number of rows and N number of columns )array of points.  Once points are sampled,
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.
Text and Graphics September 26, Unit 3.
CIS-325: Data Communications1 CIS-325 Data Communications Dr. L. G. Williams, Instructor.
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.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
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 Lecture 3: Image Encoding Bitmapped images Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
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.
Digital Media Lecture 4.1: Image Encoding Practice Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Lecture 4: Bitmapped images: Compression & Convolution 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.
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.
CSCI-100 Introduction to Computing Hardware Part II.
Chapter 1 Background 1. In this lecture, you will find answers to these questions Computers store and transmit information using digital data. What exactly.
Digital Media Dr. Jim Rowan ITEC 2110 Wednesday, August 29.
* Numeral Systems: A writing method for expressing numbers is called a “Numeral System". In the most common numeral system, we write numbers with combinations.
Digital Media Lecture 5: Vector Graphics Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Lecture 0: It’s all just bits! Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Lecture 4.2: Image Encoding Practice Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
© 2016 AQA. Created by Teachit for AQA Number bases and Units of information Lesson.
1 A Balanced Introduction to Computer Science David Reed, Creighton University ©2005 Pearson Prentice Hall ISBN X Chapter 12 Data Representation.
3.3 Fundamentals of data representation
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Data Storage and Compression.
Data analysis and modeling: the tools of the trade
Introduction to Computers
Digital Media Lecture 4.1: Image Encoding Practice
Digital Media Dr. Jim Rowan Chapter 2.
CS 115: Computing for The Socio-Techno Web
1. Explain how ASCII is used to represent text in a computer system
Dr. Jim Rowan ITEC 2110 Chapter 3
ITEC2110, Digital Media Chapter 1 Background & Fundamentals
Dr. Jim Rowan ITEC 2110 Chapter 3
Presentation transcript:

Digital Media Lecture 2: SemesterOverview Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan

Refer to Supplemental text: Counting like an alien Networking issues Sound and Sampling

The Big Question: How do you take stuff found in the real world… Store it as numbers on a computer… So that it can be manipulated and shared?

The answer: It depends on what it is you are trying to capture We will have to know about the nature of the real world –Some things can be counted –Some things need to be measured The details of this will come a bit later

As previously seen using hexFiend: Text, audio, images and videos are all stored in a file as numbers on the computer Some of this is meant for human consumption (ASCII) Some of this is meant for program consumption (the header) Some is used by the program to save and represent the world Let’s get started: It’s all just bits!

But first: Numbering systems! Which is correct? = = = F = 10

But first: Numbering systems! Which is correct? The answer is: It depends! = 10 (in decimal) = 10 (in binary) = 10 (in octal) 1 + F = 10 (in hexadecimal)

But first: Numbering systems! In this class we deal with –Decimal –Binary –Hexadecimal We will not be converting We will not do math (a small lie) We will learn how to count Let’s get started: Counting like an alien!

The process of counting is simple No matter which numbering system… –You count starting with the first digit –You continue to count through all the digits available to you –When you run out of digits, you go back to the first digit –Add 1 to the column to the left

How many things can you count if you have 4 [ your numbering system here ] positions? In decimal: > 9999 –You can count 10,000 things In binary: > 1111 –You can count 16 things In hexadecimal: > FFFF –You can count 65,536 things

How many things can you count if you have 4 [ your numbering system here ] positions? The formula is: –the number of digits in the numbering system raised to the power of the number of positions you are using –[#digits in the system] ** [# positions used together] In decimal: > ** 4 = 10,000 things In binary: > ** 4 = 16 things In hexadecimal: > FFFF 16 ** 4 = 65,536 things

How do you convert stuff in the real world into numbers that can be placed on a computer? It depends… It depends on whether the thing is a discrete thing or a continuous thing

Stuff (phenomena) in the real world… Can be discrete –These either ARE or ARE NOT –These can be counted The number of cars in a parking lot The number of beans in a jar Can be continuous –These have no breaks –These must be measured The height of a wave The atmospheric pressure

Stuff (phenomena) in the real world… Discrete can be counted –5 cars –11,223 beans Continuous must be MEASURED –The height of a wave 3.76 feet from crest to trough –The atmospheric pressure inches of mercury

The problem is… Most of the interesting stuff is continuous! –Sound is continuous compression waves –Light is continuous electromagnetic waves To store continuous phenomena on a computer you must measure it and store the measurement

Sampling: The process of converting continuous phenomena into discrete so that you can store it as a number on the computer

But before we talk about sampling… What this stuff means: Bit: binary digit Byte: 8 Bits KB: kilo byte (1,000 bytes) MB: mega byte (1,000,000 bytes) GB: giga byte (1,000,000,000 bytes) TB: tera byte (1,000,000,000,000 bytes) KBPS: kilo (1,000) bits per second MBPS: mega (1,000,000) bits per second

What this stuff means: Strictly speaking… In computing the meanings of K, M, G are powers of 2 K = 2 ** 10 = 1,024 not 1,000 M = 2 ** 20 = 1,048,576 not 1,000,000 G = 2 ** 30 = 1,073,710,825 not 1,000,000,000 But in this class, either will do

What this stuff means: And finally… In some classes B and b when used in abbreviations mean Bytes and bits respectively This can be confusing For this class… –When abbreviating communication speeds the b (or B) means bits –When abbreviating file size the b (or B) means bytes

What this stuff means: So… Since kbps (or KBPS) is a communication speed the b (or B) means bits Since mb (or MB) is a file size the b (or B) means bytes

Network access Changing all the time Is getting faster and faster Is available in a variety of forms In this class we will discuss a few of them Let’s get started: Networking issues

Network access Can be symmetric –The speed into the network is the same as the speed out But now asymmetric is fairly common in the home –The speed out of the network is faster than the speed into the network Unless you are running a server –Servers usually have very high speed, symmetric connections to the network

Network access ADSL example –Asymmetric Digital Subscriber Line Speed in can be 640 kbps Speed out can be 6.1 mbps Prehistoric example: dial up modem –Asymmetric Speed in is 36,000 bps Speed out as high as 56,000 bps

Network access If you are running a commercial server (like you would have if you were running an online business) you may want faster service T1 and T3 are faster and symmetric –T1 can be mbps –T3 can be 44.7 mbps

And now… Sampling How many samples do you need to faithfully capture a continuous phenomena? The answer: –It depends! (of course!) What does it depend on? –It depends on the frequency of the continuous phenomena you are trying to capture Capturing sound in the real world? Sampling!: Sound and Sampling

How many samples are needed? If you take too few samples –the sound quality will degrade –but the file size will be small If you take too many samples –the sound quality will be excellent –but the file size can get HUGE! So… –Where’s the sweet spot?

How many samples are needed? Nyquist states that you need to sample at twice the frequency of the highest frequency you want to capture and faithfully reproduce With humans –Since some of us can hear 20,000 cps –You would need to sample at 40,000 cps CD quality? (with a little wiggle room) –44,100 samples per second

Sampling sound Sound radiates out from the source like the waves created when you toss a stone into a pond In the air it travels at ~760 mph

How many samples are needed? Now, an example to show how and why the Nyquist rate works Below is a note played on a violin and captured with an oscilloscope

A note played on a violin Sampled at 625 samples per second

A note played on a violin Sampled at 1250 samples per second

A note played on a violin Sampled at 2500 samples per second

A note played on a violin Sampled at 5000 samples per second

A note played on a violin Sampled at 10,000 samples per second

A note played on a violin Sampled at 20,000 samples per second

An example: Fields of Gold We played Fields of Gold in class –CD quality is: 44,100 samples per second 16 bits (2 bytes) per sample –with 16 bits you can capture… –2**16 = 65,536 different levels Looking at the file: –It is 4 minutes and 59 seconds –The file size is 1,201,173 bytes long Does this make sense?

An example: Fields of Gold 4 minutes and 59 seconds = 4 x = 299 seconds 299 seconds x 44,100 sps = 13,156,000 samples 13,156,000 samples x 2 bytes per sample = 26,371,800 bytes But this is stereo (two channels) so… 26,371,800 bytes x 2 channels… = 52,743,600 bytes… That’s ~52 MB… but we said that the music was 1.2 MB How is this possible? HMMMMMmmmm…

An example: Fields of Gold Fields of Gold is an MP3… It’s compressed! If we had the original CD it would be ~52 MB in length

Types of compressed files MP3 is lossy –What you get back after compressing the file is NOT exactly the same as the original –But… it’s close enough –Images and sound can use lossy compression techniques (more later) Zip is lossless –What you get back is EXACTLY what you started with –Applications must be losslessly compressed –All the 0s and 1s have to be exactly the same or the program will not run

Sampling The process used to convert continuous phenomena in the real world to discrete numbers stored on a computer But… this process makes an “alias” of the original; it’s an approximation of the original that does have faults These negative side effects are called artifacts

Sampling artifact examples: With audio, one artifact is quantization hiss With video, one artifact is retrograde motion; wheels look to turn backwards Moving images: Film With images one artifact is posterization Images as piles of numbers: Bitmapped images: Dithering and posterization

Another sampling artifact: Interference

A brief look at the Internet – –Let’s get started: Networking issues

A brief look at the Internet: How to request stuff – –Let’s get started: Networking issues Uniform Resource Locator (URL) Has 3 parts Protocol FTP:// SMTP:// Domain name Ends in.edu.com.gov.org Directory structure and the requested page /newStuff/index.html

A brief look at the Internet: How to request stuff – –Let’s get started: Networking issues Uniform Resource Locator (URL) Has 3 parts Protocol FTP:// SMTP:// Domain name Ends in.edu.com.gov.org Directory structure and the requested page /newStuff/index.html

A brief look at the Internet: How to request stuff – –Let’s get started: Networking issues Uniform Resource Locator (URL) Has 3 parts Protocol FTP:// SMTP:// Domain name Ends in.edu.com.gov.org Directory structure and the requested page /newStuff/index.html

A brief look at the Internet – –Let’s get started: Networking issues

A brief look at the Internet – –Let’s get started: Networking issues