public class NoiseOp extends AbstractBufferedSoundUnaryOp
| Constructor and Description |
|---|
NoiseOp(double max)
Explicit Value Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyFilter(double[] source,
double[] destination)
Add noise to the signal.
|
applyFilter, filtercreateCompatibleDestinationSoundpublic NoiseOp(double max)
max - The maximum amount of noise to addpublic void applyFilter(double[] source,
double[] destination)
applyFilter in class AbstractBufferedSoundUnaryOpsource - The source signaldestination - The resulting signal