Beruflich Dokumente
Kultur Dokumente
INTRODUCTION:
METHODOLOGY
RESEARCH:
Main Acoustical Problems and How They Affect the Sound Quality:
Reverberation:
Lateral Reflections:
Early Reflections:
PROCEDURE:
10
12
14
16
18
White Noise:
20
22
23
REFERENCES:
24
APPENDIX:
25
Introduction:
The acoustical performance of spaces in the built environment is important in
order to allow for clear communication. One method to evaluate the acoustics of
an indoor space is to use the reverberation time. The reverberation is defined as
the length of time required for sound to diminish by 60 decibels. In order to
provide a reproducible parameter, a standard reverberation time has been
defined as the time for the sound to die away to a level 60 decibels below its
original level. The reverberation time can be modelled to permit an approximate
calculation. (cite) http://hyperphysics.phyastr.gsu.edu/hbase/acoustic/revtim.html)
From that analysis this report is focused on the development and validation of a
computer tool to calculate the reverberation time of room C511.
The recommended design sound level and reverberation time for the room
compared to Australian / New Zealand standard AN/NZS 2107:2000. The
recommended reverberation time in the teaching room by Australian standards
is 0.5 to 0.7 seconds.
Different frequency sounds are used to for testing in that room. Sounds of
frequency from 250 Hz to 8000 Hz, white noise and sounds were analysed by
generating a code in order for us to find the reverberation time or the recorded
sound files by Matlab.
Methodology
The method adapted for the conducted test is listed below.
Research:
Acoustics is the science of sound. There are numerous sorts of sound and
numerous ways by which it influences our lives. We utilize sound to convey and
you may also know that acoustics is important for creating musical instruments
or concert halls or surround sound stereo or hearing aids. Yet, stable is
additionally used to discover oil and gas, to study quakes and environmental
change, and to verify that the infant in a mother's womb is healthy. A few
creatures, similar to bats and dolphins, utilization sound to discover their
sustenance [1].
Space between axial standing waves : more than 5 Hz, less than 20 Hz
Reverberation time: 0,3 x (V/100 m3)^1/3 +- 50 ms from 200 Hz to 4 kHz, typically 200 to
400 ms.
Procedure:
1. Firstly, download the sound files onto a device to play it.
2. Secondly, play few sound files and turn up the volume so that an echo can
be heard within the room, or sufficiently turn up the volume and stop it so
you can hear the sound die away completely.
3. After that, an active recording device is needed to record the sound. The
device used for recording in this report is an android phone and the
application used for recording is PCM recorder.
4. Each audio file of frequency 250 Hz to 8000 Hz and white noise audio file
is played and recorded few milliseconds before the sound file played and
after the sound stopped accordingly to procedure no 2.
5. Keep note of files recorded accordingly to the sound frequency played for
later analysing.
6. The same step is taken for all the audio files.
7. Using the Matlab code script file, the reverberation time for each octave
band is calculated by plotting them.
3. dt=1/fs;
dt is the time of each sample in data and 1/fs represents is the division
of data per second. means 1/48000 samples per seconds.
4. t=(0:1:length(Y)-1)'*dt;
t gives the time from start to end.
5. x= hilbert(Y);
env = abs(x);
Hilbert computes the so-called discrete-time analytic signal
Env keeps the absolute values of variable x used for Hilbert.
6. db = 20*log10(env)
this code equation covert the Sound Pressure Level (SPL) into decibels
(db).
7. ws = 0.05
w = round(ws*fs);
ws is created to take the least significant values in the graph and rounded
with the sample rate to calculate the moving average
8. plot(t,db)
this code is used to plot the time vs decibels plot.
9. t1 = input('Enter lower limit in sec: ');
tu = input('Enter upper limit in sec: ');
tLi = round(t1/dts);
tUi = round(tu/dts);
yy = mAve(tLi:tUi);
xx = ts (tLi : tUi);
P = polyfit(xx', yy, 1);
These codes are used to select the range for the slope. And to calculate
the slope;
6
10.
rt = abs(60/P(1))
This final code is used to calculate the reverberation time
abs give the only positive values.
The specific code for the analysis of sound file is given in Appendix.
11
13
16
18
19
Figure 8.1 8000 Hz Octave Band graph in Decibels along with Moving
average
20
White Noise:
21
Figure 9.1 White Noise Graph in Decibels along with Moving Average
Reverberatio
n Time [s]
0.738
0.52
0.79
0.823
0.554
0.63
069
The results of reverberation time from each octave band are quite close
but changes for each octave band is close enough to the standard level
(0.5 0.7). However the average the average reverberation time from the
results of the octave bands is calculated 0.5792 seconds.
The graph of table 10 is shown below in figure below.
Figure above shows clear visual graph of the reverberation time for the
each octave band.
In term of the room used for the recording, the significant amount of the
sound energy bounces off the walls and solid surfaces. However the
contents of the room such as chairs, carpet and computer and electronic
devices would have been contributed in a wide amount on the absorption
of sound, therefore fewer echoes could be produced rather than a quite
empty room. The chosen room did not provide a generally long
reverberation time because of the rooms abundance of the obstacles and
the gaps and spaces in the room.
23
24
References:
No h fontes bibliogrficas no documento atual.
25
Appendix:
The following code is a copy of the program used for the calculation of
reverberation time. The program is written and compiled on MATLAB.
clear all
clc
close all
[filename, pathname, filterindex] = uigetfile('*.wav', 'Pick audio file');
[Y, fs]= audioread(filename); % Choose the soundfile wav extension
dt=1/fs; % sample rate
t=(0:1:length(Y)-1)'*dt; % time varient along Y
figure(1) % create figure 1
plot(t,Y) % plot t versue Y PLOT
grid on % make a grid around the plot
title('250 Hz') % title of the graph is 250 hz
ylabel('SPL[-]') % y axis is labeled as SPL
xlabel('Time [s]') % x axis is lebeled as Time
ylim([-max(Y) max(Y)]*1.1) % show the limiting values from -1.1 to +1.1
[x]= ginput(2); % crop or select a specific region
xlim([x(1,1) x(2,1)]) % limit x axis values
%%hilbert transform to Calculate the Envelope
x= hilbert(Y);
env = abs(x); % take absolute values, result positive value
db = 20*log10(env); % convert to db
figure(2)
plot(t,db)
ylabel('SPL [dB]')
xlabel('Time [s]')
%Moving Average
ws = 0.02 %moving average
w = round(ws*fs); %moving average & sample frequency product
% for loop is used to calculate the average of all points in each segment
c=0;
for idx_s = 1:w:length(Y)-w
c = c+1;
idx_e = idx_s + w -1;
mAve(c) = mean ( db(idx_s:idx_e) );
26
end
dts = dt*w;
ts =(0 : 1: length(mAve)-1)'*dts;
hold on
plot(ts,mAve,'r')
% SELECT REGION FOR SLOPE-FIT
t1 = input('Enter lower limit in sec: ');
tu = input('Enter upper limit in sec: ');
tLi = round(t1/dts);
tUi = round(tu/dts);
yy = mAve(tLi:tUi);
xx = ts (tLi : tUi);
%CALCULATE SLOPE
P = polyfit(xx', yy, 1);
%CALCULATE REVERBERATION TIME
rt = abs(60/P(1))
27