Research Methods in Acoustics Lecture 6: Musical Acoustics

Slides:



Advertisements
Similar presentations
Chapter 12 SOUND.
Advertisements

All sounds are produced by the vibration of matter. If there is no vibration, there is no sound.
BASIC CONCEPTS IN ARCHITECTURAL ACOUSTICS ENVIRONMENTAL CONTROL III
Sound Chapter 13.
Chapter 16: Sound 16-3 Intensity of Sound: Decibels
Doppler Effect Physics 202 Professor Lee Carkner Lecture 11.
Phy 212: General Physics II
Test Physics 202 Professor Lee Carkner Lecture 10.
Auditorium acoustic (continued) 1. Sound sources Sound source can be characterized by power and directivity Directivity factor Q – ratio of sound intensity.
Sound.
SOUND A vibrating object, such as your voice box, stereo speakers, guitar strings, etc., creates longitudinal waves in the medium around it. When these.
Basic Concepts: Physics 1/25/00. Sound Sound= physical energy transmitted through the air Acoustics: Study of the physics of sound Psychoacoustics: Psychological.
EE513 Audio Signals and Systems Noise Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
A 100-m long high-voltage cable is suspended between two towers
Daily Challenge, 10/26 WHAT IS SOUND? Earlier, we saw how waves on a Slinky can cancel each other, add together to make one big wave, pass through each.
Simple Harmonic Motion
Chapter 12 Preview Objectives The Production of Sound Waves
Waves and Wave Motion in elastic media Simple Harmonic Motion Any object moving under the influence of Hooke’s Law type forces exhibits a particular.
Calculate the speed of 25 cm ripples passing through water at 120 waves/s.
Chapter 13 - Sound 13.1 Sound Waves.
The Physics of Sound. Sound: a series of disturbances of molecules within, and propagated through, an elastic medium or… Sound: is an alteration in the.
Physics.
Chapter 15 Sounds.
Holt Physics Chapter 12 Sound.
Sound Vibration and Motion.
Fundamentals of Audio Production. Chapter 1 1 Fundamentals of Audio Production Chapter One: The Nature of Sound.
Lesson 02 Physical quantities 5 th October 2012Physical quantities1.
Sound Sound waves are –Longitudinal –Pressure Waves Infrasonic – less than 20 Hz Audible – between 20 and 20,000 Hz Ultrasonic – greater than 20,000 Hz.
© Houghton Mifflin Harcourt Publishing Company Preview Objectives The Production of Sound Waves Frequency of Sound Waves The Doppler Effect Chapter 12.
Instructor: M Sc. Eng. Nagham Ali Hasan 2 nd semester 2008/2009 University of Palestine College of Applied Engineering & Urban Planning Department of Architecture,
SOUND PRESSURE, POWER AND LOUDNESS MUSICAL ACOUSTICS Science of Sound Chapter 6.
EE Audio Signals and Systems Room Acoustics Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Physics Sound 12.1 Characteristics of Sound 12.2 Intensity of Sound - Decibels 12.5 Vibrating Strings and Air Columns 12.7 Interference of Sound.
The production of sound Waves always begin with A vibrating object.
Sound Waves Chapter 13. General Characteristics Longitudinal wave; requires elastic medium for propagation Series of compressions and rarefactions in.
Chapters 16, 17 Waves.
3. Energy in Waves Updated May 13, Index A.Waves and Amplitude 1.Amplitude and Particle Velocity 2.Impedance (of a spring) 3.Specific (acoustic)
Chapter 12 Preview Objectives The Production of Sound Waves
SOUND PRESSURE, POWER AND LOUDNESS
Chapter 13 Sound Physics. Sound ♪Sound Waves ♪Longitudinal ♪Require a Medium.
Consider the possible standing waves that could exist on a 6.00-m long stretched rope (fixed at both ends). a. What is the wavelength of the fourth harmonic.
Wave Motion Types of mechanical waves  Mechanical waves are disturbances that travel through some material or substance called medium for the waves. travel.
Physics Mrs. Dimler SOUND.  Every sound wave begins with a vibrating object, such as the vibrating prong of a tuning fork. Tuning fork and air molecules.
Sound Part II  Music What is the study of sound called?  Acoustics.
Sound Waves Vibration of a tuning fork.
Dr. Clincy Professor of CS
Radar Range Equation.
Sound.
EE599-2 Audio Signals and Systems
Auditorium Acoustics 1. Sound propagation (Free field)
CHAPTER 13 Sound.
A pressure variation that is transmitted through matter
Properties of sound.
Auditorium acoustic (continued)
Determine the l, f, & T of the 49th overtone of a 4
Examples of wave superposition
Research Methods in Acoustics Lecture 7: Convolution and Fourier Transform Jonas Braasch Partly based on Jens Blauert’s Communication Acoustics script.
Dr. Clincy Professor of CS
Research Methods in Acoustics Lecture 6: Musical Acoustics
Topics for Today Intensity and sound level (17-4)
Sound.
Research Methods in Acoustics Lecture 3: Damped and Forced Oscillators
Research Methods in Acoustics Lecture 4: Waves
Research Methods in Acoustics Lecture 5: Reflection and Horn Equation
Chapter 14 Waves and Sound.
Research Methods in Acoustics Lecture 5: Reflection and Horn Equation
General Physics L07_Sound.ppt Energy flux at your eardrums
Lecture 12 Chapter 17 Waves II
All sounds are produced by the vibration of matter
Sound Chapter 12.
Presentation transcript:

