Class Bark
- java.lang.Object
-
- com.tagtraum.audiokern.psychoacoustics.Bark
-
public final class Bark extends Object
Bark scale.
-
-
Field Summary
Fields Modifier and Type Field Description static float[]
BAND_BOUNDARIES
Bark band boundaries in Hz.static float[]
BAND_CENTERS
Bark band centers in Hz.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static float
toBark(float frequencyInHz)
Converts a frequency in Hz to the bark scale according to Schroeder's formula.
-
-
-
Method Detail
-
toBark
public static float toBark(float frequencyInHz)
Converts a frequency in Hz to the bark scale according to Schroeder's formula.- Parameters:
frequencyInHz
- frequency in Hz- Returns:
- frequency in Bark
- See Also:
- Schroeder, Atal & Hall, "Optimizing digital speech coders by exploiting masking properties of the human ear", JASA Vol.66 No6 (1979) p 1647-1652
-
-