genNoise method
Generates a noise with the provided type.
Implementation
NoiseSound genNoise(NoiseType type) {
final platformSound = _engine.generateNoise(type);
final sound = NoiseSound._(platformSound);
_soundsFinalizer.attach(sound, platformSound);
return sound;
}