Basic Acoustics + Digital Signal Processing September 11, 2014.

Slides:



Advertisements
Similar presentations
Acoustic/Prosodic Features
Advertisements

Digital Signal Processing
Theoretical basis for data communication
The Source January 26, 2010 Voice Quality Review ATLTMCFlow Modalmoderatevariesmoderatemed. Creakyhighlowhighlow Breathylowvarieslowhigh.
 Signals  Analog and Digital  Analog and Digital Data & Signals  Periodic & Aperiodic Signals.
PHYSICS OF SOUND PHYSICS OF SOUND HEARING CONSERVATION PROGRAM 1 28 Jan 2013.
The frequency spectrum
1 All About Sound Rob Shaffer Stoklosa Middle School, Lowell June 11, 2013 Note: this lesson utilizes the Audacity computer program to create and analyze.
Frequency, Pitch, Tone and Length October 15, 2012 Thanks to Chilin Shih for making some of these lecture materials available.
Foundations of Physics
SIMS-201 Characteristics of Audio Signals Sampling of Audio Signals Introduction to Audio Information.
Physics of Sounds Overview Properties of vibrating systems Free and forced vibrations Resonance and frequency response Sound waves in air Frequency, wavelength,
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
Chapter 6 (Sections ) Sound. The speed of sound in a substance depends on: the mass of its constituent atoms, and the strength of the forces between.
Chapter 15 Sound 15.1 Properties of Sound 15.2 Sound Waves
Basic Spectrogram Lab 8. Spectrograms §Spectrograph: Produces visible patterns of acoustic energy called spectrograms §Spectrographic Analysis: l Acoustic.
Overview What is in a speech signal?
Chapter 2 : Business Information Business Data Communications, 4e.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
INTRODUCTION TO WAVES. WAVES Waves are a disturbance that travels through space or matter Waves transmit energy.
Lab #8 Follow-Up: Sounds and Signals* * Figures from Kaplan, D. (2003) Introduction to Scientific Computation and Programming CLI Engineering.
Basic Acoustics October 12, 2012 Agenda The Final Exam schedule has been posted: Tuesday, December 18 th, from 8-10 am Location TBD I will look into.
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.
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.
Wireless and Mobile Computing Transmission Fundamentals Lecture 2.
ECEN 621, Prof. Xi Zhang ECEN “ Mobile Wireless Networking ” Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings,
Harmonics November 1, 2010 What’s next? We’re halfway through grading the mid-terms. For the next two weeks: more acoustics It’s going to get worse before.
Experimental Phonetics Session 1- Sound Waves Golnaz Modarresi Ghavami.
COSC 1P02 Introduction to Computer Science 4.1 Cosc 1P02 Week 4 Lecture slides “Programs are meant to be read by humans and only incidentally for computers.
Speech Science Oct 7, 2009.
CIS-325: Data Communications1 CIS-325 Data Communications Dr. L. G. Williams, Instructor.
Introduction to SOUND.
David Meredith Aalborg University
Georgia Institute of Technology Introduction to Processing Digital Sounds part 1 Barb Ericson Georgia Institute of Technology Sept 2005.
Frequency, Pitch, Tone and Length October 16, 2013 Thanks to Chilin Shih for making some of these lecture materials available.
1 Introduction to Information Technology LECTURE 6 AUDIO AS INFORMATION IT 101 – Section 3 Spring, 2005.
Properties of Sound Making Waves. Sound Waves ■Sound is created by vibrations.
Resonance October 23, 2014 Leading Off… Don’t forget: Korean stops homework is due on Tuesday! Also new: mystery spectrograms! Today: Resonance Before.
Digital Signal Processing January 16, 2014 Analog and Digital In “reality”, sound is analog. variations in air pressure are continuous = it has an amplitude.
Voice Quality + Korean Stops October 16, 2014 Don’t Forget! The mid-term is on Tuesday! So I have a review sheet for you. For the mid-term, we will just.
Vowel Acoustics March 10, 2014 Some Announcements Today and Wednesday: more resonance + the acoustics of vowels On Friday: identifying vowels from spectrograms.
Hearing: Physiology and Psychoacoustics 9. The Function of Hearing The basics Nature of sound Anatomy and physiology of the auditory system How we perceive.
Encoding and Simple Manipulation
Loudness level (phon) An equal-loudness contour is a measure of sound pressure (dB SPL), over the frequency spectrum, for which a listener perceives a.
Frequency, Pitch, Tone and Length February 12, 2014 Thanks to Chilin Shih for making some of these lecture materials available.
Resonance January 28, 2010 Last Time We discussed the difference between sine waves and complex waves. Complex waves can always be understood as combinations.
Chapter 2 Basic Science: Analog and Digital Audio.
CHAPTER 4 COMPLEX STIMULI. Types of Sounds So far we’ve talked a lot about sine waves =periodic =energy at one frequency But, not all sounds are like.
Resonance March 7, 2014 Looking Ahead I’m still behind on grading the mid-term and Production Exercise #1… They should be back to you by Friday.
Voicing + Basic Acoustics October 14, 2015 Agenda Production Exercise #2 is due on Friday! No transcription exercise this Friday! Today, we’ll begin.
1 Signals. 2 Signals Introduction Introduction Analog and Digital Analog and Digital.
Sound Questions.
Acoustic Phonetics 3/14/00.
Voicing + Basic Acoustics October 14, 2015 Agenda Production Exercise #2 is due on Friday! No transcription exercise this Friday! Today, we’ll begin.
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.
Chapter 12 Preview Objectives The Production of Sound Waves
Data and Signals & Analouge Signaling
HOW WE TRANSMIT SOUNDS? Media and communication 김경은 김다솜 고우.
Basic Acoustics + Digital Signal Processing January 11, 2013.
Resonance October 29, 2015 Looking Ahead I’m still behind on grading the mid-term and Production Exercise #1… They should be back to you by Monday. Today:
Harmonics October 28, Where Were We? Mid-terms: our goal is to get them back to you by Friday. Production Exercise #2 results should be sent to.
Analyzing the Speech Signal
C-15 Sound Physics 1.
Sound & Sound Waves.
Table of Contents Introduction to Waves
Analyzing the Speech Signal
Signals Prof. Choong Seon HONG.
CSE 313 Data Communication
Presentation transcript:

