Representing Sound in a computer Analogue  Analogue sound is produced by being picked up by a transducer (microphone) and converted in an electrical current.

Slides:



Advertisements
Similar presentations
Analog Representations of Sound Magnified phonograph grooves, viewed from above: When viewed from the side, channel 1 goes up and down, and channel 2 goes.
Advertisements

Adam Diel.  In 1981 IBM PC 150 introduced the first PC Speaker.  Each game had to write support for it (sound cards were impractical during this time)
Sound can make multimedia presentations dynamic and interesting.
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.
Chapter 4: Representation of data in computer systems: Sound OCR Computing for GCSE © Hodder Education 2011.
I Power Higher Computing Multimedia technology Audio.
SWE 423: Multimedia Systems Chapter 3: Audio Technology (2)
Speech Compression. Introduction Use of multimedia in personal computers Requirement of more disk space Also telephone system requires compression Topics.
4-Integrating Peripherals in Embedded Systems (cont.)
Analog to Digital Conversion. 12 bit vs 16 bit A/D Card Input Volts = A/D 12 bit 2 12 = Volts = Volts = 2048 −10 Volts = 0 Input Volts.
Comp 1001: IT & Architecture - Joe Carthy 1 Review Floating point numbers are represented in scientific notation In binary: ± m x 2 exp There are different.
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.
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 Voice Communication Link EE 413 – TEAM 2 April 21 st, 2005.
Chapter 2 : Business Information Business Data Communications, 4e.
Core 3: Communication Systems. Encoding and decoding analog and digital signals…  Encoding involves converting data from its original form into another.
Fundamentals of Digital Audio. The Central Problem n Waves in nature, including sound waves, are continuous: Between any two points on the curve, no matter.
SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.
 Principles of Digital Audio. Analog Audio  3 Characteristics of analog audio signals: 1. Continuous signal – single repetitive waveform 2. Infinite.
Analogue and Digital Signals SL – Option C.1. Signals When talking about electronics we will talk about ‘signals’ –This is simply the transfer of information.
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
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.
Computer Science 121 Scientific Computing Winter 2014 Chapter 13 Sounds and Signals.
Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.
Lab #8 Follow-Up: Sounds and Signals* * Figures from Kaplan, D. (2003) Introduction to Scientific Computation and Programming CLI Engineering.
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
1 Week 10: Audio Recording. 2 Overview  What is sound?  What does analogue mean?  Analogue-to-Digital conversion  Key terms in digital audio  Compression.
Multimedia def. Many forms Multimedia Text Hyperlinks Images Audio Animation Video Text Hyperlinks Images Audio Animation Video.
1 4-Integrating Peripherals in Embedded Systems (cont.)
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.
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.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
Music Tech.  What is the definition of sound?  What is a wave?
Introduction to SOUND.
Sega 500 Audio in UT2003 Jeff “Ezeikeil” Giles
1 Introduction to Information Technology LECTURE 6 AUDIO AS INFORMATION IT 101 – Section 3 Spring, 2005.
Analogue & Digital. Analogue Sound Storage Devices.
Digital Audio System PCM streams have two basic properties that determine their fidelity to the original analog signal: the sampling rate, which is the.
CSCI-100 Introduction to Computing Hardware Part II.
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.
Digital technology Contents: Base 2 and base 10 number system Bits and bytes PN diodes Boolean logic Logic gates Digital and analog basics Storing devices.
Residential Audio & Video Systems Copyright © 2005 Heathkit Company, Inc. All Rights Reserved Presentation 15 – Digital Audio and Video.
Data Representation: Sound
GCSE COMPUTER SCIENCE Data
3.3 Fundamentals of data representation
Image and Sound Representation
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Image and Sound Representation
Binary Representation in Audio and Images
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
Chapter 5:- Sound Eyad Alshareef Eyad Alshareef.
Data Representation Keywords Sound
Web Design and Development
Chapter 4: Representing sound
Representing Sound 2.6 – Data Representation.
COMS 161 Introduction to Computing
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.
WJEC GCSE Computer Science
Presentation transcript:

Representing Sound in a computer Analogue  Analogue sound is produced by being picked up by a transducer (microphone) and converted in an electrical current or voltage that is dependant on the pressure of the sound waves that are incoming.  To hear analogue sound the electric current is used to create sound by vibrating a mechanical surface in a speaker or earphone reproducing the original sound wave. The higher the pitch the more rapids the vibrations.  Digital sound is where the electrical signal from a transducer is converted into a sequence of numerical values proportional to the strength of the signal.

Representing Sound in a computer Analogue to Digital Conversion Below is a diagram on how we receive sound – as waves

Representing Sound in a computer Analogue to Digital Conversion When you sample the wave with an analogue-to-digital converter, you have control over two variables:  The sampling rate - Controls how many samples are taken per second  The sampling precision - Controls how many different gradations (quantization levels) are possible when taking the sample In the following figure, let's assume that the sampling rate is 1,000 per second and the precision is 10:

Representing Sound in a computer Analogue to Digital Conversion The green rectangles represent samples. Every one-thousandth of a second, the ADC looks at the wave and picks the closest number between 0 and 9. The number chosen is shown along the bottom of the figure. These numbers are a digital representation of the original wave. You can see that the blue line lost quite a bit of the detail originally found in the red line, and that means the fidelity of the reproduced wave is not very good. This is the sampling error.

Representing Sound in a computer Analogue to Digital Conversion In the following figure, both the rate and the precision have been improved by a factor of 2 (20 gradations at a rate of 2,000 samples per second):

Representing Sound in a computer Analogue to Digital Conversion In the following figure, the rate and the precision have been doubled again (40 gradations at 4,000 samples per second): You can see that as the rate and precision increase, the fidelity (the similarity between the original wave and the DAC's output) improves. In the case of CD sound, fidelity is an important goal, so the sampling rate is 44,100 samples per second and the number of gradations is 65,536. At this level, the output of the DAC so closely matches the original waveform that the sound is essentially "perfect" to most human ears.

Representing Sound in a computer Analogue to Digital Conversion CD-DA, the standard audio CD, is said to have a data rate of 44.1 kHz/16, meaning that the audio data was sampled 44,100 times per second and with a bit depth of 16. CD-DA is also stereo, using a left and right channel, so the amount of audio data per second is double that of mono, where only a single channel is used. stereochannel The bit rate of PCM audio data can be calculated with the following formula: For example, the bit rate of a CD-DA recording (44.1 kHz sampling rate, 16 bits per sample and 2 channels) can be calculated as follows

Representing Sound in a computer Analogue to Digital Conversion The cumulative size of a length of audio data (excluding a file header or other metadata) can be calculated using the following formula:headermetadata The cumulative size in bytes can be found by dividing the file size in bits by the number of bits in a byte, which is 8: Therefore, 80 minutes (4,800 seconds) of CD-DA data requires 846,720,000 bytes of storage:

Representing Sound in a computer 1)Investigate what the process of converting to mp3 does to a sound track. 2)What does lossless mean? 3)What does lossy mean? 4)Read page 84 – 86 in your text books. 5)Answer the questions on page 86.