National Institute of Technology Karnataka, Surathkal: Acoustics Assignments
National Institute of Technology Karnataka, Surathkal: Acoustics Assignments
Karnataka, Surathkal
Acoustics Assignments
Faculty In charge:
Dr. Jeyaraj Pitchaimani,
Associate Professor,
NATIONAL INSTITUTE OF
TECHNOLOGY KARNATAKA ,
INDIA.
Introduction:
Room modes are caused by sound reflecting off of various room surfaces.
There are three types of modes in a room: axial, tangential, and oblique. Modal
activity occurs at frequencies which are directly related to the dimensions of
the room.
Axial modes are the strongest and many times, the only ones that are
considered. Tangential and oblique room modes have less impact per mode
but are also more prevalent. A combination of tangential and oblique modes
can cause just as many issues as axial modes can.
A room mode can cause both peaks and nulls (dips) in frequency response.
When two or more waves meet and are in phase with each other at a specific
frequency, you will have a peak in response. When they meet and are out of
phase with each other, they cancel and you end up with a dip or null in
response.
F= Frequency(Hz)
c = speed of sound (343 m/s for Air)
sqrt = Square Root
lx= Length of Room(m)
ly = Width of Room(m)
lz = Height of Room(m)
l, m and n represent the mode we’re solving for in the room mode equation. If
you want to know the axial mode for the room length, l=1, m=0, n=0. If you
want to know the 2nd axial mode, l=2, m=0, n=0.
To find a tangential mode, use 1 in 2 of the variables from the room mode
calculator. So, if you want the first tangential of the length and width, l=1,
m=1, n=0.
Generally, as you go higher into the multiples (harmonics) of the modes, they
become slightly less intense, but also occur at more places in the room.
Modal Frequency for Various Values of (l,m,n) and room dimensions (lx,ly,lz):
Frequency(Hz)
Room Dimensions(lx,ly,lz)
Modal Number
(1,1,1) (2,1,1)
(0,0,0) 0 0
(1,0,0) 171.5 85.75
(2,0,0) 343 171.5
(1,1,0) 242.5376 191.7428
(1,1,1) 297.0467 257.25
(1,2,1) 420.0875 392.9559
(2,2,2) 594.0934 514.5
(2,2,1) 514.5 420.0875
(1,1,2) 420.0875 392.9559
(4,3,2) 923.5558 707.1126
Mode Shapes and Modal Frequencies are as follows:
(0,0,0) 0
(1,0,0) 171.5
(2,0,0) 343
(1,1,0) 242.5376
(1,1,1) 297.0467
(1,2,1) 420.0875
(2,2,2) 594.0934
(2,2,1) 514.5
(1,1,2) 420.0875
(4,3,2) 923.5558
For Rectangular Room:(lx,ly,lz)=(2,1,1)
Modal
Mode Shape Frequency(Hz)
Number(l,m,n)
(0,0,0) 0
(1,0,0) 85.75
(2,0,0) 171.5
(1,1,0) 191.7428
(1,1,1) 257.25
(1,2,1) 392.9559
(2,2,2) 514.5
(2,2,1) 420.0875
(1,1,2) 392.9559
(4,3,2) 707.1126
Matlab Code Assignment 1:
clc
clear
%Room Acoustics
c=343; %for air
lx = input('input the value of lx: ');
ly = input('input the value of ly: ');
lz = input('input the value of lz: ');
l = input('input the value for l: ');
m = input('input the value of m: ');
n = input('input the value of n: ');
[x,y,z] = meshgrid(0:0.01:lx,0:0.01:ly,0:0.01:lz);
p = cos(l*pi*x/lx).*cos(m*pi*y/ly).*cos(n*pi*z/lz);
K2 = (l*pi)/(lx);
K3 = (m*pi)/(ly);
K4 = (n*pi)/(lz);
K1 = sqrt((K2)^2 + (K3)^2 + (K4)^2);
W = (K1)*c; %in rad/s
frequency=W/(2*pi) %in Hz
xslice = 0:lx;
yslice = 0:ly;
zslice = 0:lz;
slice(x,y,z,p,xslice,yslice,zslice)
The following problem is formulated in the code and the values are used
accordingly:
The following problem is formulated in the code and the values are used
accordingly:
Q) A monopole sound source of source strength 0.08 m3/s (rms) and radius 30
mm (or a = 0.03 m) radiates at 1000 Hz in air. A dipole source was created by
placing a similar monopole at a distance of 10 mm from it, and the two sources
were tuned to radiate 180° out of phase with each other. Estimate the sound
power radiated by the resulting dipole and that radiated by each of the
individual monopoles. Assume impedance of air as 400 rayl and velocity of
sound in air as 340 m/s. (worked example 7.2 from Manik, Dhanesh N - Vibro-
acoustics_ fundamentals and applications (2017))
The center distance between the monopoles is calculated as 2d = 0.010 + 2 ×
0.03 = 0.07 m
Effect of Frequency:
k0=(2*pi*f)/c0
clear all
clc
%Dipole
f=input('Frequency of monopole(Hz) pulse f: ') %500Hz
c0=input('Speed of sound(m/s) in medium c0: ') %340
k0=(2*pi*f)/c0
Rho0=input('nominal density of acoustic medium: ') %1.2 for air
r=input('distance from centre of dipoles r: ')
Theta=[0:1:360].*pi/180;
Q=input('Sound Strength of Dipoles: ') %m^3/s
D=input('Distance between monopoles: ') %D<<r
d=D/2
I=(Rho0*c0*Q*Q*(k0^4)*cos(Theta).*cos(Theta))/(8*pi*pi*r*r)
p=Polar(Theta,I,{'b--'},[0 15 30 45])