Research Methods in Acoustics Lecture 6: Musical Acoustics Jonas Braasch

Wave Equation for Pressure Explain x=

Solution for the Wave Equation We have three oscillating terms: forward propagating wave backward propagating wave oscillating function in time Theoretically we also have a second oscillating term in time, oscillating backwards! In our environment, we can exclude this solution.

Solution for the Wave Equation forward propagating wave backward propagating wave

Acoustic Impedance of a Plane Wave Acoustic Impedance Definition Acoustic Impedance of a plane wave Acoustic Impedance of an occluder

Wave Equation for Pressure forward propagating wave backward propagating wave L p0 v0 Z0= v0 p0 x x=0 L−x x=L

Velocity wave in organ pipe open pipe stopped pipe

Velocity wave in organ pipe open pipe l/2 stopped pipe Standing wave at l=l/2 Z0<<ZW

Impulse response of a cylindrical resonator t=0 ms l p+ t=0.5·l/c ms l t=1.0·l/c ms p+ r=p−/p+=−1 l t=1.0·l/c ms p−=−p+ p− l

Impulse response of a cylindrical resonator t=1.0·l/c ms p−=−p+ p− l t=1.5·l/c ms p− l t=2.0·l/c ms p− l p+ t=2.0·l/c ms p+=−p− l T=2·l/c T=2·l/c l=c·T=2·l w=c/2l f=c/4pl

Impulse Response at l=0 p t with T=2·l/c p t with T=2·l/c R=1 T 2·T T 2·T 3·T 4·T 5·T 6·T p with T=2·l/c R=0.9 t T 2·T 3·T 4·T 5·T 6·T with T=2·l/c

Velocity wave in organ pipe open pipe l/2 stopped pipe l/4

Impulse response of a closed resonator t=0 ms l p+ t=0.5·l/c ms l t=1.0·l/c ms p+ r=p−/p+=1 l p− t=1.0·l/c ms p−=p+ l

Impulse response of a cylindrical resonator t=1.0·l/c ms p− p−=p+ l t=1.5·l/c ms p− l t=2.0·l/c ms p− l t=2.0·l/c ms p+=−p− p+ l

Impulse Response at l=0 p R=0.9 t T 2·T 3·T 4·T 5·T 6·T with T=2·l/c

function y=OrganPipeOpenSound(l,att) l=0.5; % m c=343; % m/s Fs=48000; PipeTabs=round(Fs*l/c); l=PipeTabs/Fs*c; ForwardDelayLine=zeros(PipeTabs+1,1); BackwardDelayLine=zeros(PipeTabs+1,1); x=randn(Fs,1); PipeTabs=PipeTabs+1; for n=1:(length(x)) ForwardDelayLine(2:PipeTabs)=ForwardDelayLine(1:PipeTabs-1); ForwardDelayLine(1)=-1*BackwardDelayLine(1)+x(n); y(n)=ForwardDelayLine(1); BackwardDelayLine(1:PipeTabs-1)=BackwardDelayLine(2:PipeTabs); BackwardDelayLine(PipeTabs)=-att*y(n); end % of for wavwrite(y,Fs,['Organ_open_' int2str(l*10) '_' int2str(att*10) ]);

