CS 414 Multimedia Systems Design Lecture 2 Auditory

  • Slides: 25
Download presentation
CS 414 – Multimedia Systems Design Lecture 2 –Auditory Perception and Digital Audio Klara

CS 414 – Multimedia Systems Design Lecture 2 –Auditory Perception and Digital Audio Klara Nahrstedt Spring 2011 CS 414 - Spring 2011

Administrative n Form Groups for MPs ¨ Deadline: Latest January 24 to email TA

Administrative n Form Groups for MPs ¨ Deadline: Latest January 24 to email TA shushi 2@illinois. edu CS 414 - Spring 2011

CS 414 - Spring 2011

CS 414 - Spring 2011

Auditory Perception Sound – physical phenomenon caused by vibration of material n These vibrations

Auditory Perception Sound – physical phenomenon caused by vibration of material n These vibrations trigger pressure wave fluctuations in the air n Wave forms n CS 414 - Spring 2011

Changes in Air Pressure CS 414 - Spring 2011

Changes in Air Pressure CS 414 - Spring 2011

Auditory System n Ears, parts of brain, and neural pathways n Changes in pressure

Auditory System n Ears, parts of brain, and neural pathways n Changes in pressure move hair-like fibers within the inner ear n Movements result in electrical impulses sent to the brain

Physical Dimensions n n Amplitude ¨ height of a cycle ¨ relates to loudness

Physical Dimensions n n Amplitude ¨ height of a cycle ¨ relates to loudness Wavelength (w) ¨ distance between peaks Frequency ( ) ¨ cycles per second ¨ relates to pitch ¨ w = velocity Most sounds mix many frequencies & amplitudes Sound is repetitive changes in air pressure over time

Sound Perception and Psychoacoustics n Psychoacoustics ¨ Study correlation between physics of acoustical stimuli

Sound Perception and Psychoacoustics n Psychoacoustics ¨ Study correlation between physics of acoustical stimuli and hearing sensations ¨ Experimental data and models are useful for audio codec n Modeling human hearing mechanisms ¨ Allows to reduce the data rate while keeping distortion from being audible CS 414 - Spring 2011

Psychological Dimensions n Loudness ¨ higher amplitude results in louder sounds ¨ measured in

Psychological Dimensions n Loudness ¨ higher amplitude results in louder sounds ¨ measured in decibels (db), 0 db represents hearing threshold n Pitch ¨ higher frequencies perceived as higher pitch ¨ Humans hear sounds in 20 Hz to 20, 000 Hz range CS 414 - Spring 2011

Psychological Dimensions (cont. ) n Timbre (tam-bre) complex patterns added to the lowest, or

Psychological Dimensions (cont. ) n Timbre (tam-bre) complex patterns added to the lowest, or fundamental, frequency of a sound, referred to as spectra ¨ spectra enable us to distinguish musical instruments ¨ n Multiples of fundamental frequency give music n Multiples of unrelated frequencies give noise

Sound Intensity n Intensity (I) of a wave is the rate at which sound

Sound Intensity n Intensity (I) of a wave is the rate at which sound energy flows through a unit area (A) perpendicular to the direction of travel P measured in watts (W), A measured in m 2 n n Threshold of hearing is at 10 -12 W/m 2 Threshold of pain is at 1 W/m 2 CS 414 - Spring 2011

Decibel Scale n Describes intensity relative to threshold of hearing based on multiples of

Decibel Scale n Describes intensity relative to threshold of hearing based on multiples of 10 I 0 is reference level = 10 -12 W/m 2 CS 414 - Spring 2011

Decibels of Everyday Sounds Sound Decibels Rustling leaves 10 Whisper 30 Ambient office noise

Decibels of Everyday Sounds Sound Decibels Rustling leaves 10 Whisper 30 Ambient office noise 45 Conversation 60 Auto traffic 80 Concert 120 Jet motor 140 Spacecraft launch 180

Interpretation of Decibel Scale n n 0 d. B = threshold of hearing (TOH)

Interpretation of Decibel Scale n n 0 d. B = threshold of hearing (TOH) 10 d. B = 10 times more intense than TOH 20 d. B = 100 times more intense than TOH 30 d. B = 1000 times more intense than TOH n An increase in 10 d. B means that the intensity of the sound increases by a factor of 10 n If a sound is 10 x times more intense than another, then it has a sound level that is 10*x more decibels than the less intense sound CS 414 - Spring 2011

Loudness from Multiple Sources n Use energy combination equation where L 1, L 2,

Loudness from Multiple Sources n Use energy combination equation where L 1, L 2, …, Ln are in d. B CS 414 - Spring 2011

Exercises n n Show that the threshold of hearing is at 0 d. B

Exercises n n Show that the threshold of hearing is at 0 d. B Show that the threshold of pain is at 120 d. B n Suppose an electric fan produces an intensity of 40 d. B. How many times more intense is the sound of a conversation if it produces an intensity of 60 d. B? n One guitar produces 45 d. B while another produces 50 d. B. What is the d. B reading when both are played? n If you double the physical intensity of a sound, how many more decibels is the resulting sound? CS 414 - Spring 2011

Loudness and Pitch n More sensitive to loudness at mid frequencies than at other

Loudness and Pitch n More sensitive to loudness at mid frequencies than at other frequencies ¨ intermediate frequencies at [500 hz, 5000 hz] ¨ Human hearing frequencies at [20 hz, 20000 hz] n Perceived loudness of a sound changes based on frequency of that sound ¨ basilar membrane reacts more to intermediate frequencies than other frequencies CS 414 - Spring 2011

Fletcher-Munson Contours Each contour represents an equal perceived sound Perception sensitivity (loudness) is not

Fletcher-Munson Contours Each contour represents an equal perceived sound Perception sensitivity (loudness) is not linear across all frequencies and intensities CS 414 - Spring 2011

Masking n Perception of one sound interferes with another n Frequency masking n Temporal

Masking n Perception of one sound interferes with another n Frequency masking n Temporal masking CS 414 - Spring 2011

Frequency Masking n Louder, lower frequency sounds tend to mask weaker, higher frequency sounds

Frequency Masking n Louder, lower frequency sounds tend to mask weaker, higher frequency sounds From http: //www. cs. sfu. ca/Course. Central/365/ CS 414 - Spring 2011

Frequency Masking n Louder, lower frequency sounds tend to mask weaker, higher frequency sounds

Frequency Masking n Louder, lower frequency sounds tend to mask weaker, higher frequency sounds CS 414 - Spring 2011

Frequency Masking n Louder, lower frequency sounds tend to mask weaker, higher frequency sounds

Frequency Masking n Louder, lower frequency sounds tend to mask weaker, higher frequency sounds CS 414 - Spring 2011

Temporal Masking n n When exposed to a loud sound, the human ear contracts

Temporal Masking n n When exposed to a loud sound, the human ear contracts slightly to protect delicate structures Causes louder sounds to overpower weaker sounds just before and just after it CS 414 - Spring 2011

Temporal Masking CS 414 - Spring 2011

Temporal Masking CS 414 - Spring 2011

Summary Auditory Perception is very important for understanding digital audio representation n Psychoacoustic is

Summary Auditory Perception is very important for understanding digital audio representation n Psychoacoustic is used in MP 3 audio compression n CS 414 - Spring 2011