Digital Media Dr. Jim Rowan ITEC 2110 Audio. What is audio?

Slides:



Advertisements
Similar presentations
A sound is a wave and frequency determines pitch
Advertisements

Digital Signal Processing
Sound can make multimedia presentations dynamic and interesting.
I Power Higher Computing Multimedia technology Audio.
Sound.
SIMS-201 Characteristics of Audio Signals Sampling of Audio Signals Introduction to Audio Information.
1 Digital Audio Compression. 2 Formats  There are many different formats for storing and communicating digital audio:  CD audio  Wav  Aiff  Au 
Digital Audio.
Sound and Hearing. Sound Waves Sound waves are mechanical and longitudinal waves What does this tell you about sound waves? Sound waves need a material.
Howell Istance School of Computing De Montfort University
Sensory Systems: Auditory. What do we hear? Sound is a compression wave: When speaker is stationary, the air is uniformly dense Speaker Air Molecules.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
1 Audio Compression Multimedia Systems (Module 4 Lesson 4) Summary: r Simple Audio Compression: m Lossy: Prediction based r Psychoacoustic Model r MPEG.
Vibrations Sound waves are compression waves. They are made of atoms being pushed, or compressed, by other atoms. Why wouldn’t sound waves carry in.
Sound Sound is a wave that carries vibrations. It is mechanical, longitudinal, and a pressure wave.
Digital Media Lecture 12: Additional Audio Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Dr. Jim Rowan ITEC 2110 Audio. What is audio?
Sound JEOPARDY Sound Energy Too Much Noise! Play It Again I Can’t Hear You
DTC 354 Digital Storytelling Rebecca Goodrich. Wave made up of changes in air pressure by an object vibrating in a medium—water or air.
C-15 Sound Physics Properties of Sound If you could see atoms, the difference between high and low pressure is not as great. The image below is.
Art 321 Sound, Audio, Acoustics Dr. J. Parker. Sound What we hear as sound is caused by rapid changes in air pressure! It is thought of as a wave, but.
CSC361/661 Digital Media Spring 2002
15.1 Properties of Sound  If you could see atoms, the difference between high and low pressure is not as great.  The image below is exaggerated to show.
Digital Media Lecture 12: Additional Audio Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
11. Chapter 11: Motion Unit 3: Energy On the Move Table of Contents 11.3: MusicMusic 11.1: The Nature of Sound 11.2: Properties of SoundProperties of.
Sound is a form of energy that travels in waves..
Basics of Digital Audio Outline  Introduction  Digitization of Sound  MIDI: Musical Instrument Digital Interface.
Sound and audio. Table of Content 1.Introduction 2.Properties of sound 3.Characteristics of digital sound 4.Calculate audio data size 5.Benefits of using.
Sound Overview The Facts of Sound The Ear and Sound Sound Vocabulary Musical Instruments and Sound.
Chapter 12 Sound.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 9 This presentation © 2004, MacAvon Media Productions Sound.
Sound and Waves Integrated Science. Sound Waves Description  Light waves are transverse waves.  Sound waves are longitudinal waves.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
Digital Media Dr. Jim Rowan ITEC 2110 Audio. What is audio?
Encoding and Simple Manipulation
EQ: How do different mediums affect the speed of sound?
The of SOUND What is it? There are two ingredients for sound. First, we need a VIBRATION, then a MEDIUM.
Digital Audio III. Sound compression (I) Compression of sound data requires different techniques from those for graphical data Requirements are less stringent.
Digital Media Dr. Jim Rowan ITEC 2110 Audio. What is audio?
10.2 Essential Questions How is sound intensity measured?
Section 4: The Nature of Sound. Sounds All sounds are caused by something that vibrates. Your vocal cords vibrate in relation to controlled bursts of.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
Sound Questions.
Chapter 16 Sound Waves.
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.
Sound Notes. Sound is a Wave Sound is a type of ____________________ Sound is a wave that is produced by a ___________________ and travels through matter.
 Mechanical wave- a disturbance in matter that carries energy from one place to another  Require a medium to travel through ◦ A medium can be a.
