6/24/20151 Acoustics of Speech Julia Hirschberg CS 4706.

Slides:



Advertisements
Similar presentations
Analog to digital conversion
Advertisements

Acoustic/Prosodic Features
MULTIMEDIA TUTORIAL PART - III SHASHI BHUSHAN SOCIS, IGNOU.
Digital Signal Processing
5/5/20151 Acoustics of Speech Julia Hirschberg CS 4706.
Chapter-3-1CS331- Fakhry Khellah Term 081 Chapter 3 Data and Signals.
ECE 4321: Computer Networks Chapter 3 Data Transmission.
The frequency spectrum
Chapter 7 Principles of Analog Synthesis and Voltage Control Contents Understanding Musical Sound Electronic Sound Generation Voltage Control Fundamentals.
SIMS-201 Characteristics of Audio Signals Sampling of Audio Signals Introduction to Audio Information.
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
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?
SPPA 6010 Advanced Speech Science 1 The Source-Filter Theory: The Sound Source.
Chapter 3 Data and Signals
Chapter 2 Fundamentals of Data and Signals
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
Module 3.0: Data Transmission
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Sampling Theory. Time domain Present a recurring phenomena as amplitude vs. time  Sine Wave.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
 Principles of Digital Audio. Analog Audio  3 Characteristics of analog audio signals: 1. Continuous signal – single repetitive waveform 2. Infinite.
Basic Acoustics + Digital Signal Processing September 11, 2014.
Source/Filter Theory and Vowels February 4, 2010.
DSP. What is DSP? DSP: Digital Signal Processing---Using a digital process (e.g., a program running on a microprocessor) to modify a digital representation.
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.
LE 460 L Acoustics and Experimental Phonetics L-13
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.
GCT731 Fall 2014 Topics in Music Technology - Music Information Retrieval Overview of MIR Systems Audio and Music Representations (Part 1) 1.
Introduction to Interactive Media 10: Audio in Interactive Digital Media.
Lecture 1 Signals in the Time and Frequency Domains
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
COMP Representing Sound in a ComputerSound Course book - pages
Resonance, Revisited March 4, 2013 Leading Off… Project report #3 is due! Course Project #4 guidelines to hand out. Today: Resonance Before we get into.
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.
Acoustic Analysis of Speech Robert A. Prosek, Ph.D. CSD 301 Robert A. Prosek, Ph.D. CSD 301.
Wireless and Mobile Computing Transmission Fundamentals Lecture 2.
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.
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.
Filtering. What Is Filtering? n Filtering is spectral shaping. n A filter changes the spectrum of a signal by emphasizing or de-emphasizing certain frequency.
Introduction to SOUND.
Georgia Institute of Technology Introduction to Processing Digital Sounds part 1 Barb Ericson Georgia Institute of Technology Sept 2005.
1 Introduction to Information Technology LECTURE 6 AUDIO AS INFORMATION IT 101 – Section 3 Spring, 2005.
Digital Signal Processing January 16, 2014 Analog and Digital In “reality”, sound is analog. variations in air pressure are continuous = it has an amplitude.
Frequency, Pitch, Tone and Length February 12, 2014 Thanks to Chilin Shih for making some of these lecture materials available.
Intro-Sound-part1 Introduction to Processing Digital Sounds part 1 Barb Ericson Georgia Institute of Technology Oct 2009.
Multimedia Sound. What is Sound? Sound, sound wave, acoustics Sound is a continuous wave that travels through a medium Sound wave: energy causes disturbance.
The Speech Chain (Denes & Pinson, 1993)
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
Session 18 The physics of sound and the manipulation of digital sounds.
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.
Basic Acoustics + Digital Signal Processing January 11, 2013.
Part II Physical Layer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Physics of Sound.
William Stallings Data and Computer Communications 7th Edition
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Acoustics of Speech Julia Hirschberg CS /7/2018.
Acoustics of Speech Julia Hirschberg CS /10/2018.
Analyzing the Speech Signal
MECH 373 Instrumentation and Measurements
C-15 Sound Physics 1.
Analyzing the Speech Signal
Signals Prof. Choong Seon HONG.
Acoustics of Speech Julia Hirschberg CS /2/2019.
COMS 161 Introduction to Computing
Julia Hirschberg and Sarah Ita Levitan CS 6998
Presentation transcript:

