Class AuditoryMasking
- java.lang.Object
-
- com.tagtraum.audiokern.psychoacoustics.AuditoryMasking
-
public final class AuditoryMasking extends Object
Provides methods for simulating auditory masking as it occurs in human perception of sound.
-
-
Field Summary
Fields Modifier and Type Field Description static MapFunction<float[]>
SCHROEDER_MAGNITUDE_MASK
Applies masking using Schroeder's spread function to magnitude values.static MapFunction<float[]>
SCHROEDER_POWER_MASK
Applies masking using Schroeder's spread function to power/intensity (as opposed to magnitudes) values.
-
-
-
Field Detail
-
SCHROEDER_POWER_MASK
public static MapFunction<float[]> SCHROEDER_POWER_MASK
Applies masking using Schroeder's spread function to power/intensity (as opposed to magnitudes) values.
-
SCHROEDER_MAGNITUDE_MASK
public static MapFunction<float[]> SCHROEDER_MAGNITUDE_MASK
Applies masking using Schroeder's spread function to magnitude values. This implies that the given values are first squared, then scaled and then the square root is drawn. The result will have the same sign though as the input value.
-
-