Home / Trance from scratch

What is a sound? Waveforms, filters and envelopes

LearningUpdated 2026-09-27

The physics every later sound is built on, explored with REAPER's own ReaSynth, ReaEQ and a spectrum analyzer.

Goal

Get to know the four ingredients of every synth sound (waveform, pitch, filter, envelope) and watch them on a spectrum analyzer until they stop being abstract.

The idea

A sound is air pressure going up and down. A speaker follows a list of numbers saying how far to push out or pull in at each instant, and digital audio is that list. Each number is a Sample; there are 44,100 or more per second (the Sample rate).

Pitch is how fast the pattern repeats: its Frequency, in Hertz. The A above middle C is 440 Hz, and doubling the frequency takes you up an Octave. For MIDI note n:

frequency = 440 × 2 ^ ((n - 69) / 12)

So note 57 (A3) is 220 Hz and note 33 (A1, our bass note) is 55 Hz.

Shape is Timbre, the reason a flute and a trumpet on the same note sound nothing alike. Synths start from four waveforms:

WaveformSoundsHarmonics
Sinepure, a whistle, a subthe fundamental only
Trianglesoft, hollowodd ones, fading fast
Squarehollow, reedyodd ones, fading slowly
Sawbright, buzzy, fullall of them, the nth at 1/n

Any repeating wave is a stack of sines at whole-number multiples of its pitch: the Fundamental, then the 2nd Harmonic, the 3rd, and so on. In a saw the 2nd is 6 dB down, the 3rd about 9.5 dB, the 4th 12 dB. A sine has none, which is why a saw sounds so much brighter.

A Filter takes harmonics away. A Low-pass filter keeps the lows and cuts everything above its Cutoff. Start bright and carve it down: that's Subtractive synthesis, and it's how nearly every trance sound is made. Resonance boosts the frequencies right at the cutoff, which gives a sweep its "wow".

An Envelope shapes loudness over time, in four stages, ADSR:

Attack rises, decay falls to the sustain level, sustain holds while the key is down, release fades out after.

A pluck: instant attack, short decay to nothing. A pad: slow attack, long release. Every synth in this series is the same chain, oscillator into filter into envelope.

Build it

Three stock effects: ReaSynth, ReaEQ (as a filter) and a spectrum analyzer.

  1. Add a track Test and put ReaSynth on it (search reasynth).
  2. Below it in the same chain, add a spectrum analyzer (search spectrum). It has to come after the synth to see what the synth makes.
  3. Make a one-bar MIDI item and draw a note across the whole bar on A3 (MIDI 57), the A just below middle C (REAPER calls middle C "C4"). R for repeat, play.
  4. In ReaSynth: Volume about -10 dB, Square mix, Triangle mix and Extra sine mix all the way down, Sawtooth mix all the way up.
  5. On the analyzer, find the row of peaks falling off to the right: 220 Hz, then 440, 660, 880.
  6. Swap to a sine: Sawtooth mix down, Extra sine mix up. The row collapses toward one peak. Listen to how much duller it is.
  7. Move the note up an octave, to A4 (69). Every peak moves to double its frequency.
  8. Put ReaEQ between ReaSynth and the analyzer. Click a band tab, set Type to Low pass, drag Frequency down to about 1000 Hz. Back on the saw, watch the peaks above the cutoff vanish as the sound darkens.
  9. In ReaSynth, set Attack to a few hundred ms and hear the fade-in. Then attack near zero, Decay short, Sustain at minimum, and shorten the note to an eighth. That's a pluck.

Listen for

Try this

What happens to a note's frequency when you go up an octave?

It doubles. A3 is 220 Hz, A4 is 440 Hz.

Which harmonics does a saw contain, and how loud is the 2nd?

All of them, the nth at 1/n. The 2nd is half the level, 6 dB down.

What does raising a low-pass filter's cutoff do?

Lets more harmonics through, so the sound gets brighter.

What does ADSR stand for?

Attack, decay, sustain, release.