1 Sound Chapter The Nature of Sound Remember: -every sound is produced by an object that vibrates. -sound waves are compressional waves, which are.
Properties Of Sound Sound waves are produced as longitudinal waves by compressions and rarefactions in matter. The medium for sound waves can be solid,
SOUND It is composed of waves of compression and rarefaction in which the human ear is sensitive It is composed of waves of compression and rarefaction.
Sound and LightSection 1 Properties of Sound 〉 What are the characteristics of sound waves? 〉 Sound waves are caused by vibrations and carry energy through.
SOUND! SOL 5.2. Sound is ENERGY Sound is transmitted by waves. All sound is a vibration.
Every sound is produced by an object that vibrates. For example, your friends’ voices are produced by the vibrations of their vocal cords, and music from.
10.2 Essential Questions How is sound intensity measured?
Ch Sound The Nature of Sound Speed of Sound Human Hearing
Unit 1.3 Sound.
Sound Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman
17.4 Sound and Hearing.
Section 1 The Nature of Sound
Sound Sound is a longitudinal wave. The source of a sound wave is something vibrating (your vocal cords, some part of a musical instrument, mosquito’s.
Close your eyes and listen to these sounds.
C-15 Sound Physics 1.
Bits and Pieces November 6, 2007.
The Nature of Sound Chapter 21
Digital Media Lecture 12: Additional Audio Georgia Gwinnett College
Vibrations Sound waves are compression waves. They are made of atoms being pushed, or compressed, by other atoms. Why wouldn’t sound waves carry in.
Vibrations Sound waves are compression waves. They are made of atoms being pushed, or compressed, by other atoms. Why wouldn’t sound waves carry in.
Digital Media Dr. Jim Rowan ITEC 2110 Audio.
Vibrations Sound waves are compression waves. They are made of atoms being pushed, or compressed, by other atoms. Why wouldn’t sound waves carry in.
Chapter 4-1 Sound.
Presentation transcript:

Digital Media Dr. Jim Rowan ITEC 2110 Audio

What is audio?

First, some demos Can you hear this? – usions/highfreq1.mp3 –“mosquito ring tone” Audio illusion “Creep” – mRxcM

The nature of sound There are two special types of audio Functionally and uniquely different than other sounds –Music Cultural status Can be represented as non-sound: MIDI –Speech Linquistic content Lends itself to special compression

And it’s complicated Converting energy to vibrations and back Transported through some medium –Either air or some other compressible medium Consider speech –Starts as an electrical signal (brain & nerves) –Ends as an electrical signal (brain & nerves) –But…

And it’s complicated (cont) –Starts as an electrical signal (brain & nerves) ==> –Muscle movement (vocal chords) Vibrates a column of air sending out a series of compression waves in the air –Compression waves cause ear membrane to vibrate ==> –Moves 3 tiny bones ==> –Causes waves in the liquid in the inner ear ==> –Bends tiny hair cells immersed in the liquid ==> –When bent they fire ==> –Sends electrical signals to the cerebral cortex –Processed by the temporal cortex

Audio Illusions Play a 200 Hz tone –Softly at first –Gradually increase the volume –Most listeners will report that the tone drops in pitch as the volume increases Complex tones are reported to have lower pitch than pure tone of the same frequency

Why do you think… You can’t tell where some sounds come from (some alarms for instance) You only need one sub woofer when you need at least two for everything else You can’t tell where sound is coming from underwater Two things running at the same speed make a “beating” sound

Why do you think… (cont) With your eyes closed you can’t tell whether a sound is in front of you or behind you With tinnitis you hear sound that isn’t there Phantom sounds –Heard… but not there Masking sounds –Not simply drowning them out –Can mask a sound that occurs before the masking sound is played

Why do you think… (cont) You can hear your name in a noisy room –Cocktail party effect – effect –Still very much a subject of research

Why? It’s complicated! Sound is physical phenomenon –Wavelength affects stereo hearing –Speed of sound affects stereo hearing –You can tell where a sound comes from if the wavelength is long enough and the speed that sound travels is slow enough to allow the waves arrive at your ears at different times –Speed of sound affects stereo hearing It’s sensory and perceptual experience

Processing Audio

Processing audio How can we look at sound? What do you want to see? Waveform displays –Summed amplitude & time –Amplitude & frequency components at one point in time –Amplitude & frequency & time

Summed amplitude & time

Amplitude & frequency components at one point in time

Amplitude & frequency & time

joe took father’s shoe bench out Summed amplitude & time

Amplitude & frequency & time

Digitized audio As we have seen earlier this semester –Sample rate & quantization level –Reduction in sample rate is less noticeable than reducing the quantization level Jitter is a problem –Slight changes in timing causes problems 20k+ frequencies? –Though they can’t be heard they manifest themselves as aliases when reconstructed

Audio Dithering Book description on page 284 –Figure 9.9 Add random noise to the original signal This noise causes rapid transitioning between the few quantized levels Makes audio with few quantization levels seem more acceptable

Audio processing terms to know Clipping Noise gate –has threshold Notch filter –60 cycle hum Low pass filter High pass filter Time stretching Pitch alteration Envelope shaping

One thing about humans… We can actively “filter out” what we don’t want to hear –remember the cocktail party effect? Over time we don’t hear the pops and snaps of a vinyl record –Have you ever recorded something that you thought would be good only to play it back and hear the air conditioner and the traffic? A piece of software can’t do this

Compressing sound Opposite approach than images –With images you can toss out the high frequencies –With audio you can’t… high frequency changes are highly significant

Compressing sound (cont) Voice? –Remove silence Similar to RLE –(how many seconds of silence?) –Non-linear quantization “companding” –Quiet sounds are represented in greater detail than loud ones Mu-law A-law –Allows a dynamic range that would require 12 bits into 8 bits –4096 (2**12) ==> 256 (2**8)

Compressing sound (cont) Differential Pulse Code Modulation (DPCM) –Related to inter-frame compression It predicts what the next sample will be It sends that difference rather than the absolute value Not as effective for sound as it is for images Adaptive DCPM –Dynamically varies the step size Large differences were encoded using large steps Small differences were encoded using small steps

Compressing sound (cont) that are perceptually based Remove what doesn’t matter Based on the psycho-acoustic model –Threshold of hearing –High and low frequencies not as important (for voice) They require much more power to be heard –Loud tones can mask quiet ones –It can mask sounds before and after they occur

Record & Playback There are two ways to “record” and then “playback” the audio – Play the instruments Record the performance Play the recording back –Write the music down Send the written-down music Perform the written-down music

MIDI There is another way to “write down” the music for performance later. Instead of writing it down on sheet music… Write it down as machine instructions The music can be recorded loops …or it can be generated by the machine

MIDI You can use software to create or capture MIDI music You can use software to play back the MIDI stream P 307, Tables 9.1 and 9.2 –Voice numbers –Drum kit numbers Why are there 128 voice numbers? –Why not 129 or 127? –How many bits? Why are there 32 drum kit numbers? –Why not 33 or 31? –How many bits

Questions?