Basic Acoustics + Digital Signal Processing September 11, 2014

Road Map! For today: Part 1: Go through a review of the basics of (analog) acoustics. Part 2: Converting sound from analog to digital format. Any questions so far?

Part 1: An Acoustic Dichotomy Acoustically speaking, there are two basic kinds of sounds: 1.Periodic = an acoustic pattern which repeats over time The “period” is the length of time it takes for the pattern to repeat Periodic speech sounds = voiced segments + trills 2. Aperiodic Continuous acoustic energy which does not exhibit a repeating pattern Aperiodic speech sounds = fricatives

The Third Wheel There are also acoustic transients. = aperiodic speech sounds which are not continuous i.e., they are usually very brief Transient speech sounds: stop release bursts clicks also (potentially) individual pulses in a trill Let’s look at the acoustic properties of each type of sound in turn…

P in F ad How is a periodic sound transmitted through the air? Consider a bilabial trill: Acoustics: Basics

What does sound look like? Air consists of floating air molecules Normally, the molecules are suspended and evenly spaced apart from each other What happens when we push on one molecule?

What does sound look like? The force knocks that molecule against its neighbor The neighbor, in turn, gets knocked against its neighbor The first molecule bounces back past its initial rest position initial rest position

What does sound look like? The initial force gets transferred on down the line rest position #1 rest position #2 The first two molecules swing back to meet up with each other again, in between their initial rest positions Think: bucket brigade

Compression Wave A wave of force travels down the line of molecules Ultimately: individual molecules vibrate back and forth, around an equilibrium point The transfer of force sets up what is called a compression wave. What gets “compressed” is the space between molecules Check out what happens when we blow something up!

Compression Wave area of high pressure (compression) area of low pressure (rarefaction) Compression waves consist of alternating areas of high and low pressure

Pressure Level Meters Microphones Have diaphragms, which move back and forth with air pressure variations Pressure variations are converted into electrical voltage Ears Eardrums move back and forth with pressure variations Amplified by components of middle ear Eventually converted into neurochemical signals We experience fluctuations in air pressure as sound

Measuring Sound What if we set up a pressure level meter at one point in the wave? Time pressure level meter

Sine Waves The reading on the pressure level meter will fluctuate between high and low pressure values In the simplest case, the variations in pressure level will look like a sine wave. time pressure

Other Basic Sinewave concepts Sinewaves are periodic; i.e., they recur over time. The period is the amount of time it takes for the pattern to repeat itself. A cycle is one repetition of the acoustic pattern. The frequency is the number of times, within a given timeframe, that the pattern repeats itself. Frequency = 1 / period usually measured in cycles per second, or Hertz The peak amplitude is the the maximum amount of vertical displacement in the wave = maximum (or minimum) amount of pressure

Waveforms A waveform plots air pressure on the y axis against time on the x axis.

Phase Shift Even if two sinewaves have the same period and amplitude, they may differ in phase. Phase essentially describes where in the sinewave cycle the wave begins. This doesn’t affect the way that we hear the waveform. Check out: sine waves vs. cosine waves!

