3.3 Fundamentals of data representation

Slides:



Advertisements
Similar presentations
Multimedia: Digitised Sound Data Section 3. Sound in Multimedia Types: Voice Overs Special Effects Musical Backdrops Sound can make multimedia presentations.
Advertisements

Investigating the sound quality of different audio file formats In this activity, we are going to record a short voice sample with a sound recording tool,
4.1Different Audio Attributes 4.2Common Audio File Formats 4.3Balancing between File Size and Audio Quality 4.4Making Audio Elements Fit Our Needs.
GCSE Computing#BristolMet Session Objectives#10 MUST define the term sample rate COULD explain how sound can be sampled and stored in digital form SHOULD.
Dale & Lewis Chapter 3 Data Representation Analog and digital information The real world is continuous and finite, data on computers are finite  need.
Chapter 4: Representation of data in computer systems: Sound OCR Computing for GCSE © Hodder Education 2011.
SWE 423: Multimedia Systems Chapter 3: Audio Technology (2)
WHAT’S THIS? ….. WHAT CHANGES? Uptown Funk 1 Uptown Funk 2. Uptown Funk 3.
Eee116j1 1 Digital Information Engineering Science EEE116J1 Prof Paul Maguire w.
Chapter 2 Digital data Ola A. Younis. Elements of digital media Symbols : representation for something else. Example: a group of letters often serve as.
Image and Sound Editing Raed S. Rasheed Digital Sound Digital sound types – Monophonic sound – Stereophonic sound – Quadraphonic sound – Surround.
Image and Sound Editing Raed S. Rasheed Sound What is sound? How is sound recorded? How is sound recorded digitally ? How does audio get digitized.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
Representing Sound in a computer Analogue  Analogue sound is produced by being picked up by a transducer (microphone) and converted in an electrical current.
Digital Data Patrice Koehl Computer Science UC Davis.
Representation of Data in Computer Systems
Digital audio. In digital audio, the purpose of binary numbers is to express the values of samples that represent analog sound. (contrasted to MIDI binary.
Introduction to Interactive Media 10: Audio in Interactive Digital Media.
COMP Representing Sound in a ComputerSound Course book - pages
Audio. Why Audio Essential tool for – Interface – Narrative – Setting & Mood.
AS LEVEL ICT2 Processing Different Types of Information.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music.
Chapter 3. Lesson Objectives Equations Chapter
Digital Sound Actual representation of sound Stored in form of thousands of individual numbers (called samples) Not device dependent Stored in bits.
Digital Recording. Digital recording is different from analog in that it doesn’t operate in a continuous way; it breaks a continuously varying waveform.
V. Rouillard  Introduction to measurement and statistical analysis DIGITAL SAMPLING - DIGITISATION Digital sampling is mainly used in data acquisition.
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.
Media Types Information Systems can contain the following types of media: Sound, graphics, video & text.
CSCI-100 Introduction to Computing Hardware Part II.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
Processing Data. Representing Numbers  Recap on Binary Numbers  Binary digit (1 or 0) – known as a ‘bit’, short for BInary digiT – bits generally grouped.
DATA REPRESENTATION: SOUNDS GCSE Computing. Learning Objective ■ To understand how sounds are represented in Binary ■ To be able to convert a sound wave.
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.
Data Representation: Sound
Chapter 15 Recording and Editing Sound
Data Representation.
Image and Sound Representation
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Objective % Explain concepts used to create digital audio.
Multimedia: making it Work
Image and Sound Representation
Data representation – Sound.
Level 3 Extended Diploma Unit 19 Computer Systems Architecture
Data representation – Sound.
3.3 Fundamentals of data representation
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Learning Objectives Be able to explain how sound can be sampled and stored in digital form. Understand how sampling rate affects digital audio quality.
Multimedia: Digitised Sound Data
Lesson Objectives Explain how sound can be sampled and stored in digital form Explain how sampling intervals and other considerations affect the size of.
Multimedia Systems and Applications
Learning objectives Independent Task – B
Digital Systems.
Objective % Explain concepts used to create digital audio.
Data Representation Keywords Sound
Multimedia Fundamentals(continued)
Bitmap, Vector, Pixels, Resolution, Metadata.
Summer Term Year 10 Slides
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Chapter 4: Representing sound
Representing Sound 2.6 – Data Representation.
Do it now activity Last lesson we learnt about how images are stored on a computer. Can a computer decide what colours to use in an image? How does a.
ITEC2110, Digital Media Chapter 1 Background & Fundamentals
Do it now activity Last lesson we learnt about how images are stored on a computer. Can a computer decide what colours to use in an image? How does a.
Recognise how sound is represented in a computer system
Recap In previous lessons we have looked at how numbers can be stored as binary. We have also seen how images are stored as binary. This lesson we are.
Objective Explain concepts used to create digital audio.
WJEC GCSE Computer Science
Presentation transcript:

3.3 Fundamentals of data representation 3.3.7 Representing sound Lesson

Calculate the file sizes of captured sound. Objectives Be able to: Understand what sound is in its natural form and how it is processed in a way that can be stored on a computer. Show that the quality of sound is affected by two key factors when capturing it. Calculate the file sizes of captured sound.

How do we represent sounds on a computer? Starter activity How do we represent sounds on a computer? Sound is all around us. People started being able to capture sound for the purposes of replaying it about 150 years ago. It is only relatively recently that we have seen the use of digital recording techniques. Complete Quiz 1, identifying key facts about specific recording and playback devices from the past. Quiz 1 is available in the accompanying ‘Lesson plan and printable activities’ Word document.

What is analogue sound? Naturally occurring sounds are analogue, generated as a continuous waveform over time: Basic analogue wave Analogue wave showing positive and negative amplitude Analogue waves are continuous, i.e. have no break. They have infinite resolution. Sound can have positive and negative amplitude and it is usual to see it represented using the continuous sine wave format. Key point In its natural form, sound occurs in an analogue format and has a continuous (unbroken) form which has infinite definition.

Capturing analogue sound – the digitisation of sound To store sound we must convert it into a digital format that a computer can play. Note: there are limits to the quality of sound that may be captured sound files can be very large if storing in high quality CD quality files are too big for downloading MP3 files are only suitable for playback devices not storage. In order for sound to be captured it must be sampled digitally by ‘slicing up’ the sound horizontally (by amplitude) and vertically (by time duration) and capturing a digital snapshot. The quality of the sound produced depends on how many samples are taken and the resolution of the sampling. For more information, see page 2 of ‘3.3.2 Teacher notes’. ffff

Sampling rate is measured by taking vertical slices of the sound: To capture a sound at CD quality, we would need to take 44,100 samples every second! We would ‘draw’ 44,100 (vertical) lines in one second to divide it up.   We would say that a sampling frequency of 44.1 kHz was used.

Amplitude (sample resolution) is measured by taking horizontal slices of the sound: As you can see here, it is divided into 16 slices and it is not that accurate.

The resolution of the capture is determined by how many slices we take across the wave – we have got 16 here.  24 = 16 therefore 4 bits are enough to represent every possible level of this diagram. Decimal value Binary 0000 4 0100 8 1000 12 1100 1 0001 5 0101 9 1001 13 1101 2 0010 6 0110 10 1010 14 1110 3 0011 7 0111 11 1011 15 1111 If we use the CD as an example again, we would actually use a 16-bit sampling code, this would give not 16 possible levels but 65,536! Key point Digital sound is represented as discrete (single addressable) points captured by ‘mapping out’ an analogue sound wave – a binary value representing each point is stored in a recognised file format and reproduced by the digital media player used e.g. Windows Media Player.

Determining the size of sound files How do amplitude and frequency fit together to determine the overall size of captured sound files? File size (bits) = Sampling rate (Hz) × Resolution (bits) × Sample length (seconds) Example: Recording a song by an artist in stereo, the song lasts four minutes and the sound is CD quality. Sampling rate: 44,100 Resolution: 16 bits Length of sample: 4 × 60 = 240 File size = 44,100 × 240 × 16 = 169,344,000 (bits)* * Much larger than a conventional MP3 file.

Complete Quiz 2 on file size calculations. To round things off… Complete Quiz 2 on file size calculations. Quiz 1 is available in the accompanying ‘Lesson plan and printable activities’ Word document.