Examples
Utilities
01MetronomeSchedule a click pattern with accents, rests, tempo control, and instrument presets.Create
02Chromatic tunerEstimate microphone pitch, nearest note, and tuning error in cents.Measure
03Latency testerPlay short clicks through the speakers and time their return through the microphone to measure round-trip latency.Measure
04Level meterShow live microphone RMS and peak level in dBFS, uncalibrated, with fast or slow meter ballistics.Measure
Test signals
05Reference tonePlay a reference pitch with selectable waveform and frequency.Create
06SweepSweep across a frequency range with linear or exponential automation.Measure
07NoiseGenerate white, pink, brown, blue, or violet noise.Create
08ImpulseFire a one-sample impulse for response and signal-path testing.Measure
09DTMF dialerSynthesize telephone keypad tones from paired row and column frequencies.Create
10Stereo testIdentify left, right, and center channels with a panned reference tone.Measure
Illusions
11Shepard toneLayer octave-spaced voices to create a pitch that appears to rise or fall forever.Explore
12Risset rhythmLayer tempo cycles to create a beat that appears to accelerate or decelerate forever.Explore
13Binaural beatsSend nearby frequencies to opposite ears and hear their difference.Explore
14Missing fundamentalPlay harmonics 2–6 while omitting the pitch the listener still perceives.Explore
15BeatingHear amplitude beating produced by two nearby frequencies.Explore
16Octave illusionSwap two antiphase frequencies between ears so a single tone seems to jump register and side.Explore
17Scale illusionInterleave an ascending and descending major scale between ears so listeners regroup the notes by pitch.Explore
18Tritone paradoxPlay sequential octave-complex tone pairs a tritone apart so up/down judgment turns ambiguous.Explore
19Continuity illusionPunch gaps in a steady tone and fill them with louder noise bursts so the tone sounds unbroken.Explore
20Auditory streamingAlternate two tones and let tempo and pitch distance decide whether they fuse into one stream or split into two.Explore
21Huggins pitchFilter one ear’s copy of identical noise through a narrow phase shift so a pitch emerges that exists in neither channel.Explore
22Zwicker toneNotch broadband noise, cycle it on and off, and hear a faint after-tone linger in the silence where the notch was.Explore
Synthesis
23Subtractive synthShape a sawtooth oscillator with a resonant low-pass sweep and ADSR envelope.Create
24Additive synthConstruct square, saw, and triangle timbres from individual harmonics.Create
25FM synthUse one oscillator to modulate another oscillator’s frequency.Create
26Karplus–StrongTurn a short noise burst and averaging delay into a plucked string.Create
27Wavetable synthBuild custom Fourier wavetables and crossfade between two oscillators holding different timbres.Create
28Granular synthScatter short, jittered grains from a seeded source buffer into a granular texture cloud.Create
Generative
29Step sequencerSchedule a 16-step melody against the audio clock.Create
30Twelve-toneGenerate pointillistic music from prime, retrograde, inverse, and retrograde-inverse rows.Create
31GamelanSchedule interlocking slendro patterns with metalophone partials and gong structure.Create
32JazzGenerate a jazz performance in a chosen style, modal to bossa, with bass, comping, drums, and an improvised lead on guitar, flute, harp, or piano.Create
33Euclidean rhythmsDrive 2-3 percussion voices from Bjorklund Euclidean rhythms, each with its own step and pulse count.Create
34DronePlay a tanpura, pad, shruti, harmonic drone, or cinematic strings, with an optional slow melody.Create
API
35Speaker hello worldPlay the smallest useful realtime graph through the system output.Create
36LFO tremoloConnect an oscillator to an AudioParam and modulate gain at audio-clock precision.Create
37Spatial panningMove a source from left to right through three-dimensional space.Create
38AudioWorkletRegister a custom processor, expose a parameter, and render its output.Create
39Linked AudioParamsDrive multiple gain parameters from one ConstantSourceNode.Measure
40FFT spectrumRender a two-tone signal and inspect its frequency-domain peaks.Measure
41Offline renderRender a complete graph to an AudioBuffer with no speakers or audio device.Process
42Process a fileDecode an audio file, apply EQ and compression, then render the processed result.Process
43Pipe PCM to stdoutSend raw PCM from an AudioContext to any Node writable stream.Process
44Mic levelRoute a live microphone through a gain and analyser with an RMS meter.Capture
45Sound recorderCapture microphone audio with a live level meter and save a recording.Capture
46Convolver reverbConvolve a plucked string through a seeded exponential-decay impulse response and blend dry with wet.Process