Code tool

Audio Frequency Generator

Set an exact frequency, duration, and volume, then click play to hear a tone created locally with Web Audio.

In-browser processingNo account requiredPrivacy details ↗

A QUICK WALKTHROUGH

How to use this tool

  1. Enter a frequency from 20 to 20,000 Hz.
  2. Choose a duration up to 30 seconds and a volume up to 20%.
  3. Click Play to start the tone, or Stop to end it early.

Browser audio

Playback starts only after you click Play. The tone is generated in this browser and no audio file is uploaded or saved.

Fixed limits

Frequency is limited to 20–20,000 Hz, duration to 0.1–30 seconds, and volume to 0–20%.

GOOD TO KNOW

Common questions

Does it play automatically?

No. Audio starts only after you click Play.

Can I stop a tone early?

Yes. Click Stop; the oscillator and audio context are disconnected and closed.