Plates, gongs, bells, drumhead membranes and other real world sound sources have inharmonic partials.
→ Inharmonic Partials that are not integer multiples of the fundamental frequency.
Chladni figures reveal allowed vibrational modes.
A periodic function in audio describes a waveform that repeats its shape at regular time intervals. Understanding these fundamental shapes and their spectral properties is essential for sound synthesis.
Basic shapes of periodic waveforms
Symmetrical and curved rise and fall with no abrupt changes:
Sine wave
A sawtooth is characterized by a linear rise followed by an abrupt drop:
ramp up ramp down
Sawtooth wave
The formula shows the waveform as a sum of sine waves (view on Desmos)
Continuous, linear rise and fall between its maximum and minimum values, forming a symmetric triangle:
Triangle wave
The formula shows the waveform as a sum of sine waves (view on Desmos)
The signal spends equal time at the maximum (high) and minimum (low) levels, making it a symmetrical waveform with a 50% duty cycle (TON = TOFF):
Square wave
The formula shows the waveform as a sum of sine waves (view on Desmos)
| Waveform | Harmonics | Amplitude |
|---|---|---|
| Fundamental only | – | |
| Odd and even | –6 dB/octave ( |
|
| Odd only | –12 dB/octave ( |
|
| Odd only | –6 dB/octave ( |
A pulse wave is a non-sinusoidal periodic signal characterized by abrupt alternation between two amplitude levels: a maximum (TON) and a minimum (TOFF):
→ Asymmetrical form of a square wave.
The duty cycle (D) is the percentage of a waveform's period (TON) during which the signal is in the "high" or "on" state (value of 1 for a square wave), calculated as the ratio of the on time to the total period (TON + TOFF).
Pulse waves with different duty cycles.
Harmonic spectra of pulse waves with various duty cycles.
→ The duty cycle determines the harmonic spectrum of the pulse wave.
Changing the duty cycle alters the harmonic structure and perceived timbre of a pulse wave.
→ Modulating the duty cycle over time (PWM) creates dynamic, evolving timbres
PWM (Pulse Width Modulation) is a type of signal modulation that converts an analog signal into a binary-coded signal by varying the duty cycle of a pulse wave in direct proportion to the amplitude of the analog signal.
Applications of PWM:
Amplitude values are encoded into pulses.
Approximating a discontinuous function (such as a square wave or a sawtooth wave) by a finite sum of continuous sine waves causes:
In digital systems, frequency components above the Nyquist frequency (half the sampling rate) are mirrored back into the audible range, creating new, non-harmonic frequencies.
This effect is called aliasing.
→ Steep low-pass filtering before sampling minimizes aliasing (band-limited synthesis)
In contrast to periodic signals, stochastic signals (noise) are random and non-repeating, and are described primarily by their spectral distribution rather than their waveform shape.
The term colored noise refers to signals whose power distribution across frequencies is roughly similar to the corresponding spectra of visible light.
→ An imprecise analogy inspired by filtering white light.
White noise, analogous to white light which contains all spectral components, has equal energy distributed across all frequencies with a constant power spectral density.
Applications:
While white noise has physically equal energy at all frequencies, grey noise has perceptually equal loudness.
→ Inverse of the equal-loudness curve (A-weighting) compensates for the human ear’s varying sensitivity across the frequency spectrum.
Pink noise has equal power per octave, meaning its power decreases as frequency increases.
Application:
Brownian noise, also known as Brown noise or Red noise, has a power density that decreases by 6 dB per octave (or 20 dB per decade), emphasizing lower frequencies.
Blue noise's power density increases by 3 dB per octave as the frequency increases.
Application:
Power density increases by 6 dB/octave with frequency.
| Type of Noise | Spectral Density | Change per Octave (dB) | |
|---|---|---|---|
| White | 0 dB | ||
| Pink | –3 dB | ||
| Brownian / Red | –6 dB | ||
| Blue / Azure | +3 dB | ||
| Violet / Purple | +6 dB |
Build complex sounds by adding sine waves together
→ Additive synthesis: conceptually simple, practically expensive
Subtractive synthesis starts with rich, periodic waveforms (like sawtooth or square) and removes frequencies using filters.
Beyond sound synthesis, certain signals are designed specifically for measuring and analyzing acoustic systems, such as room reverberation and loudspeaker response.
A mathematical function with infinite amplitude at a single point and infinitely small duration.
Application:
The discrete unit sample is the digital equivalent of the Dirac delta:
Real-world approximations:
A sine sweep uses a sinusoid with an increasing frequency to excite an acoustic system, enabling the calculation of its impulse response.
Application:
Original content: © 2025 Lorenz Schwarz
Licensed under CC BY 4.0. Attribution required for all reuse.
Includes: text, diagrams, illustrations, photos, videos, and audio.
Third-party materials: Copyright respective owners, educational use.
Contact: lschwarz@hfg-karlsruhe.de