Acoustics and Fourier Transform Physics Advanced Physics Lab - Summer 2018 Don Heiman, Northeastern University, 1/12/2018

Similar documents
Music and Engineering: Just and Equal Temperament

Musical Acoustics, C. Bertulani. Musical Acoustics. Lecture 14 Timbre / Tone quality II

Math and Music: Understanding Pitch

Copyright 2009 Pearson Education, Inc.

Waves & Interference

SECTION A Waves and Sound

LCC for Guitar - Introduction

2. When is an overtone harmonic? a. never c. when it is an integer multiple of the fundamental frequency b. always d.

Date Period Name. Write the term that corresponds to the description. Use each term once. beat

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

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

SECTION A Waves and Sound

From Ladefoged EAP, p. 11

Waves and Sound Practice Test 43 points total Free- response part: [27 points]

Lab 9 Fourier Synthesis and Analysis

ACOUSTICS. Sounds are vibrations in the air, extremely small and fast fluctuations of airpressure.

Frequency f determined by the source of vibration; related to pitch of sound. Period T time taken for one complete vibrational cycle

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

L 23 Vibrations and Waves [3]

CHAPTER 12 SOUND ass/sound/soundtoc. html. Characteristics of Sound

Review. Top view of ripples on a pond. The golden rule for waves. The golden rule for waves. L 23 Vibrations and Waves [3] ripples

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

COMP 546, Winter 2017 lecture 20 - sound 2

Chapter 17 Waves in Two and Three Dimensions

Principles of Musical Acoustics

Waves ADD: Constructive Interference. Waves SUBTRACT: Destructive Interference. In Phase. Out of Phase

Copyright 2010 Pearson Education, Inc.

Physics 1021 Experiment 3. Sound and Resonance

Resonance Tube Lab 9

Chapter 16 Sound. Copyright 2009 Pearson Education, Inc.

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

Consonance vs. Dissonance - A Physical Description. BENJAMIN D. SUMMERS. (Louisiana State University, Baton Rouge, LA, 70803)

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

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

OpenStax-CNX module: m Interval * Catherine Schmidt-Jones

Advanced Audiovisual Processing Expected Background

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

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

AP Physics B (Princeton 15 & Giancoli 11 & 12) Waves and Sound

2 Oscilloscope Familiarization

PHYSICS 102N Spring Week 6 Oscillations, Waves, Sound and Music

5: SOUND WAVES IN TUBES AND RESONANCES INTRODUCTION

Sound of Music. This lab is due at the end of the laboratory period

Sound is the human ear s perceived effect of pressure changes in the ambient air. Sound can be modeled as a function of time.

An introduction to physics of Sound

Properties of Sound. Goals and Introduction

Preview. Sound Section 1. Section 1 Sound Waves. Section 2 Sound Intensity and Resonance. Section 3 Harmonics

ME scope Application Note 01 The FFT, Leakage, and Windowing

PHYS102 Previous Exam Problems. Sound Waves. If the speed of sound in air is not given in the problem, take it as 343 m/s.

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

Variations in Waveforms and Energy Spectra between Musical Instruments

Standard Octaves and Sound Pressure. The superposition of several independent sound sources produces multifrequency noise: i=1

Chapter 14, Sound. 1. When a sine wave is used to represent a sound wave, the crest corresponds to:

Music. Sound Part II

Vibrations and Waves. Properties of Vibrations

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

Final Reg Wave and Sound Review SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

Warm-Up. Think of three examples of waves. What do waves have in common? What, if anything, do waves carry from one place to another?

MUSIC THEORY GLOSSARY

Ph 2306 Experiment 2: A Look at Sound

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

Fundamentals of Music Technology

Chapter 15 Supplement HPS. Harmonic Motion

Complex Sounds. Reading: Yost Ch. 4

Thermal Johnson Noise Generated by a Resistor

In Phase. Out of Phase

Waves ADD: Constructive Interference. Waves SUBTRACT: Destructive Interference. In Phase. Out of Phase