6/24/20151 Acoustics of Speech Julia Hirschberg CS 4706

6/24/20152 Goal 1: Distinguishing One Phoneme from Another, Automatically ASR: Did the caller say ‘I want to fly to Newark’ or ‘I want to fly to New York’? Forensic Linguistics: Did the accused say ‘Kill him’ or ‘Bill him’? What evidence is there in the speech signal? –How accurately and reliably can we extract it?

6/24/20153 Goal 2: Determining How things are said is sometimes critical to understanding Forensic Linguistics: ‘Kill him!’ or ‘Kill him?’ Call Center: ‘That amount is incorrect.’ What information do we need to extract from the speech signal? What tools do we have to do this?

6/24/20154 Today and Next Class Acoustic features to extract –Fundamental frequency (pitch) –Amplitude/energy (loudness) –Spectrum –Timing (pauses, rate) Tools for extraction –Praat –Wavesurfer –Xwaves –…

6/24/20155 Sound Production Pressure fluctuations in the air caused by a musical instrument, a car horn, a voice –Sound waves propagate thru e.g. air (marbles, stone- in-lake) –Cause eardrum to move –Auditory system translates into neural impulses –Brain interprets as sound –Plot sounds as change in air pressure over time From a speech-centric point of view, when sound is not produced by the human voice, we may term it noise –Ratio of speech-generated sound to other simultaneous sound:

6/24/20156 How ‘Loud’ are Common Sounds – How Much Pressure Generated? EventPressure (Pa)Db Absolute200 Whisper20020 Quiet office2K40 Conversation20K60 Bus200K80 Subway2M100 Thunder20M120 *DAMAGE*200M140

6/24/20157 Some Sounds are Periodic Simple Periodic Waves (sine waves) defined by –Frequency: how often does pattern repeat per time unit Cycle: one repetition Period: duration of cycle Frequency=# cycles per time unit, e.g. sec. –Frequency in Hz = cycles per second or 1/period –E.g. 400Hz pitch = 1/.0025 (1 cycle has a period of.0025; 400 cycles complete in 1 sec) Zero crossing: where the waveform crosses the x- axis

6/24/20158 –Amplitude: peak deviation of pressure from normal atmospheric pressure –Phase: timing of waveform relative to a reference point

6/24/20159

10 Complex Periodic Waves Cyclic but composed of multiple sine waves Fundamental frequency (F0): rate at which largest pattern repeats (also GCD of component frequencies) Components not always easily identifiable: power spectrum graphs amplitude vs. frequency Any complex waveform can be analyzed into a set of sine waves with their own frequencies, amplitudes, and phases (Fourier’s theorem)

6/24/ Sine Waves  1 Complex periodic wave

6/24/ Sine Waves  1 Complex periodic wave

Power Spectra and Spectrograms Frequency components of a complex waveform  power spectrum –Plots frequency and amplitude of each component sine wave –Picture Obtained via Fourier analysis, Linear Predicative Coding (LPC),… –Useful for analysis and synthesis

Spectrograms Add temporal dimension to the power spectrum picture

6/24/ Aperiodic Waveforms Waveforms with random or non-repeating patterns –Random aperiodic waveforms: white noise Flat spectrum: equal amplitude for all frequency components –Transients: sudden bursts of pressure (clicks, pops, door slams) Flat spectrum with single impulse (click.wav)click.wav Some speech sounds, e.g. many consonants (e.g. cat.wav)cat.wav

