public class Noise
extends java.lang.Object
Constructor and Description |
---|
Noise() |
Modifier and Type | Method and Description |
---|---|
static float |
DBToPcm(float dB)
Decibel to PCM
|
static float |
getDistBetweenNoise(float noise1,
float noise2)
Distance between two noises
|
static double[] |
pcmToDB(double[] pcm)
compute the noise DB
|
static float |
pcmToDB(float pcm)
cumpte the noise DB
|
public static float pcmToDB(float pcm)
pcm
- noise levelpublic static double[] pcmToDB(double[] pcm)
pcm
- set of noise levelpublic static float DBToPcm(float dB)
dB
- public static float getDistBetweenNoise(float noise1, float noise2)
noise1
- noise2
-