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.

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

Introduction to Digital Audio
MULTIMEDIA TUTORIAL PART - III SHASHI BHUSHAN SOCIS, IGNOU.
Sound can make multimedia presentations dynamic and interesting.
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.
Chapter 4: Representation of data in computer systems: Sound OCR Computing for GCSE © Hodder Education 2011.
I Power Higher Computing Multimedia technology Audio.
WHAT’S THIS? ….. WHAT CHANGES? Uptown Funk 1 Uptown Funk 2. Uptown Funk 3.
SIMS-201 Characteristics of Audio Signals Sampling of Audio Signals Introduction to Audio Information.
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
Digital Audio.
Image and Sound Editing Raed S. Rasheed Digital Sound Digital sound types – Monophonic sound – Stereophonic sound – Quadraphonic sound – Surround.
Digital audio recording Kimmo Tukiainen. My background playing music since I was five first time in a studio at fourteen recording on my own for six months.
Representing Sound in a computer Analogue  Analogue sound is produced by being picked up by a transducer (microphone) and converted in an electrical current.
 Principles of Digital Audio. Analog Audio  3 Characteristics of analog audio signals: 1. Continuous signal – single repetitive waveform 2. Infinite.
Introduction to Digital Audio
Introduction to Sound Sounds are vibrations that travel though the air or some other medium A sound wave is an audible vibration that travels through.
Representation of Data in Computer Systems
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 26 – The Computer Sound System.
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.
School of Informatics CG087 Time-based Multimedia Assets Sampling & SequencingDr Paul Vickers1 Sampling & Sequencing Combining MIDI and audio.
Introduction to Interactive Media 10: Audio in Interactive Digital Media.
DTC 354 Digital Storytelling Rebecca Goodrich. Wave made up of changes in air pressure by an object vibrating in a medium—water or air.
COMP Representing Sound in a ComputerSound Course book - pages
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
Modication by tuti 1 LECTURE 7 THE USES OF DIGITAL AUDIO IN MULTIMEDIA.
Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music.
Introduction to SOUND.
Digital Sound Actual representation of sound Stored in form of thousands of individual numbers (called samples) Not device dependent Stored in bits.
Audio / Sound INTRODUCTION TO MULTIMEDIA SYSTEMS Lect. No 3: AUDIO TECHNOLOGY.
Digital Recording. Digital recording is different from analog in that it doesn’t operate in a continuous way; it breaks a continuously varying waveform.
Sound and Digital Sound v © Allan C. Milne Abertay University.
Chapter 2 Basic Science: Analog and Digital Audio.
CSCI-100 Introduction to Computing Hardware Part II.
Binary! Objectives How sound is stored in digital format What is meant by “sample interval” and how it affects quality The trade off between file size.
Multimedia Sound. What is Sound? Sound, sound wave, acoustics Sound is a continuous wave that travels through a medium Sound wave: energy causes disturbance.
U73 PMD2: Understand methods and principles of sound design and production Date due: Monday 22/04/13.
Digital Audio I. Acknowledgement Some part of this lecture note has been taken from multimedia course made by Asst.Prof.Dr. William Bares and from Paul.
Audio sampling as an example of analogue to digital Mr S McIntosh.
DATA REPRESENTATION: SOUNDS GCSE Computing. Learning Objective ■ To understand how sounds are represented in Binary ■ To be able to convert a sound wave.
Introduction to Digital Audio
Data Representation: Sound
3.3 Fundamentals of data representation
Image and Sound Representation
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Multimedia: making it Work
Bit-Depth Tonal-Range Sample-Rate Clarity Timbre Pitch
Image and Sound Representation
Data representation – Sound.
Data representation – Sound.
physics-chemistry-interactive-flash-animation
© 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
Introduction to Digital Audio
Data Representation Keywords Sound
Introduction to Digital Audio
Introduction to Digital Audio
Introduction to Digital Audio
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.
COMS 161 Introduction to Computing
Ms Jennifer - Senior 4 - Data Representation Introduction
Introduction to Digital Audio
WJEC GCSE Computer Science
Presentation transcript:

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 concerned with how sound is stored on a computer.

