8A. ANALYSIS OF COMPLEX SOUNDS. Amplitude, loudness, and decibels

Similar documents
Lab 8. ANALYSIS OF COMPLEX SOUNDS AND SPEECH ANALYSIS Amplitude, loudness, and decibels

3A: PROPERTIES OF WAVES

Experiment: P34 Resonance Modes 1 Resonance Modes of a Stretched String (Power Amplifier, Voltage Sensor)

Reading: Johnson Ch , Ch.5.5 (today); Liljencrants & Lindblom; Stevens (Tues) reminder: no class on Thursday.

Lab 9 Fourier Synthesis and Analysis

Advanced Lab LAB 6: Signal Acquisition & Spectrum Analysis Using VirtualBench DSA Equipment: Objectives:

Sound Waves and Beats

Lab 6 Instrument Familiarization

Lab week 4: Harmonic Synthesis

MUSC 316 Sound & Digital Audio Basics Worksheet

Experiment 13: LR Circuit

P109. Introductory Acoustics Laboratory. Physics of Sound Lab Manual

Chapter 2. Meeting 2, Measures and Visualizations of Sounds and Signals

4: EXPERIMENTS WITH SOUND PULSES

The oscilloscope and RC filters

1: INTRODUCTION TO SOUND SIGNALS INTRODUCTION

PHYSICS LAB. Sound. Date: GRADE: PHYSICS DEPARTMENT JAMES MADISON UNIVERSITY

Lab Report #10 Alex Styborski, Daniel Telesman, and Josh Kauffman Group 12 Abstract

Sampling and Reconstruction

Laboratory Experiment #1 Introduction to Spectral Analysis

Lab 1B LabVIEW Filter Signal

Spectrum Analysis: The FFT Display

describe sound as the transmission of energy via longitudinal pressure waves;

A-110 VCO. 1. Introduction. doepfer System A VCO A-110. Module A-110 (VCO) is a voltage-controlled oscillator.

Sound Waves and Beats

Experiment P45: LRC Circuit (Power Amplifier, Voltage Sensor)

UNIVERSITY OF TORONTO Faculty of Arts and Science MOCK EXAMINATION PHY207H1S. Duration 3 hours NO AIDS ALLOWED

LAB #7: Digital Signal Processing

Creating Digital Music

Experiment P48: Transistor Lab 1 The NPN Transistor as a Digital Switch (Power Amplifier, Voltage Sensor)

Week 1. Signals & Systems for Speech & Hearing. Sound is a SIGNAL 3. You may find this course demanding! How to get through it:

Experiment P42: Transformer (Power Amplifier, Voltage Sensor)

Experiment 8: An AC Circuit

Experiment P36: Resonance Modes and the Speed of Sound (Voltage Sensor, Power Amplifier)

3.2 Measuring Frequency Response Of Low-Pass Filter :

Chapter 12. Preview. Objectives The Production of Sound Waves Frequency of Sound Waves The Doppler Effect. Section 1 Sound Waves

Class #9: Experiment Diodes Part II: LEDs

Properties and Applications

Type pwd on Unix did on Windows (followed by Return) at the Octave prompt to see the full path of Octave's working directory.

Fundamentals of Digital Audio *

Teacher s Guide - Activity P51: LR Circuit (Power Output, Voltage Sensor)

Resonance Tube. 1 Purpose. 2 Theory. 2.1 Air As A Spring. 2.2 Traveling Sound Waves in Air

Experiment P49: Transistor Lab 2 Current Gain: The NPN Emitter-Follower Amplifier (Power Amplifier, Voltage Sensor)

Experiment P11: Newton's Second Law Constant Force (Force Sensor, Motion Sensor)

Properties of Sound. Goals and Introduction

PHYSICS 107 LAB #9: AMPLIFIERS

A102 Signals and Systems for Hearing and Speech: Final exam answers

Pre-Lab. Introduction

MASSACHUSETTS INSTITUTE OF TECHNOLOGY /6.071 Introduction to Electronics, Signals and Measurement Spring 2006

Homework 4. Installing Praat Download Praat from Paul Boersma's website at Follow the instructions there.

Physics 101. Lecture 21 Doppler Effect Loudness Human Hearing Interference of Sound Waves Reflection & Refraction of Sound

Sound. Use a Microphone to analyze the frequency components of a tuning fork. Record overtones produced with a tuning fork.

ECE65 Introduction to the Function Generator and the Oscilloscope Created by: Eldridge Alcantara (Spring 2007)

ECE4902 Lab 5 Simulation. Simulation. Export data for use in other software tools (e.g. MATLAB or excel) to compare measured data with simulation

