Effect 10 of 15 · Pedals

Chorus: a second voice, slightly out of step

A copy of the signal, delayed by about 18 ms. The delay drifts, so the copy’s pitch wavers, and the two together sound like more than one.

Play it alone

Signal into the board

The test signals are synthesized by this page, sample by sample. Your instrument is asked for only when you press Start with “Your instrument” chosen, with the browser’s echo cancellation, noise suppression and automatic gain control switched off.

70%
Output levelsilent

Sample rate
not started
Processing latency
not started
Output latency
not started
Input latency
not started
Reported total
not started

Browser audio has latency: you hear each note a little after you play it. These are the browser’s own figures and they leave things out.

What the latency figures mean

The chorus, alone

In, this one pedal, out. Drag a knob sideways, or focus it and use the arrow keys or the wheel. The whole board has the rest.

  1. Chorus

    Rate0.8 Hz
    Depth2.5 ms
    Mix50%

The signal

What it does to the signal

Chorus is the sound of two nearly identical signals at once: nearly the same pitch, nearly the same time. The pedal makes the second one from the first.

The copy is delayed by 18 ms, and an oscillator moves that delay back and forth by the amount Depth sets. While a delay is getting longer, what comes out of it is stretched, and so lower in pitch; while it is getting shorter, higher. The pitch of the copy therefore wavers either side of the original’s, at the speed Rate sets. The size of the waver is frequency × 2π × rate × depth: for a 440 Hz note with Rate at 1 Hz and Depth at 2 ms, 5.53 Hz either way. The measurement below finds the same figure.

Mixed together, the original and the wavering copy reinforce and cancel each other in a pattern that keeps changing.

General definition: Wikipedia, “Chorus (audio effect)” (revision 1376334499, read 2026-09-28). Everything on this page about how this pedal works describes this page’s own code. It is built from standard Web Audio nodes.

The graph

The graph, drawn.

The chorus’s signal graph In feeds Gain (dry (Mix)); Gain (dry (Mix)) feeds a sum; a sum feeds Out; In feeds Delay (18 ms ± Depth); Delay (18 ms ± Depth) feeds Gain (wet (Mix)); Gain (wet (Mix)) feeds a sum; Oscillator (sine · Rate) controls × Depth (milliseconds); × Depth (milliseconds) controls Delay (18 ms ± Depth). In Gain dry (Mix) + Out Delay 18 ms ± Depth Gain wet (Mix) Oscillator sine · Rate × Depth milliseconds

audiocontrol: moves a setting, is never heard

The dashed line is a control signal: the oscillator is connected to the delay’s time, not to its input.

The knobs

Every knob, in real units.

KnobRangeStarts atWhat it changes
Rate0.1 Hz to 5 Hz0.8 HzThe speed at which the delay drifts.
Depth0.0 ms to 5.0 ms2.5 msHow far the delay moves either side of 18 ms. A moving delay is a moving pitch: the copy goes slightly sharp, then slightly flat.
Mix0% to 100%50%At 50 the dry signal and the delayed copy are both at full level.

Measured

What the test measured

Rendered offline, then measured

  • Switched off and rendered over 48,000 samples of the plucked-string signal, the output was identical to the input in every sample, and the pedal was not in the graph. [as described]
  • Wet signal only, Rate 1 Hz, Depth 2 ms, a 440 Hz tone in: the output’s frequency swung between 434.47 Hz and 445.53 Hz, 5.53 Hz either side. A delay moving 2 ms either way once a second predicts 440 × 2π × 1 × 0.002 = 5.53 Hz. [as described]
  • Over three seconds the frequency rose through its average 3 times: once a second. [as described]
  • With Depth at 0 an impulse came out of the wet path 18.00 ms later (864 samples at 48 kHz). [as described]

Rendered in an OfflineAudioContext at 48,000 Hz in Chrome/154.0.8037.58, 2026-09-29 01:07 UTC. The test is work the page’s builder ran, not something your browser does when you open this page.

Limits

  • One voice. There is a single delayed copy, not several.
  • Mono, like the rest of the board. A chorus that sends different copies left and right is a different effect.
  • Rate and Depth multiply: both turned up together make the pitch swing widely enough to sound out of tune.

Where it goes in the chain

After the drive, before delay and reverb. GuitarPlayer’s guide to pedal order says modulation pedals “work best at the very end of the chain”, and that chorus in front of delay or reverb is worth trying. The whole order, and the reasons, are on the signal chain page.

Method

What is computed, and what is read.

Computed here, nothing fetched

Every sound on these pages is computed in your browser by the Web Audio API: 9 of the 15 pedals are graphs of the engine’s standard nodes, 5 are AudioWorklet processors, the wah is both, and the 3 test signals are synthesized sample by sample. No recording is loaded and no data feed is read. The one request the board’s own scripts make is for their AudioWorklet module, a file on labs.llc; the pitch detector is the one the Tuner uses.

Every effect was rendered offline with a known signal and measured: 73 of 73 checks came out as described. Nothing was tested on a real instrument or audio interface, only one browser was used, and nobody listened: the tests measure numbers, not tone. The method, the table of checks and what the latency figures mean are on the about page.

Sources

The W3C Web Audio API 1.1 and Media Capture and Streams specifications (W3C Document License); RFC 9110 and RFC 3986 for the share link’s fragment; GuitarPlayer’s guide to pedal order, quoted briefly; Wikibooks, “Guitar/Effects Pedals”; and each effect’s English Wikipedia article at a named revision (CC BY-SA). All read 2026-09-28; none is fetched by the page.

What happens to what you play

Audio from your input goes into the audio graph and out to your output device, and nowhere else: it is not recorded, stored or sent. Presets and the board as you left it stay in this browser’s local storage. A share link carries the board after the #, which browsers do not send to servers.