Digital Media Lecture 12: Additional Audio Georgia Gwinnett College

Slides:



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

Foundations of Physics
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.
Chapter 11 Sound.
Chapter 4 Powerpoint: Hearing
The Nature of Sound
Why it’s important: Human communication relies on cords vibrating in throats to send waves through gas, liquids, and solids that end up as electrical.
Waves.
Sound Sound is a wave that carries vibrations. It is mechanical, longitudinal, and a pressure wave.
Section 1: Sound Preview Key Ideas Bellringer Properties of Sound
Waves and Sound. Mechanical Waves Waves are created by an energy source making a vibration that moves through a medium. Mechanical waves are disturbances.
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?
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.
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.
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.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 9 This presentation © 2004, MacAvon Media Productions Sound.
Chapter 12 Sound.
Introduction to SOUND.
Can You Hear It? (Almost) Everything You Need to Know About Sound.
By Rhett Price. Speed of sound depends on density Correlation between speed and density Not as fast as light speed Also affected by pressure and temperature.
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?
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?
Digital Media Dr. Jim Rowan ITEC 2110 Audio. What is audio?
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.
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.
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 and Hearing Chapter 17.4 Properties of Sound Waves Sound waves are longitudinal waves. Many behaviors of sound can be explained using a few properties-
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 and LightSection 1 Section 1: Sound Preview Key Ideas Bellringer Properties of Sound Musical Instruments Hearing and the Ear Ultrasound and Sonar.
How are sound waves produced? Why does the speed of sound waves vary in different materials? How do your ears enable you to hear sounds? Sound.
10.2 Essential Questions How is sound intensity measured?
Unit 2 Lesson 1 Sound Waves and Hearing
Integrated Science Unit 4, Chapter 13.
Unit 2 Lesson 1 Sound Waves and Hearing
Mechanical Waves and Sound
Section 1: Sound Preview Key Ideas Bellringer Properties of Sound
Unit 1.3 Sound.
Section 1: Sound Preview Key Ideas Bellringer Properties of 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.
Mechanical Waves and Sound
C-15 Sound Physics 1.
Waves and Wave Properties
The Nature of Sound Chapter 21
Sound and Hearing it.
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 Energy sound is energy Sound travels on a longitudinal wave:
Waves and Wave Properties
Sound and HOW WE Hear it.
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.
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.
Sound The Nature of Sound.
Sound and Hearing it.
Presentation transcript:

Digital Media Lecture 12: Additional Audio Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan

Audio & Illusions Can you hear this? Audio illusion: “Creep” “mosquito ring tone” http://www.freemosquitoringtones.org/hearing_test/ Audio illusion: “Creep” http://www.youtube.com/watch?v=ugriWSmRxcM

The nature of sound First, a video from ted.com http://www.wimp.com/howsound/

Other related video #1 How to use visualizations of human speech and music to explain computation: http://www.youtube.com/watch?v=mGc6clf_Wt4&feature=bf_prev&list=PL278ECDA0705DAF3DS

Other related video #2 David Byrne on how the venue shapes the form of the music performed: http://www.ted.com/talks/lang/en/david_byrne_how_architecture_helped_music_evolve.html

The nature of sound Three types we will discuss 1) Environmental sound (sounds found in the environment) and there are two special classes of audio 2) Music 3) Speech

The nature of sound Environmental sounds Music and Speech Provides information about the surroundings that the human is currently in Music and Speech Functionally and uniquely different than other sounds Music Carries a cultural status Can be represented by non-sound: MIDI Can be represented by a musical score 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…

No… it’s REALLY complicated.. http://en.wikipedia.org/wiki/Ear 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 Audio creep… Play a 200 Hz pure tone Softly at first Gradually increase the volume Most listeners will report that the tone drops in pitch as the volume increases Play a 2000 Hz pure tone Most listeners will report that the tone rises in pitch as the volume increases

Why do you think… You can’t tell where some sounds come from (like 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 You hear sound that isn’t there (tinnitis) Phantom sounds Heard… but not there Masking sounds Not simply drowning them out Can mask a sound that occurs before the masking sound actually starts

Why do you think… (cont) You can hear your name in a noisy room Cocktail party effect http://en.wikipedia.org/wiki/Cocktail_party_effect Still very much a subject of research

Why? It’s complicated! Psychoacoustics http://en.wikipedia.org/wiki/Psychoacoustics Psychoacoustics The study of human sound perception The study of the psychological and physiological affects of sound

Why? It’s complicated! Sound is physical phenomenon that is interpreted through the human perceptual system Wavelength affects stereo hearing The distance between your ears related to the wavelength Speed of sound affects stereo hearing The faster the sound travels, the wider apart your ears need to be 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

Processing Audio

Processing audio How can we characterize sound? Waveform displays Amplitude Frequency Time Waveform displays Summed amplitude of all frequencies & time Amplitude & frequency components at one point in time Amplitude & frequency & time

Summed energy & time

Croak! Play Croak!

The sonogram, a snapshot of frequency Croak! Play Croak!

Another way to show audio, frequency density across time Slim Pickens from Dr. Strangelove

Croak! Play Croak!

More examples… Pure sine wave G, E, C Bassoon playing the same notes

Summed energy & time G C E

Sonogram G C E

Frequency snapshot

Frequency over 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 is Weird… add noise… get better sounding result?!? 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 dithering

Audio processing terms to know Clipping …but you don’t know how high the amplitude will be before the performance is recorded Noise gate has an amplitude threshold Notch filter remove 60 cycle hum Low pass filter High pass filter Time stretching (or shrinking… Limbaugh) Pitch alteration Envelope shaping (modifying attack)

What these filters look like: High pass filter

What these filters look like: Low pass filter

What these filters look like: Notch filter

Audio clipping

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 or traffic roaring in the background? A piece of software can’t do this… …not yet anyway!

Compressing sound: Voice Remove silence Similar to RLE Non-linear quantization “companding” Quiet sounds are represented in greater detail than loud ones

Compressing sound: Voice Differential Pulse Code Modulation (DPCM) Related to temporal (inter-frame) video 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 sample step size Large differences were encoded using large steps Small differences were encoded using small steps

Sound compression that is based on perception The idea is to remove what doesn’t matter Based on the psycho-acoustic model Threshold of hearing Remove sounds too low to be heard High and low frequencies not as important (for voice)