6/24/ Speech Waveforms Lungs plus vocal fold vibration filtered by the vocal tract produce complex periodic waveforms –Cycles per sec of lowest frequency component of signal = fundamental frequency (F0) = physical correlate of pitch –Fourier analysis yields power spectrum with component frequencies and amplitudes F0 is first (lowest frequency) peak Harmonics are resonances of component frequencies amplified by vocal track

6/24/ Places of articulation labial dental alveolar post-alveolar/palatal velar uvular pharyngeal laryngeal/glottal

6/24/ Filtering Acoustic filters block out certain frequencies of sounds –Low-pass filter blocks high frequency components of a waveform –High-pass filter blocks low frequencies –Band-pass filter blocks both around a band –Reject band (what to block) vs. pass band (what to let through) But if frequencies of two sounds overlap…. source separation issues source separation issues

6/24/ How do we capture speech for analysis? Recording conditions –A quiet office, a sound booth, an anachoic chamber Microphones convert sounds into electrical current: oscillations of air pressure become oscillations of voltage in an electric circuit –Analog devices (e.g. tape recorders) store these as a continuous signal –Digital devices (e.g. computers,DAT) first convert continuous signals into discrete signals (digitizing)

6/24/ File format: –.wav,.aiff,.ds,.au,.sph,… –Conversion programs, e.g. soxsox Storage –Function of how much information we store about speech in digitization Higher quality, closer to original More space (1000s of hours of speech take up a lot of space)

6/24/ Sampling Sampling rate: how often do we need to sample? –At least 2 samples per cycle to capture periodicity of a waveform component at a given frequency 100 Hz waveform needs 200 samples per sec Nyquist frequency: highest-frequency component captured with a given sampling rate (half the sampling rate)

6/24/ Sampling/storage tradeoff Human hearing: ~20K top frequency –Do we really need to store 40K samples per second of speech? Telephone speech: 300-4K Hz (8K sampling) –But some speech sounds (e.g. fricatives, /f/, /s/, /p/, /t/, /d/) have energy above 4K! –Peter/teeter/Dieter 44k (CD quality audio) vs.16-22K (usually good enough to study pitch, amplitude, duration, …)

6/24/ Sampling Errors Aliasing: –Signal’s frequency higher than half the sampling rate –Solutions: Increase the sampling rate Filter out frequencies above half the sampling rate (anti-aliasing filter)

6/24/ Quantization Measuring the amplitude at sampling points: what resolution to choose? –Integer representation –8, 12 or 16 bits per sample Noise due to quantization steps avoided by higher resolution -- but requires more storage –How many different amplitude levels do we need to distinguish? –Choice depends on data and application (44K 16bit stereo requires ~10Mb storage)

6/24/ –But clipping occurs when input volume is greater than range representable in digitized waveform Increase the resolution Decrease the amplitude

6/24/ How can we capture pitch contours, pitch range? What is the pitch contour of this utterance? Is the pitch range of X greater than that of Y? Pitch tracking: Estimate F0 over time as fn of vocal fold vibration vocal fold vibration A periodic waveform is correlated with itself –One period looks much like another (cat.wav) –Find the period by finding the ‘lag’ (offset) between two windows on the signal for which the correlation of the windows is highest –Lag duration (T) is 1 period of waveform –Inverse is F0 (1/T)

6/24/ Errors to watch for: –Halving: shortest lag calculated is too long (underestimate pitch) –Doubling: shortest lag too short (overestimate pitch) –Microprosody effects (e.g. /v/)

6/24/ Sample Analysis File: Pitch Track Header version 1 type_code 4 frequency samples start_time end_time bandwidth dimensions 1 maximum minimum time Sat Nov 2 15:55: operation record: padding xxxxxxxxxxxx

6/24/ Sample Analysis File: Pitch Track Data (F0 Pvoicing Energy A/C Score)

6/24/ Next Class Tools for the Masses: Read the Praat tutorial Download Praat from the course syllabus page and play with a speech file (e.g. 1_sadness_ _August-second-.wav or record your own) 1_sadness_ _August-second-.wav Bring a laptop and headphones to class if you have them