SPEECH AND SPECTRAL ANALYSIS

Signals A Preliminary Discussion EE442 Analog & Digital Communication Systems Lecture 2

1. At which position(s) will the child hear the same frequency as that heard by a stationary observer standing next to the whistle?

Lab 10 The Harmonic Series, Scales, Tuning, and Cents

Waves Q1. MockTime.com. (c) speed of propagation = 5 (d) period π/15 Ans: (c)

Sound, acoustics Slides based on: Rossing, The science of sound, 1990.

Pre Test 1. Name. a Hz b Hz c Hz d Hz e Hz. 1. d

Chapter 3. Experiment 1: Sound. 3.1 Introduction

Sound Waves and Beats

ABC Math Student Copy

Sound & Music. how musical notes are produced and perceived. calculate the frequency of the pitch produced by a string or pipe

Demonstrate understanding of wave systems. Demonstrate understanding of wave systems. Achievement Achievement with Merit Achievement with Excellence

Name: Lab Partner: Section:

Unit 10 Simple Harmonic Waves and Sound Holt Chapter 12 Student Outline

SOUND & MUSIC. Sound & Music 1

Sound & Waves Review. Physics - Mr. Jones

Sound. Production of Sound

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

constructive interference results when destructive interference results when two special interference patterns are the and the

By John Geraghty ISBN Copyright 2015 Green Olive Publications Ltd All Rights Reserved

Modulation. Digital Data Transmission. COMP476 Networked Computer Systems. Analog and Digital Signals. Analog and Digital Examples.

Lecture PowerPoints. Chapter 12 Physics: Principles with Applications, 7 th edition Giancoli

Voice Leading Summary

Linguistics 401 LECTURE #2. BASIC ACOUSTIC CONCEPTS (A review)

Chapter PREPTEST: SHM & WAVE PROPERTIES

What is Sound? Simple Harmonic Motion -- a Pendulum

INTERNATIONAL BACCALAUREATE PHYSICS EXTENDED ESSAY

Computer Generated Melodies

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

Laboratory Exercise 6 THE OSCILLOSCOPE

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

Staves, Times, and Notes

Lecture PowerPoints. Chapter 12 Physics: Principles with Applications, 6 th edition Giancoli

Transcription:

1 Acoustics and Fourier Transform Physics 3600 - Advanced Physics Lab - Summer 2018 Don Heiman, Northeastern University, 1/12/2018 I. INTRODUCTION Time is fundamental in our everyday life in the 4-dimensional world. We see things move as a function of time. On the other hand, although sound waves are composed of moving atoms, their movement is too small and the frequency of the vibration is too fast for us to observe directly. It is thus easier to describe sounds in frequency space rather than time space. We can transform sound, or other things in physics for that matter, from time space to frequency space by the technique of Fourier transform (described in Appendix). In this experiment you will record time-varying sound wave patterns and transform them into frequency spectra (amplitude as a function of frequency). Natural sounds are almost never pure sine waves having one single frequency. By Fourier transforming various sounds you will investigate your voice, beat frequencies, and harmonics in musical instruments. Sounds picked up by a microphone and preamplifier will be stored digitally in an oscilloscope, saved to a file, then analyzed with Fast Fourier Transform (FFT) software. II. APPARATUS microphone, preamplifier (Rainbow Labs AA-1), storage oscilloscope, FFT software, speaker, tuning forks, guitar, stringed instrument, electric piano, etc. III. PROCEDURE A. Basic FFT Plot the sine wave, y=sin(2pi100x) from x=0 to 0.1 seconds, using 2048 points. (1) Compute the FFT with a Hamming filter in EasyPlot or other software. (2) The FFT frequency axis must be rescaled by noting that the spacing between frequency points is equal to the reciprocal of the TOTAL time range Δt. For this case, transform the FFT x-axis point spacing to δf = 1/Δt = 1/0.1 s = 10 Hz per point (x=x/0.1). NOTE: do not use bar graphs for your plots, use points and connecting/fitted lines. Plot the FFT. Remember to plot only the region of interest near 100 Hz. What is f o at the peak of the FFT? What is the FWHM (full-width at half-maximum) linewidth, Γ? Plot the function with larger number of cycles, from x = 0 to 1.0 s. Compute and scale the FFT. Plot both FFTs on the same graph (scale each to a peak maximum of 100 for comparison). What is the new Γ? How many cycles are recorded for each of the two plots? How does the number of recorded cycles relate to the linewidths Γ?