By the end of this lesson I will be able to label a sound wave: I will be able to describe the following terms: amplitude, frequency, ADC, sample rate. Sample a sound wave in two different sample rates.

How sound is sampled and stored in digital form Sound travels as a wave. In computer science, you need to be aware of the amplitude and frequency of a sound wave.

Computers store, process and interpret information in 1’s and 0’s, binary code. In order to store the waves digitally on the computer, we need to convert the waveform into a numerical representation (binary)

How sound is sampled and stored in digital form Sound waves are analogue, and as computer scientists we are concerned with how these analogue waves get stored digitally on a computer. To store the sound in binary, we need to convert the analogue signal, to a digital, binary one. This process is called analogue to digital conversion.

Video Time https://www.youtube.com/watch?v=1ZV_TxtLd_c

ADC - Sampling An ADC works by taking samples of a sound wave at regular intervals. Sample

SAMPLING RATE 5 4 3 2 1 10 regular intervals = 10Hz 00000100 00000000 00000000 -1 -2 -3 -4 -5 10000100 Analogue sound wave SAMPLING RATE Digital signal

Tasks You will now become a ADC! Your task is to sample the following sound wave. You must take a sample of the wave’s amplitutde every 5 milliseconds (ms) Record each sample in the table below Convert each sample into binary

ADC - Sampling Sample rate – the number of samples taken every second The quality and size of a file is affected by two factors: Sample rate – the number of samples taken every second Bit depth – the number of bits used to store each sample. The greater the frequency of samples (sample rate), the better the sound quality and file size. Also, the more bits that are sampled, the greater the accuracy of the file, but also the greater the size.

Plenary When using an ADC, as computer scientists, we care most about two things: Size of the sound file (how many bits are required to store it) Quality of the sound file (how closely the digital signal matches the original sound wave) Which of the two tracks we listened to do you think was larger in file size?

Lesson 2

Lesson 2 – Calculating Audio File Size Last lesson we looked at how computers use ADC’s to convert analogue sound waves to digital signals.

Aims By the end of this lesson I will: Understand that the sample rate and bit depth have a direct impact on the size of a sound file. Be able to calculate the file size of an audio file.

Three Factors to Consider The sample rate , or the number of samples taken per second is measured in Hz (Hertz). This also impacts the size of a sound file. Bit depth (also known as resolution) affects the size of a sound file. This is the number of bits required to store each sample. The length in seconds of a recording in seconds is the third factor that impacts the file size.

Video Time https://www.youtube.com/watch?v=NVHxCqQxVVM

Channels (Mono vs Stereo) True stereo sound is recorded with two or more microphones, which is then mixed into two different tracks, representing a unique 'right' and a 'left' channel. The placement of the mics and what they record can vary and be completely independent of each other... sometimes even recording in separate rooms! The end result is that you perceive the sound as being more lifelike. It works because the right and left arrangement of the speakers in your room (or your headphones) means that the right and left channels of audio get more or less routed to each respective ear, tricking your brain into thinking that you are right there in the room with the musicians (ok not really, but it brings you closer to them).

Sample Rate in Hz A common audio sample rate for music is 44,100 samples per second. The unit for the sample rate is hertz (Hz). 44,100 samples per second is 44,100 hertz or 44.1 kilohertz (kHz). Telephone networks and VOIP services can use a sample rate as low as 8 kHz. This uses less data to represent the audio. At 8 kHz, the human voice can still be heard clearly - but music at this sample rate would sound low quality.

Bit depth in bits per sample The bit depth is how many bits are required to store the result of each sample. More bits will be required to store greater and more accurate range of amplitudes. Last lesson we used 4 and 5 bits per sample. This is extremely limited. CD’s use 16 bits per sample.

file size (in bits) = sample rate (hz) * bit depth (bits) * seconds Key Points The formula you will need to remember is: file size (in bits) = sample rate (hz) * bit depth (bits) * seconds Sample rate (Hz) and bit depth (bits per sample) have direct impact on the quality and file size of the recorded sound. They also has an impact on how accurately the computer can reproduce the original sound wave.

Activities Complete the sound file size worksheets.