Closed pipe, 50 cm length, r=0.9

Closed pipe, 50 cm length, r=0.9

Closed pipe, 15 cm length, r=0.9

Closed pipe, 15 cm length, r=0.9

Closed pipe, 30 cm length, r=0.5

Closed pipe, 30 cm length, r=0.5

Closed pipe, 50 cm length, r=0.9

Closed pipe, 50 cm length, r=0.9

Open pipe, 3 m length, r=0.9

Open pipe, 3 m length, r=0.9

Open pipe, 1 m length, r=0.9

Open pipe, 1 m length, r=0.9

Open pipe, 30 cm length, r=0.9

Open pipe, 30 cm length, r=0.9

Convolution From our pipe experiment, we saw that our current sound at l=0 is a mixture from the exciting noise and the pressure wave that has been returned after T= 2l/c. Theoretically we can synthesize this sound by adding old copies of the exciting sound to the new ones: y(t)=x(t)+rx(t-T)+r2x(t-2T)+…

R=0.9 t T 2·T 3·T 4·T 5·T 6·T with T=2·l/c R=0.9 t

Convolution t t + t t d(t=0) d(t)=1 for t=0 =0 elsewhere rd(t − T) Impulse response of a cylindrical resonator

Convolution t t t t + t t t t x (t) d(t=0) rd(t − T) rx (t−T)

Convolution Now let us go into the digital domain with the time indices n and k. We can now generalize the last equation: Impulse Response Convolution impulse response 2. time signal With the help of the convolution, we can calculate the output y(k) for an input signal x(k) and the impulse response h(k).

Definition of Convolution A convolution is an integral that expresses the amount of overlap of one function as it is shifted over another function . It therefore "blends" one function with another. http://mathworld.wolfram.com/Convolution.html In mathematics and, in particular, functional analysis, convolution is a mathematical operator which takes two functions f and g and produces a third function that in a sense represents the amount of overlap between f and a reversed and translated version of g. A convolution is a kind of very general moving average, as one can see by taking one of the functions to be an indicator function of an interval. http://en.wikipedia.org/wiki/Convolution

Convolution z(k)= x(k)*y(k)= S x(m) y(k-m) + k,m: samples in time inf z(k)= x(k)*y(k)= S x(m) y(k-m) m=-inf + k,m: samples in time x: signal y: impulse response z: convolved signal

Convolution [signal,Fs]=wavread('MarlabSoloMono2'); [ir,Fs]=wavread('gs201m.wav'); tic y=conv(signal,ir); toc y=0.8.*y./max(abs(y)); wavwrite(y,Fs,'ConvSignal.wav'); Elapsed time is 403.312000 seconds. Name Size Bytes Class Fs 1x1 8 double array ir 121466x1 971728 double array signal 326707x1 2613656 double array y 448172x1 3585376 double array

Pythagorean Tempering octave 2:1 fifth 3:2 fourth 4:3 Major 3rd 5:4 Minor 3rd 6:5 Major 6th 5:3 Minor 6th 8:5 We can determine music intervals through basic ratios between two frequencies In the Pythagorean Tempering we use fifth and octaves to establish a musical scale: C-G-D-A-E-B-F#-C#-G#-D#-A#-F Unfortunately, some keys really sound out of tune.

Equal Tempering In the equal tempered scale all semitones have the same semitone interval: This way all keys basically sound the same and are all acceptable. The standard reference tone is A4=440Hz, but reference tone up to 445 Hz are common today.

Matlab function for pitch determination function s=note(f) o=log2(f)-log2(440); n=round(12*o); cents = 100*(12*o-n); oct=floor((n-3)/12)+5; chroma=mod(n,12); chromalist = {'A'; 'A#'; 'B'; 'C'; 'C#'; 'D'; 'D#'; 'E'; 'F'; 'F#';'G'; 'G#'}; cents = sprintf('%+.0f',cents); s=[char(chromalist(chroma+1)),num2str(oct),' ',num2str(cents), ' cents'];

FREE-REED ORGAN PIPE Weber (1829)