2 B. Sine and Square Waves 1. Set up the function generator and scope to record waveforms. 2. Set the scope vertical scale to produce a reasonable amplitude. 3. Generate and store a 1 khz sine wave voltage V(time) using the function generator. (1) Remember to always truncate the V(t) points down from 2500 to 2048. (2) Apply the FFT with Hamming filter. (3) Transform the f-axis by x = x/δt, where Δt is the total time for 2048 points. Repeat the FFT for a 1 khz square wave. Plot and discuss the differences in the FFTs for the sine and square waves. Connect the function generator to a speaker. Discuss what you hear from the 2 waves. What is unusual about the square frequency wave spectrum? C. Tuning Forks 1. Select two tuning forks having the same pitch. Observe the waveform of one of the tuning forks. Measure the FFT frequency of one fork to high precision, < ±1 Hz. (How many cycles do you need?) Answer these questions (1) High precision FFT requires what number of cycles: (a) low (1-10); (b) medium (10-100); (c) high (>>100)? (2) Large frequency range FFT requires X number of cycles: (a) low (1-10); (b) medium (10-100); (c) high (>>100)? Discuss the Nyquist frequency. Compare the measured and given frequencies for the tuning fork. 2. Observe the beating of both forks vibrating simultaneously using a timebase of ~0.25 sec/cm. Plot and discuss the waveform, but do not compute the FFT. What is the frequency of your beats and discuss their origin? E. Whistle Record and store many cycles of a whistle sound. Plot the FFT to look for harmonics. Discuss what the FFT looks like. How distinguishable are whistle sounds from two different people whistling with the same pitch and intensity? What is the physiology of whistling?

3 D. Human Voice Observe several vowel sounds (a,e,i,o,u) on the scope. For each person, record and store one (the same) vowel sound. Compute the FFT and look for harmonics. Discuss the differences of the FFTs of the same vowel sound for the two different voices. Can you relate the quality of the voice sounds that you hear to the FFTs? F. Musical Harmonics Here you will explore the difference in the sound produced by two different musical instruments playing the same note. This difference is related to musical timbre, usually pronounced "tamber" as in the first syllable of the word tambourine. Notes on Timbre - Why do different instruments sound very different when they produce the same note or pitch. The note A-440 played on a guitar sounds much different than the same note played on a trumpet. This property is referred to as timbre or tone color. Musical instruments have acoustical properties determined by the construction materials and especially their shape, which determines their resonant character. The main difference in the sound comes from the set of harmonics (multiples of the fundamental frequency). Most instruments don't produce a single frequency, instead, they produce acoustic vibrations at the fundamental frequency, f o, and also at the harmonics, 2f o, 3f o, 4f o, etc. Thus, one instrument may produce high amplitudes at 3f o and 5f o, while another instrument may produce high amplitudes at 6f o, 7f o, 8f o, and 9f o. In addition, the amplitudes of the harmonics will vary in time differently for different instruments. Using the guitar and another instrument (flute, single string, electric piano, etc.), observe the same note (approximate frequency) on the scope. Record and store the waveforms of the guitar and at least one other instrument. Discuss the differences in their FFTs. Does the guitar have more than one fundamental? Make a single plot of the relative amplitudes of the harmonics for the 2 instruments. Plot amplitude A versus the number N, where f = Nf o, and N = 1,2,3,... Scale the most intense peak of each instrument to 100. Discuss the A(N) plot of the relative amplitudes. G. Optional Plot the sine wave, y = sin(2pi100x) from x = 0 to 0.1 seconds, using 100 points and only 10 points. Does the apparent frequency change? Explain. Bring in a musical instrument or other noise-maker and measure its harmonic spectrum.

