Unique Sound Properties of Tone.NoiseSynth
In this article, we explore the unique sound-generating capabilities
of Tone.NoiseSynth within the Tone.js web audio framework.
We will examine how this specialized synthesizer utilizes different
noise sources, such as white, pink, and brown noise, coupled with
precise envelope controls to generate percussion, atmospheric textures,
and specialized audio effects.
What is Tone.NoiseSynth?
Unlike traditional synthesizers in Tone.js that rely on periodic
waveforms (like sine, square, or triangle waves) to produce pitched
tones, Tone.NoiseSynth is designed specifically to generate
unpitched, stochastic sound. It pairs a noise generator with an
amplitude envelope, making it an essential tool for synthesizing
non-melodic audio elements.
Core Noise Sources
The defining feature of Tone.NoiseSynth is its ability
to switch between three distinct types of noise, each characterized by
its spectral density:
- White Noise: This source contains equal energy across all frequencies. It produces a bright, harsh, and hiss-like sound, which is highly effective for synthesizing modern electronic hi-hats, cymbals, and crash effects.
- Pink Noise: Pink noise has spectral density that decreases at a rate of 3 decibels per octave. Because human hearing is logarithmic, pink noise sounds balanced and natural to the human ear. It is frequently used for creating wind textures, rain effects, and softer percussion.
- Brown Noise: Also known as Brownian noise, its spectral density decreases at 6 decibels per octave. This results in a deep, muffled rumble dominated by low frequencies. It is the ideal choice for simulating heavy surf, deep rumbles, or low-frequency atmospheric hums.
Integrated Amplitude Envelope
Tone.NoiseSynth comes equipped with a built-in
Tone.AmplitudeEnvelope (ADSR). Because noise generators run
continuously, the envelope is what shapes the noise into usable musical
events.
By adjusting the attack, decay, sustain, and release times, you can completely transform the character of the noise: * Percussive Sounds: A fast attack and short decay time instantly turn white noise into a crisp snare drum tail or a closed hi-hat. * Swell and Wind Effects: A slow attack and long decay/release times allow pink or brown noise to fade in and out gradually, mimicking natural acoustic environments.
Practical Applications in Web Audio
Because Tone.NoiseSynth does not require tracking pitch
or frequency inputs to operate, it is highly efficient. Developers and
sound designers use it to trigger instant transient sounds using the
triggerAttackRelease() method. When combined with external
filters (Tone.Filter), the output of
Tone.NoiseSynth can be swept across the frequency spectrum
to create classic riser effects, ocean waves, or sci-fi sweep sounds in
interactive web applications.