Class CalculateRT60

java.lang.Object
   |
   +----CalculateRT60

class CalculateRT60
extends Object
Calculates the reverberation time


Variable Index

 o a_bw
 o a_c
 o a_f
 o a_fw
 o a_lw
 o a_rw
 o a_w1
 o a_w2
 o a_w3
 o a_w4
 o coefficient
 o height
 o k
 o length
 o material1
 o material10
 o material11
 o material12
 o material13
 o material14
 o material15
 o material16
 o material17
 o material18
 o material2
 o material3
 o material4
 o material5
 o material6
 o material7
 o material8
 o material9
 o str
 o time
 o width

Constructor Index

 o CalculateRT60(double, String, double, String, double, String, double, String, double, String, double, String, double, String, double, String, double, String, double, String, double, double, double, double)
Creates a new CalculateRT60

Method Index

 o calculateRT60()
Calculates the reverberation time
 o verifyMaterial(int, String)
Determines the absorption coefficient of materials

Variables

 o time
 double time[]
 o k
 private double k
 o width
 private double width
 o length
 private double length
 o height
 private double height
 o a_c
 private double a_c
 o a_fw
 private double a_fw
 o a_bw
 private double a_bw
 o a_lw
 private double a_lw
 o a_rw
 private double a_rw
 o a_f
 private double a_f
 o a_w1
 private double a_w1
 o a_w2
 private double a_w2
 o a_w3
 private double a_w3
 o a_w4
 private double a_w4
 o coefficient
 private double coefficient[][]
 o str
 private String str[]
 o material1
 private double material1[]
 o material2
 private double material2[]
 o material3
 private double material3[]
 o material4
 private double material4[]
 o material5
 private double material5[]
 o material6
 private double material6[]
 o material7
 private double material7[]
 o material8
 private double material8[]
 o material9
 private double material9[]
 o material10
 private double material10[]
 o material11
 private double material11[]
 o material12
 private double material12[]
 o material13
 private double material13[]
 o material14
 private double material14[]
 o material15
 private double material15[]
 o material16
 private double material16[]
 o material17
 private double material17[]
 o material18
 private double material18[]

Constructors

 o CalculateRT60
 public CalculateRT60(double d1,
                      String s1,
                      double d2,
                      String s2,
                      double d3,
                      String s3,
                      double d4,
                      String s4,
                      double d5,
                      String s5,
                      double d6,
                      String s6,
                      double d7,
                      String s7,
                      double d8,
                      String s8,
                      double d9,
                      String s9,
                      double d10,
                      String s10,
                      double constant,
                      double w,
                      double l,
                      double h)
Creates a new CalculateRT60

Parameters:
d1 - area of a ceiling
s1 - material of a ceiling
d2 - area of a frontwall
s2 - material of a frontwall
d3 - area of a backwall
s3 - material of a backwall
d4 - area of a leftwall
s4 - material of a leftwall
d5 - area of a rightwall
s5 - material of a rightwall
d6 - area of a floor
s6 - material of a floor
d7 - area of windows on the frontwall
s7 - material of windows on the frontwall
d8 - area of windows on the backwall
s8 - material of windows on the backwall
d9 - area of windows on the leftwall
s9 - material of windows on the leftwall
d10 - area of windows on the rightwall
s10 - material of windows on the rightwall
constant - a constant that equals 0.161 when the units of measurement are expressed in meters and 0.049 when in feet
w - width of a room
l - length of a room
h - height of a room

Methods

 o calculateRT60
 public void calculateRT60()
Calculates the reverberation time

Parameters:
no - parameter
 o verifyMaterial
 private void verifyMaterial(int j,
                             String s)
Determines the absorption coefficient of materials

Parameters:
j - the number of a surface or windows
s - material name