4 IV. APPENDIX A: FOURIER TRANSFORM A. Introduction The Fourier transform (FT) is one type of mathematical transformation that changes or maps one axis variable to another variable. It is widely used for transforming a time-varying waveform A(t) into a frequency-varying spectrum B(f). An example we will investigate in this lab is the transformation of sound waves. Sound waves traveling in a medium (solid, liquid, gas) are composed of time-varying oscillations of the density of the atoms or molecules. They are longitudinal pressure waves. When characterizing a particular sound it is more convenient to study its frequency spectrum of the amplitude, B(f), which is the Fourier transform of the time-varying amplitude, A(t). Consider the example of a pure monochromatic sound wave of frequency f o, where the amplitude is a simple sine wave, A(t) = A o sin(2π f o t). We could also have written the sine function as sin(ω o t), where ω o = 2πf o. Note that the argument of the trigonometric function ω o t must be dimensionless, so ω must have units of s -1 (radians/s), whereas the units of frequency f are Hertz (cycles/sec). The Fourier transform of A(t) has a narrow peak at f o. In other words, B(f) only has nonzero amplitude near the frequency f o. B. Basic Theory There are two forms of the FT, discrete and integral. The integral form of the FT is given by A( t) B( f ) e i 2 f t df B( f ) A( t) e i 2 f t dt C. Fast Fourier Transform Software programs use a type of algorithm referred to as Fast Fourier Transform (FFT) for computations. FFT software routines require that the number of points in the original curve be equal to N = 2 n, such as N = 256, 512, 1024, 2048, etc. After generating the FFT graph from the sine wave y = sin(2pi100x), the frequency axis must be rescaled. Set the point-to-point frequency interval δf = 1 / Δt, where Δt is the range of the time axis. To produce a finer frequency scale use a larger Δt. Note that one-half the total frequency range is equal to the reciprocal of the spacing between time points.

5 D. Examples Let s look at a few FT examples, for a damped sine wave and a Gaussian function. D.1. Damped Sine Wave Consider the damped sine wave of frequency f o for t > 0 given by A(t) = A o sin(2πf o t ) exp(-t / τ). The sine wave has an initial amplitude of A o but decreases exponentially in time with the damping time constant tau (τ). As before, the argument of an exponential must be dimensionless so the units of t and τ are time. When the damping is comparatively small (2πf o t >> 1, or t << 1/2πf o ) the FT of A(t) is a Lorentzian function given by Ao B( f ) 1 2 ( f f ) ( / 2). 2 2 o Another generalized form for the Lorentzian is Bo B( f ) 2 ( / 2) ( f f ) ( / 2). 2 2 o This form is normalized such that the maximum is B o at f = f o. The Lorentzian function has a bell shape with a maximum of B o at f = f o. The full-width at half-maximum (FWHM) linewidth is Γ in units of Hz. The damping parameter is related to the time decay by Γ = 1/πτ. Small damping means Γ<< f o, or large Q = f o / Γ. D.2. Gaussian Next, consider the Gaussian function of time given by A(t) = A o exp [-2.77 (t - t o ) 2 / τ 2 ]. The Gaussian function is also bell shaped, having a normalized maximum amplitude A o at t = t o. The factor 2.77 makes t the FWHM, which has units of time. The FT of A(t) is another Gaussian function given by B(f) = B o exp [-2.77 f 2 / Γ 2 ], which has its maximum at f = 0 and a FWHM of Γ, both in units of Hz. B(f) = B o exp [ 2.77 (f f o ) 2 / G 2 ].

