Web Audio API

Interactive sound lab

A small laboratory of the sound principles behind progressive rock. Everything you hear is synthesised live by your browser with the Web Audio API: no sample, no recording, no subscription.

Interactive sound lab

70 %

Audio is off. Press the button to start the lab. Nothing plays until you do.

Oscilloscope and spectrum

The oscilloscope draws the waveform over time. The spectrum shows which frequencies are present. The stereo view plots left against right: a circle means two channels moving together in quadrature.

Oscilloscope
Spectrum 20 Hz to 20 kHz, logarithmic
Stereo view

Audio is off: the displays show a silent preview of the selected waveform.

Experiments

Each experiment sets the controls for you. Change anything afterwards.

Oscillator

An oscillator repeats a waveform. Frequency sets the pitch and the shape sets the colour: sine is pure, triangle soft, square hollow, sawtooth bright. Early synthesisers such as the EMS VCS3, heard on The Dark Side of the Moon, start from these shapes.

Waveform
220 Hz
0
50 %

Keyboard

Play with the keys below, or with the A to K keys of your keyboard.

Echo and delay

A delay repeats a sound after a short time. Feed part of the output back into the input and the repeats multiply: that is echo. Tape and drum echo units were central to the early Pink Floyd guitar sound.

369 ms
35 %
40 %
0 %

Reverberation

Reverberation is the dense tail of reflections in a room. Here a synthetic impulse response simulates a space: short for a small room, long for a cathedral.

2.5 s
40 %
0 %

Stereo space

Panning places a sound between the left and right speakers. Moving it automatically creates a rotating, spatial feel. The group also staged sound moving around the audience with quadraphonic systems.

C
0.00 Hz
60 %

Drag the point. Left and right pans the sound, up brings it closer, down pushes it away.

Texture layers

Layering several simple textures builds a scene: a low drone, wind, a slow pulse and a high shimmer. None of them uses a recording.

50 %
40 %
50 %
35 %
60 bpm