Complex Waves It is possible to combine more than one sinewave together into a complex wave. At any given time, each wave will have some amplitude value. A 1 (t 1 ) := Amplitude value of sinewave 1 at time 1 A 2 (t 1 ) := Amplitude value of sinewave 2 at time 1 The amplitude value of the complex wave is the sum of these values. A c (t 1 ) = A 1 (t 1 ) + A 2 (t 1 )

Complex Wave Example Take waveform 1: high amplitude low frequency Add waveform 2: low amplitude high frequency The sum is this complex waveform: + =

A Real-Life Example 480 Hz tone 620 Hz tone the combo = ?

Spectra One way to represent complex waves is with waveforms: y-axis: air pressure x-axis: time Another way to represent a complex wave is with a power spectrum (or spectrum, for short). Remember, each sinewave has two parameters: amplitude frequency A power spectrum shows: amplitude on the y-axis frequency on the x-axis

One Way to Look At It Combining 100 Hz and 1000 Hz sinewaves results in the following complex waveform: amplitudeamplitude time

The Other Way The same combination of 100 Hz and 1000 Hz sinewaves results in the following power spectrum: amplitudeamplitude frequency

The Third Way A spectrogram shows how the spectrum of a complex sound changes over time. frequencyfrequency time intensity (related to amplitude) is represented by shading in the z-dimension Hz 100 Hz

Fundamental Frequency One last point about periodic sounds: Every complex wave has a fundamental frequency (F0). = the frequency at which the complex wave pattern repeats itself. This frequency happens to be the greatest common denominator of the frequencies of the component waves. Example: greatest common denominator of 100 and 1000 is 100. (boring!) GCD of 480 and 620 Hz is 20. GCD of 600 and 800 Hz is 200, etc.

Aperiodic sounds Not all sounds are periodic Aperiodic sounds are noisy Their pressure values vary randomly over time “white noise” Interestingly: White noise sounds the same, no matter how fast or slow you play it.

Fricatives Fricatives are aperiodic speech sounds [s] [f]

Aperiodic Spectra The power spectrum of white noise has component frequencies of random amplitude across the board:

Aperiodic Spectrogram In an aperiodic sound, the values of the component frequencies also change randomly over time.

Transients A transient is: “a sudden pressure fluctuation that is not sustained or repeated over time.” An ideal transient waveform:

A Transient Spectrum An ideal transient spectrum is perfectly flat:

As a matter of fact Note: white noise and a pure transient are idealizations We can create them electronically… But they are not found in pure form in nature. Transient-like natural sounds include: Hand clapping Finger snapping Drum beats Tongue clicking

Click Waveform some periodic reverberation initial impulse

Click Spectrum Reverberation emphasizes some frequencies more than others

Click Spectrogram some periodic reverberation initial impulse

Part 2: Analog and Digital In “reality”, sound is analog. variations in air pressure are continuous = it has an amplitude value at all points in time. and there are an infinite number of possible air pressure values. Back in the bad old days, acoustic phonetics was strictly an analog endeavor. analog clock

Part 2: Analog and Digital In the good new days, we can represent sound digitally in a computer.  In a computer, sounds must be discrete. everything = 1 or 0 digital clock Computers represent sounds as sequences of discrete pressure values at separate points in time. Finite number of pressure values. Finite number of points in time.

Analog-to-Digital Conversion Recording sounds onto a computer requires an analog-to- digital conversion (A-to-D) When computers record sound, they need to digitize analog readings in two dimensions: X: Time (this is called sampling) Y: Amplitude (this is called quantization) sampling quantization

Sampling Example Thanks to Chilin Shih for making these materials available.

Sampling Example

Sampling Rate Sampling rate = frequency at which samples are taken. What’s a good sampling rate for speech? Typical options include: Hz, Hz, Hz sometimes even Hz and Hz Higher sampling rate preserves sound quality. Lower sampling rate saves disk space. (which is no longer much of an issue) Young, healthy human ears are sensitive to sounds from 20 Hz to 20,000 Hz

One Consideration The Nyquist Frequency = highest frequency component that can be captured with a given sampling rate = one-half the sampling rate Problematic Example: 100 Hz sound 100 Hz sampling rate samples Harry Nyquist ( )

Nyquist’s Implication An adequate sampling rate has to be… at least twice as much as any frequency components in the signal that you’d like to capture. 100 Hz sound 200 Hz sampling rate samples

Sampling Rate Demo Speech should be sampled at at least Hz (although there is little frequency information in speech above 10,000 Hz) Hz Hz Hz (watch out for [s]) 8000 Hz 5000 Hz