Online tone generator

Generate a test tone at a chosen frequency in your browser. Set waveform and digital gain, create a one-second WAV, then optionally start live sound with its separate button. Nothing plays automatically when you load the example.

Processed on your device. No file upload.

How to use this tool

  1. Choose 20–20000 Hz, a supported waveform and digital gain between 0 and 20 percent. Begin with low device volume.
  2. Run the tool to generate the WAV silently. Inspect the settings table or download the file.
  3. Choose Play tone for live sound, or Stop tone to end it. Edit settings and run the tool again before another playback.

Check the built-in example

The demo uses a 440 Hz sine wave at 5 percent digital gain. Its exported WAV contains exactly one second of mono PCM16 audio at 48000 samples per second: 48000 samples and 96044 bytes including the header. Independent decoding checks a signal concentrated around 440 Hz with a peak near 0.05 of digital full scale. This does not establish the acoustic level or frequency response of your speakers.

A 440 hertz sine example at five percent digital gain produces a one-second 48 kilohertz mono PCM16 WAV containing 96044 bytes.
Actual defaults and results from “Try an example”.

Processing method

An OfflineAudioContext renders the downloadable signal without playing it. A separate live AudioContext creates an oscillator, gain stage and signal meter only after Play tone. The waveform can be sine, square, triangle or sawtooth. Gain is a linear multiplier, not a calibrated loudness percentage. Live output ramps in and out briefly. The oscillator receives a scheduled stop at ten seconds, independent of the interface timer. The linked Web Audio documentation describes the browser audio graph used here.

Reference: MDN: Web Audio AudioContext

What the result leaves out

Frequency is limited to 20–20000 Hz and gain to 0–20 percent. Zero gain intentionally creates silence. The live device sample rate can further limit usable frequencies. Browser resampling, system volume, audio routing, speakers and headphones affect the real output. This tool measures neither sound pressure nor hearing ability and does not certify equipment performance. The exported WAV is always a one-second mono PCM16 file at 48 kHz. It is not a sweep, multitone signal or long recording. Changing fields stops live sound and invalidates the current export until you run the tool again.

Checking local processing

Wave synthesis and WAV encoding happen locally. No microphone permission, input audio or file upload is needed for this generator. The example prepares a downloadable signal without starting audible playback. Stop, Reset, leaving or hiding the page ends the live oscillator. A downloaded WAV remains on your device. Use browser Network tools to confirm that generation makes no request carrying your settings to a conversion service.

Common questions

Why is the sound different on another device?

The browser signal is only part of the output path. System volume, routing and the playback hardware affect what you hear.

Does 5 percent mean a particular sound-pressure level?

No. It is a digital amplitude multiplier, without acoustic calibration.

Will the example start playing by itself?

No. It renders a WAV silently. Live sound requires the separate Play tone button.