The Flutter Echo Radiation of plane wave towards the wall loudspeaker placed in the center of the room speed of sound cs = 340 m/s distance from wall W/2 m (W=Room Width). W

The Flutter Echo the wave reaches the wall after: T1=W/(2cs) sec Example: Room Width= 5 m Tp =5/(2x340) s =0.00735 s =7.35 ms 5 m

The Flutter Echo the wave reaches the origin after: T1=W/cs sec Example: Room Width= 5 m Tp=5/(340) s =0.0147 s =14.7 ms 5 m

The Flutter Echo Now the pressure waves continues to the other side of the room ... 5 m

The Flutter Echo ... and after another 14.7 ms it is again back at the origin. ... since this event repeats itself periodially, in our case every 14.7 ms we speak about a flutter echo, or slap echo 5 m

The Flutter Echo If Tp > 50 ms, we hear each flutter echo as a separate auditory event. 5 m

The impulse response of a flutter echo amplitude Tp time

The absorption coefficient To what extent is the sound wave reflected? reflected wave transmitted wave Incoming wave xi=(1-a) xr+ axt Wall with a=absorption coefficient The absorption coeffient has values between 0 and 1, with 0 (total reflection) and 1 (full transmission).

The impulse response of a flutter echo amplitude Tp time Every slap echo is diminished by the absorption coefficient For the k-th echo we find: xk= x0(1-a)k

The impulse response of a flutter echo x(t)= x0(1-a)t/Tp ... which leads to a exponentional delay of the envelope: x(t)= x0 eln(1-a)t/Tp = x0 eln(1-a)t/Tp ≈ x0 e-at/Tp approximation for small a

Sound Intensity Sound intensity is defined as the sound power per unit area. The usual context is the measurement of sound intensity in the air at a listener's location. The basic units are watts/m2 or watts/cm2 . Many sound intensity measurements are made relative to a standard threshold of hearing intensity I0 :                                                                                                                             The most common approach to sound intensity measurement is to use the decibel scale:                                                                                                                       from http://hyperphysics.phy-astr.gsu.edu/hbase/sound/intens.html#c1

Inverse Square Law The sound intensity from a point source of sound will obey the inverse square law if there are no reflections or reverberation. A plot of this intensity drop shows that it drops off rapidly. from http://hyperphysics.phy-astr.gsu.edu/hbase/acoustic/invsqs.html

Sound Intensity Power Energy

MODEL STRUCTURE

BASIC EQUATIONS Adapted from Tarnopolsky et al. (2000)

SIMULATION OF THE RESONATOR Digital waveguide model (Smith, 1998) Reflectance at open end: solution of Levine and Schwinger (1948) Losses are considered at the beginning or end of the delay line

TYPES OF RESONATORS diameter diameter (reed) (bell) cylindrical 4.5 cm 4.5 cm conical I 3.2 cm 6 cm conical II 3.2 cm (12.9+l).0.064 cm

5. PIPE DIMENSIONS

PIPE FREQUENCIES cylindrical conical I conical II

PIPE FREQUENCIES cylindrical conical I conical II

PIPE FREQUENCIES cylindrical conical I conical II

PIPE FREQUENCIES cylindrical conical I conical II

SPECTROGRAMS [dB] po

SPECTROGRAMS [dB] po [dB] pi

SPECTROGRAMS [dB] po [dB] pi [dB] x

ATTACK TRANSIENTS 19 cm 34 cm 40 cm 44 cm

Acoustic Parameters p pascals sound pressure f hertz frequency ρ kg/m3 density of air c m/s speed of sound v particle velocity ω = 2 · π · f radians/s angular frequency ξ meters Particle displacement Z = c • ρ N·s/m³ acoustic impedance a m/s² Particle acceleration J W/m² sound intensity E W·s/mm³ sound energy density Pac watts sound power or acoustic power A m² Area

References T.D. Rossing: The Science of Sound, Addison Wesley; 1st edition (1982) ISBN: 0805385657 Jens Blauert, Script Communication Acoustics I (wave equation derivation), The script is currently translated by Ning into English Daniel A. Russell: Absorption Coefficients and Impedance http://www.kettering.edu/~drussell/GMI-Acoustics/Absorption.html http://www.phys.unsw.edu.au/~jw/Helmholtz.html