setNoise method

void setNoise({
  1. GeneratorNoiseType type = GeneratorNoiseType.white,
  2. int seed = 0,
  3. double amplitude = 0.5,
})

Sets the noise type, seed, and amplitude.

Implementation

void setNoise({
  GeneratorNoiseType type = GeneratorNoiseType.white,
  int seed = 0,
  double amplitude = 0.5,
}) =>
    _generator.setNoise(type: type, seed: seed, amplitude: amplitude);