EC-3: Capacitors and RC-Decay

Structure of Speech. Physical acoustics Time-domain representation Frequency domain representation Sound shaping

Bioacoustics Lab- Spring 2011 BRING LAPTOP & HEADPHONES

Experiment P20: Driven Harmonic Motion - Mass on a Spring (Force Sensor, Motion Sensor, Power Amplifier)

LLS - Introduction to Equipment

5: SOUND WAVES IN TUBES AND RESONANCES INTRODUCTION

Acoustics, signals & systems for audiology. Week 4. Signals through Systems

Signal Processing for Digitizers

Acoustic Phonetics. Chapter 8

Resonance Tube Lab 9

Musical Acoustics, C. Bertulani. Musical Acoustics. Lecture 13 Timbre / Tone quality I

Lab 3: RC Circuits. Construct circuit 2 in EveryCircuit. Set values for the capacitor and resistor to match those in figure 2 and set the frequency to

Name EET 1131 Lab #2 Oscilloscope and Multisim

Definition of Sound. Sound. Vibration. Period - Frequency. Waveform. Parameters. SPA Lundeen

P a g e 1 ST985. TDR Cable Analyzer Instruction Manual. Analog Arts Inc.

Complex Sounds. Reading: Yost Ch. 4

Experiment Five: The Noisy Channel Model

Combinational logic: Breadboard adders

VOCAL FX PROJECT LESSON 9 TUTORIAL ACTIVITY

Experiment 15: Diode Lab Part 1

Notes on Experiment #1

Physics 326 Lab 8 11/5/04 FOURIER ANALYSIS AND SYNTHESIS

Models 296 and 295 combine sophisticated

2 Oscilloscope Familiarization

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis

Experiment P31: Waves on a String (Power Amplifier)

Stay Tuned: Sound Waveform Models

Experiment No. 2 Pre-Lab Signal Mixing and Amplitude Modulation

Section 1 Sound Waves. Chapter 12. Sound Waves. Copyright by Holt, Rinehart and Winston. All rights reserved.

University of Pennsylvania Department of Electrical and Systems Engineering Digital Audio Basics

Physics 3 Lab 5 Normal Modes and Resonance

Introduction to the Analog Discovery

Gentec-EO USA. T-RAD-USB Users Manual. T-Rad-USB Operating Instructions /15/2010 Page 1 of 24

What is Sound? Part II

When you have completed this exercise, you will be able to determine the frequency response of a

Trigonometric functions and sound

LAB II. INTRODUCTION TO LABVIEW

EE 210: CIRCUITS AND DEVICES

A mechanical wave is a disturbance which propagates through a medium with little or no net displacement of the particles of the medium.

ENGR 210 Lab 12: Sampling and Aliasing

Frequency Domain Representation of Signals

m208w2014 Six Basic Properties of Sound

LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS

Activity P40: Driven Harmonic Motion - Mass on a Spring (Force Sensor, Motion Sensor, Power Amplifier)

Oscilloscope How To.

EC310 Security Exercise 20

Transcription:

8A. ANALYSIS OF COMPLEX SOUNDS Amplitude, loudness, and decibels Last week we found that we could synthesize complex sounds with a particular frequency, f, by adding together sine waves from the harmonic series with a fundamental equal to the frequency (f, 2f, 3f, 4f, ). We can reverse the process: a complex sound with particular frequency can be analyzed and quantified by the amplitude spectrum: the relative amplitudes of the harmonics. Our goal today is to understand how the pitch, loudness, and timbre of a sound are represented in a spectrum. However, rather than use an analog Band Filter, we will use the PRAAT program, which has powerful analysis software built in to calculate and graph the spectrum of a recorded sound. For the last two weeks we have used the amplitudes to represent the different waves. We can represent these in a table (the choice for the amplitude of the fundamental wave to be 2V is completely arbitrary): Table 1: The spectrum of a square wave frequency (Hz) Harmonic number=fn/f1 Amplitude (Volt) Relative amplitude=an/a1 Relative Power=(An/A1)^2 Relative Power (db) Harmonic 440 880 1320 1760 2200 2640 3080 3520 3960 2.000 0.000 0.667 0.000 0.400 0.000 0.286 0.000 0.222 1.000 0.000 0.333 0.000 0.200 0.000 0.143 0.000 0.111 1.0000 0.0000 0.1111 0.0000 0.0400 0.0000 0.0204 0.0000 0.0123 0.0 Error -9.5 Error -14.0 Error -16.9 Error -19.1 Another way to represent the relative amplitudes, which is used by PRAAT, is to graph the power for each harmonic. Since the sound power is proportional to the square of the amplitude for each harmonic, these numbers often get quite small for the higher harmonics. For this reason, the power is often expressed as a decibel. The power for each harmonic in decibels (db) is: Relative Power (db) = Pn= 10 log 10 [ (A n /A 1 ) 2 ] = 20 log 10 [ (A n /A 1 )] Since the logarithm of zero is negative infinity, the Relative Power (db) for the even harmonics is "Error". P108 Lab 8a: page 1

