Reference tone

Play a reference pitch with selectable waveform and frequency.

ready

node examples/tone.js sine A4 2s
wave=<type>
sine, triangle, square, or sawtooth
freq=<hz|note>
frequency or note name in the CLI (default: 440)
-d, --duration <time>
run time (CLI accepts s/m/h suffixes; default: 30s)
Graph
Oscillator → Gain → Destination
Input
Waveform, frequency
Output
Speaker audio

This is an online tone generator: pick sine, triangle, square, or sawtooth and a frequency, and it plays a reference pitch, useful as a 440 Hz test tone or any sine wave sound you need on demand. Play it directly in the browser, or generate the same tone from the Node CLI.