Intensity 6 D.3. Comparison of Lorentzian and Gaussian The graph shows the difference between the Lorentzian (solid curve) and Gaussian (dashed curve) functions, with each having a central position at f o = 10 Hz and a FWHM of Γ = 4 Hz. The Lorentzian has broader tails and a slightly sharper peak. 1.0 0.8 Lorentzian (/2) 2 /[ (f - f o ) 2 +/2) 2 ] Gaussian exp[ -2.77(f - f o ) 2 / 2 ] 0.6 0.4 0.2 f o = 10 Hz = 4 Hz 0 0 5 10 15 20 f (Hz) Lorentzian functions usually describe physical systems in which there is a characteristic relaxation time τ. This often happens to systems that are pushed out of equilibrium and relax back to equilibrium with a characteristic relaxation time. An example would be a system in thermal equilibrium that is perturbed by a temporary heating pulse. On the other hand, Gaussian functions usually describe inhomogeneous physical systems which have a distribution in one of their physical properties. This often occurs in optical spectra. An example is the spectra of light coming from a fluorescent room light. Ideally, excited atoms emit light at a precise wavelength, giving rise to light emission in a very narrow spectral range of wavelength. However, the excited atoms in the fluorescent tube s plasma are extremely hot and have a distribution of velocities. These atoms traveling at high speeds emit light wavelengths that are Doppler shifted in frequency, which leads to Gaussian broadening in the wavelength of the spectral emission.

7 V. APPENDIX B: NOTES ON MUSIC THEORY See http://www.teoria.com/, https://www.8notes.com/theory/ A. Musical Staff The staff on the right is a treble clef or G clef, and the center of the sworl (second line from bottom) is the note G. The note below the staff is called, middle C, but the frequency scale is usually set to the A above middle-c, normally at 440 cycles/second or Hertz. The frequency of a note is also call the pitch of the note. Starting from the bottom line and having single notes between the lines, the scale goes up: E, F, G, A, B, C, D, E, F. The two higher E and F notes at the top of the staff are one octave higher than the lower notes of the same letter, and consequently their frequencies are twice that of the lower notes. B. Melodic and Harmonic Intervals In a melodic interval the notes are played in succession. In a harmonic interval both (or several) notes are sounded simultaneously. The two notes here are C and E. The lower note is middle-c. C. Musical Chord Three or more notes sounded simultaneously form a chord. Traditionally, chords have been built by superimposing two or more thirds. For example, notes C-E-G form a chord or major triad. The note upon which the chord is founded is called the root. The other notes are called by the name of the interval they form in relation to the root name. This cord is the C-cord.

8 D. Numerical size of intervals By counting the number of steps in an interval we obtain its numerical size. For example, a fifth is found by going from C to G (C, D, E, F, G). In this figure you can see the relationship between the notes and the numerical size of intervals: The frequency relation in an interval is given by the ratio X:Y, so a fifth has the frequency ratio 3:2. An octave has the ratio 2:1. However, not all intervals of the same numerical classification are of the same size. That is why we need to specify the quality by finding the exact number of whole and half steps in the interval. E. Mathematics Relation of Intervals The A above middle C has a frequency of 440 Hertz. The A that is one octave higher has a frequency of 880 Hz, exactly the double the frequency. The mathematical relation is 880:440 or 2:1. The table shows the mathematical relation of several intervals, ordered from consonant (top) to dissonant (bottom). Relation Interval 2:1 Octave 3:2 Fifth 4:3 Fourth 5:4 Major Third 6:5 Minor Third 9:8 Major Second F. Consonance and Dissonance 16:15 Minor Second Intervals can be classified as consonant or dissonant according to the complexity of the mathematical relation between the note frequencies. This concept has changed during musical history and even today not all theoreticians agree. However, the classification in the table is quite useful. Consonance Dissonance Unison Major and minor third Perfect fourth (considered a dissonance in harmony and counterpoint) Perfect fifth Major and minor sixth Seconds Sevenths Augmented fourth Diminished fifth Perfect octaves