Skip to content

Noise generators

Adding a noise generator is similar to adding an oscillator:

gml
// Default value, optional
var _amp_factor = 1;

synth_add_noise(synth, synth_noise_white, _amp_factor);
synth_add_noise(synth, synth_noise_brown, _amp_factor);
synth_add_noise(synth, synth_noise_pink, _amp_factor);

Noise types

SynthEnginePro supports three different kinds of noise: white, brown, and pink:

  • White noise is generated with a randomized signal equally across all frequencies.
  • Brown (Brownian) noise is generated with a randomized signal that is louder in lower frequencies and quieter in higher frequencies. It sounds similar to a continuous ocean wave.
  • Pink noise is generated in a way that attempts to output an equal amount of energy across all frequencies. Its sound is similar to that of a waterfall.

Performance

Noise generators are more performant than regular oscillators, with the exception of pink noise. Pink noise requires a little extra math to generate properly, so it's recommended to not exceed 2-3 pink noise generators at a time.

It is also worth noting that LFO connections to pitch have no affect on noise generators, since their output is purely random.