Phase Lab · The phase lab

An address on the cycle, shift and invert · by Shay Shezifi
‹ All labs

Play the song and press Karaoke. What disappears, and what stays?

Volume
Inside this lab: screens and terms

Phase as an address on the cycle, summing waves, shift versus invert, wave plus wave, pulse from two saws, Ø on mics, aligning in zoom and the karaoke button

Mystery · The vanishing vocal

Karaoke · One button, no vocal

One button, and the vocal disappears from the song. What happened?

Play the song and press Karaoke. What disappears, and what stays?

Phase · What phase is

Address · An address on the cycle

Phase is an address: where we are inside a cycle of the wave.

Drag the point around the circle, and see where it is on the wave.

Read more: Harmonics Lab · The harmonics lab

Can You Hear It? · The ear doesn’t hear phase

A sine that starts at 0° and a sine that starts at 180°: do they sound the same?

Play A and B, and guess: which one starts at 180°?

Summing · When two waves meet

Sum · Point by point

Two waves add up point by point, along the time axis.

Drag the cursor across the graph, and add the two numbers.

Read more: Decibel Lab · The decibel lab

Multiply · Multiplication is level

In audio, multiplication is level: every point of the wave is multiplied by the same number.

Turn ×: what happens to the wave when you multiply by 0.5, 2, 0 and −1?

Read more: Decibel Lab · The decibel lab

Shift & Invert · Time versus level

Two things you can do to phase: shift on the time axis, and invert on the level axis.

Turn Phase, then press Ø. What moves sideways, and what turns over?

Read more: Decibel Lab · The decibel lab

Two Waves · A wave plus a wave

Sine + Sine · Weaker, then gone

Sine plus sine: a shift weakens it, and 180° or Ø makes it disappear.

Turn Phase up to 180°, then press Ø.

Triangle + Triangle · Clipped peaks

Triangle plus triangle: a shift clips the peaks, and 180° or Ø makes it disappear.

Turn Phase up to 180°, then press Ø.

Square + Square · Steps

Square plus square: a shift makes steps, and 180° or Ø makes it disappear.

Turn Phase up to 180°, then press Ø.

Saw + Saw · An octave up

Saw plus saw: at 180° it jumps an octave, and Ø makes it disappear.

Turn Phase up to 180°, then press Ø.

Read more: Harmonics Lab · The harmonics lab

Conclusion · What it all means

180° gives a result similar to a polarity invert only in symmetric waves.

Pick a wave, and switch between 180° and Ø: where is the result the same, and where not?

Read more: Harmonics Lab · The harmonics lab

Synthesis · Phase in synthesis

Pulse from Saws · Two saws, one pulse

A saw minus a shifted saw gives a pulse, and the phase becomes PW.

Leave Ø on, and turn Phase: the pulse width changes.

Octave by Level · Level makes the octave

Two saws at 180°: the level of the second one moves between the note and the octave.

Turn the Level of B from 0 to full, and play.

Read more: Envelope Lab · The envelope lab

Moving Phase · A drifting phase

A phase that keeps moving sounds like two detuned oscillators.

Raise Rate: B drifts against A, and the sound starts to breathe.

Read more: Voice Lab · The voice lab

Studio · Phase in the studio

Ø on Mics · Two mics, one drum

Two mics on one drum can cancel each other.

Play the snare from both mics, and press Ø on the bottom one.

Align in Zoom · Nudge until it fits

Distance between mics is a difference in time, and you line it up in a zoomed view.

Move Nudge until the two waves fall on top of each other.

Mystery Solved · The answer

What sits in the middle is identical on both sides, and L minus R removes it.

Start in stereo, press Ø on R, then move both Pan knobs to the centre.

Read more: Decibel Lab · The decibel lab

Formulas · Any formula you like

Every formula of L and R is a mix: plus is a sum, and minus is an invert.

Build a formula: start with L − L, then switch to L − R.

Read more: Decibel Lab · The decibel lab

Terms in this lab

Phase
The position within the wave’s cycle at a given moment. 0 is the start of the cycle.
Cycle
One complete oscillation of the wave, until the shape starts to repeat. The time of one cycle is called the period.
Sine
A simple wave: a smooth oscillation at a single frequency only. The sine is the atom of sound: every other waveform is built from sines.
Degrees
The unit phase is measured in: a whole cycle of the wave is 360 degrees, like a full turn of a circle, so 90 degrees is always a quarter of a cycle.
Oscillator
A generator that produces a repeating wave at the frequency it is set to. It is the sound source of a synth.
Phase Cancellation
What happens when two waves add up while one is positive and the other negative at the same moment: the sum is smaller than either of them, and reaches complete silence when the waves are identical and opposite.
Decibel · dB
A logarithmic unit for level and gain that counts ratios, not differences: every 6 dB is roughly a doubling of the wave’s amplitude.
Polarity Invert
Flipping the sign of every sample, so every positive value becomes negative and vice versa, without moving the sound in time.
Phase Shift
Moving a sound forward or backward in time, measured in degrees of a cycle, where 360 degrees is a whole cycle.
Active Noise Cancellation · ANC
A technology that cancels noise: a microphone picks up the noise, and the device plays it inverted, so the noise and its inverted copy cancel each other.
Harmonic
A sine whose frequency is a whole-number multiple of the fundamental: 1×, 2×, 3×. The first harmonic is the fundamental itself.
Clipping
Cutting off the peaks of the wave when the sound goes past the highest value that can be written: the peaks go flat, and the sound distorts.
Pulse
A wave that jumps between two values, up and down. The width sets how much of each cycle the wave spends up.
Width · Pulse Width
The percentage of the cycle a pulse wave spends up. At 50% the pulse is a square wave.
Octave
The distance between two notes where the frequency of one is double the other. C4 and C5 are the same note, in different octaves.
Fundamental
The lowest sine in a complex wave. It sets the pitch of the sound.
Symmetric Wave
A wave whose second half-cycle is an upside-down mirror image of the first half: the same shape, below zero. Sine, triangle and square are symmetric waves; saw and pulse (at any width other than 50%) are not.
LFO · Low Frequency Oscillator
A slow oscillator, usually below 20 Hz. You don’t hear it on its own: it moves a parameter of the sound.
PWM · Pulse Width Modulation
Changing the width over time, usually with an LFO. The harmonics come and go, and the sound “breathes”.
Envelope · ADSR
A voltage, triggered by the gate, that rises and falls in a set shape: Attack, Decay, Sustain and Release. It shapes how a sound starts, holds and ends.
Detune
A small shift of an oscillator’s pitch up or down. When several oscillators play the same note with Detune, they’re not tuned exactly to each other, and the sound is thicker.
Super Saw
The sound of several saws playing the same note, each drifting slowly in phase against the others, so they sound like detuned saws that fill out the sound.
Spectrum
A display of all the frequencies in a sound and the level of each.
Comb Filtering
The notches in the spectrum that appear when a sound is added to a slightly late copy of itself: at every frequency for which the delay is half a cycle, the two copies cancel each other, and the spectrum looks like a comb.
Nudge
A small move of a track forward or back in time in the production software, to line it up with another track.
Mono
Sound on a single channel. When stereo is folded to mono, L and R are added into one sum, which comes out the same from every speaker.
Pan
Where a sound sits between L and R: in the middle it is the same in both channels, and to one side it is louder in one of them.
Stereo
Sound on two channels, L and R, each coming out of a different speaker, so a sound can be heard from the left, from the right or from the middle.

All terms on the site