Skip to main content
CalcChef

Audio Tone Generator

Play a sine, square, sawtooth, triangle or noise tone from 20 Hz to 20,000 Hz, sweep it, read the nearest note and save it as a WAV file. How it works

Use the Audio Tone Generator

440 Hz
A4 (+0¢)
20 Hz20 kHz
Waveform
Envelope
0.01s
0.10s
Frequency Sweep
DurationContinuous
50%

Continuous saves 10 s plus the release, mono, 44.1 kHz, about 0.85 MB. Rendered in this browser.

Space Play/Stop · ↑↓ ±1 Hz · Shift+↑↓ ±100 Hz

About the Audio Tone Generator

440 Hz is the note A4, the usual tuning pitch. This tone generator plays any frequency from 20 Hz to 20,000 Hz as a sine, square, sawtooth or triangle wave, or as white noise, names the nearest equal-tempered note and saves the tone as a WAV file: 261.63 Hz reads C4 and 1,000 Hz reads B5, 21 cents sharp.

Frequency to nearest note

FrequencyNearest noteCents
55 HzA1+0
110 HzA2+0
220 HzA3+0
261.63 HzC4+0
329.63 HzE4+0
392 HzG4+0
440 HzA4+0
523.25 HzC5+0
880 HzA5+0
1,000 HzB5+21
1,760 HzA6+0

As the tone generator's note readout shows them, with A4 = 440 Hz and equal temperament. Cents are rounded; 100 cents is one semitone.

How to use this tool

  1. Type a frequency from 20 to 20,000 Hz, drag the slider, or press a preset such as A4 or 1 kHz.
  2. Choose a waveform and keep the volume low to start.
  3. Press Play, or the space bar. Set a length of 5, 10, 30 or 60 seconds, or leave it continuous.
  4. For a sweep, switch Sweep on and set the start and end frequencies and the time, from 1 to 10 seconds.
  5. To keep the tone, press Save as WAV. The file has the chosen length plus the release, or 10 seconds when the length is continuous.

Frequently asked questions

What frequency is middle C?
Middle C is C4 at 261.63 Hz in equal temperament with A4 = 440 Hz. The C4 preset plays it, and the note readout shows C4 at +0 cents.
What note is 440 Hz?
A4, often called concert A, the A above middle C. Doubling a frequency gives the same note one octave up, so the A5 preset at 880 Hz reads A5 and 220 Hz reads A3, both at +0 cents. 442 Hz reads A4 at +8 cents.
How do I test speakers or headphones with a tone?
Start at a low volume and play the 1 kHz preset, then raise the volume slowly. To look for the ends of your range, play a sweep from 20 Hz to 20,000 Hz and note where you stop hearing it. Small speakers and earbuds may not reproduce the lowest frequencies, and what you hear at the top of the range depends on the listener.
What does the sweep do?
It glides from the start frequency to the end frequency in a straight line in hertz, over 1 to 10 seconds. The defaults are 200 Hz to 2,000 Hz over 5 seconds. Each end is limited to 20 to 20,000 Hz.
Can I download the tone as a WAV file?
Yes. Save as WAV renders the current settings, sweep and fades included, to a mono 16-bit file at 44.1 kHz without playing them. It lasts the chosen duration plus the release, or 10 seconds plus the release when the length is continuous: the default 10.1 seconds is 890,864 bytes, about 0.85 MB.
How accurate is the note readout?
It is arithmetic: 12 × log₂(frequency ÷ 440) semitones from A4, rounded to the nearest note, with the remainder in cents. 432 Hz reads A4 at -32 cents. It describes the tone this page plays, not what your speakers produce.

Related Tools

View all tools