We can display the harmonic power spectrum as a bar graph: Relative power (db) 0-10 -20-30 -40 Harmonic number (f n /f 1 ) Note that the bars for the even harmonics are missing since these harmonic are "missing" from a square wave. Analysis of a Triangle Wave A. Predictions based on known relative amplitudes Try to make a table similar to Table 1 for the triangle wave you synthesized several weeks ago. Assume the amplitude of the fundamental wave to be 2V. Remember that the even harmonics had zero amplitude and the amplitudes for the odd harmonics were given by: An = A1/n 2. Table 2: The spectrum of a 440 Hz triangle wave: Harmonic frequency (Hz) Harmonic number=fn/f1 440 880 1320 1760 2200 2640 3080 3520 3960 Amplitude (Volt) Relative amplitude=an/a1 Relative Power=(An/A1)^2 Relative Power (db) P108 Lab 8a: page 2

Now graph your results for the relative power in db for each harmonic. Note that the fundamental is 0 db by definition: Relative power (db) 0-10 -20-30 -40 Harmonic number (f n /f 1 ) B. "Warm up": Analysis of a measured sine wave Before using PRAAT to analyze a more complex wave, first analyze a simple sine wave to better understand frequency spectra. Take the output from the frequency synthesizer ground (black socket) to the headphone box ground input (also black socket). Use another banana plug cable from the top red 8 Ω output socket of the synthesizer to the other input on the headphone box. Use the synthesizer to generate a sine wave (use oscillator 1-Left, change the function using the switches at the top left corner of the synthesizer box; make sure to switch all other oscillators out). 1. Send the signal from the headphone box to the microphone input of the computer using the cable supplied. When you start the program, two windows should have appeared: a Praat objects window and a Praat picture window. Recall how you record a sound with PRAAT: choose Record mono Sound... from the New menu in the Praat objects window. A SoundRecorder window will appear on your screen. 2. Use the Record and Stop buttons to record a few seconds of your sine wave signal. You can repeat this several times until you are satisfied with your levels. Adjust the gain of the synthesizer output so that the level meter of the SoundRecorder window registers and is "green", or occasionally "yellow". Type in a name for your sound file (e.g., "sine") in the text box below the Save to list: P108 Lab 8a: page 3

button. hit the Save to list: button and the text string "sound sine" should appear in the Praat objects window that indicates the file where your sound is recorded. 3. With the name of the file highlighted in the Praat objects window, hit the Edit button to see the waveform that you just recorded. To simplify the display (if it is not already done), go across the menu of the Edit window (that should be titled "Sound sine"), Spectrum menu, pull down, Show spectrogram deselect (i.e., if a check mark is shown, select it. If no check mark, exit without doing anything). Pitch menu, pull down, deselect Show pitch Intensity menu, pull down, deselect Show intensity Formants menu, pull down, deselect Show formants Pulses menu, pull down, deselect Show pulses. 4. Set up by going to the Spectrum menu, going to Advanced Spectrum settings..., and in Pre-Emphasis (db/out) type "0.0" if it is "6.0". This latter option will be used when we analyze speech in the next lab. 5. Check that you have a clean sine wave by using the View menu and combinations of Zoom in (<CTRL>-i), Zoom out (<CTRL>-o), or selecting and Zoom to selection. 6. Now generate a frequency spectrum of this input waveform. From the Spectrum menu, choose View spectral slice. A Spectrum Slice window should appear as shown below. P108 Lab 8a: page 4

Frequency spectrum of a sine wave. This frequency spectrum shows frequency in Hz along the horizontal axis and power of that frequency component on the vertical axis. Use the cursor to click at the tip of the first frequency peak (the fundamental). The frequency of the peak is given as a red number at the top of the display (in this case, 442 Hz, very close to the 440 Hz sine wave expected from the synthesizer). Its power level is given as a number at the left hand side. Note that the frequency spectrum of a pure sine wave is dominated by the power of the frequency of the sine wave. The other harmonics simply show that this is not a perfect sine wave; an ideal one would have only the first peak. C. Analysis of a measured triangle wave Now use the synthesizer to generate a triangle wave (use oscillator 1-Left, change the function using the switches at the top left corner of the synthesizer box; switch other oscillators out). a) Follow the same procedure as with the sine wave to record the wave with PRAAT. P108 Lab 8a: page 5

In the window obtained from using Edit, use the Spectrogram menu, View spectral slice, to generate a power spectrum of the triangle wave. It should appear similar to the example below. Frequency Spectrum of a triangle wave. b) Notice that the frequency power spectrum is made up of a series of peaks. Each peak represents one of the harmonics. You can use the mouse to click at the tip of each peak. The number above the display shows the frequency and the number to the left the power (in decibels) for that frequency. In the example above, P108 Lab 8a: page 6

the frequency peak of 1329 Hz has a power of 31.5 db. Record the frequency and power for each peak in the table below. To obtain the last line of the table, you need to subtract the power level of the fundamental (P1) from each harmonic power level (Pn). Table 3: Measured power spectrum for a triangle wave Harmonic frequency (Hz) = fn Harmonic number=fn/f1 Power (db) = Pn Relative Power (db) = Pn - P1 c) How do your relative power numbers compare to what you calculated for Table 2? d) Return to the initial Sound xxx window obtained from the Edit button. Zoom in to a few cycles of the triangle wave. Use the mouse click on a peak and an adjacent valley in order to measure the peak-to-peak amplitude of the triangle wave. Pascals. e) Now reduce the amplitude of the oscillator; record the sound again using PRAAT. Measure the peak-to-peak amplitude of the sound signal: Pascals. Record the power levels of all of the harmonics in the table below. P108 Lab 8a: page 7

Table 4: Measured power spectrum for a triangle wave, new amplitude Harmonic frequency (Hz) = fn Harmonic number=fn/f1 Power (db) = Pn Relative Power (db) = Pn - P1 f) Compare your results to those from Table 3: Do all of the power levels change? By how much do they change? Do they change by different amounts or the same amount? Do the relative power levels change? g) The change in the power levels for each harmonics present should be the same as the change in the overall power level, which you can calculate from your measurements of the new and old amplitudes. Change in Power (db) = 10 log 10 [ (A new /A old ) 2 ] Are your measurements consistent with this observation? C. Analysis of a superposition of a triangle wave and another harmonic, not present in the triangle wave P108 Lab 8a: page 8

Now switch in oscillator 4 (summing it to the triangle wave). Turn its amplitude halfway up of the oscillator 1 level (make this adjustment by recording signal for oscillator 4 first, before summing the two signals. You will probably have to go through several cycles of recording, adjusting amplitude, recording, adjusting amplitude. etc.). Note that this harmonic was not present in the triangle wave signal a) Record the sound signal. How do the sound signal and the power spectrum change? b) Change the phase of oscillator 4 by 180 and record the signal again. Does the sound change? Qualitatively, how do the sound signal and power spectrum change? D. Analysis of a superposition of a triangle wave and another harmonic, already present in the triangle wave Now switch out oscillator 4 and switch in oscillator 3. Adjust its amplitude (by recording the signal separately first) to be approximately half of that from oscillator 1-Left. Note that this harmonic was present in the original triangle wave. a) Record the sound signal. Qualitatively, how do the sound signal and the power spectrum change? b) Change the phase of oscillator 3. Does the sound change? Record the signal again. Qualitatively, how do the sound signal and power spectrum change? P108 Lab 8a: page 9

E. Discussion of expected effects. If the Power Spectrum of the sound changes, you can probably hear the difference. If the Power Spectrum does not change, you can probably not hear the difference. For example, you should have found that changing the phase of the fourth harmonic did not change the power spectrum, but changing the phase of the third harmonic did matter. Why? The third harmonic was present in the original sound. Phase may matter when you add sounds that are close together (or the same) in frequency. Switch Oscillator 1-Left back to a sine wave. a) Now switch in or out additional oscillators, one at a time, listen to the differences and record the signal after each switch. The sound should change every time, and new peaks should appear or peaks should disappear in the Power Spectrum. If you see no change, the amplitude for that oscillator is probably close to zero. b) Changing the phases of any of the oscillators should not change the sound or the power spectrum. The lesson is that the shape of the power spectrum determines the timbre. We can now give very precise ways to define how to measure sounds made up of a harmonic series using the Power Spectrum: Pitch: the frequency of the fundamental of the harmonic series Timbre: the relative heights of the peaks in the power spectrum (compared to the fundamental) Loudness: the overall heights of the peaks in the power spectrum P108 Lab 8a: page 10