Audio tool · Free

Tone Generator

Play a steady tone at any frequency, then nudge it a hundredth of a hertz at a time until it matches the hum or whine you are hunting. Sweep from bass to treble to find rattles, check a subwoofer, feed a known frequency to the spectrum analyzer, or download the tone as a WAV file.

Runs in your browser · Nothing is recorded or uploaded
Report a problem

Tone generator workspace

Signal generator

Play a steady tone

Set the frequency with the slider, the field, the steps, or a preset, then fine-tune it by ear.

Ready
440.00Hz
Space to play or stop
Nearest note
A40 cents
Band
Low mid
Period
2.27 ms
Wavelength in air
78 cm

Middle C sits here. The fundamental range of most instruments and voices.

1 Hz to 23,999 Hz, assuming a 48,000 Hz output until you press Play.

Type 60, 1.5k, 2 kHz, or a note such as A4, then press Enter.

Step

In the field: Up and Down arrows step 1 Hz, with Shift 10 Hz, with Alt 0.1 Hz; Page Up and Page Down move an octave.

Fine-tune

Slide slowly around the frequency you set to match a hum or a whine by ear.

0.00 Hz

Two close tones pulse at the rate of their difference. Slower pulsing means you are closer.

Waveform
Presets

Common test frequencies

Pick one to set the tone. If a sweep is playing, the preset takes over as a steady tone.

Hum and buzz

References

Bass checks

High tones

WAV file

Download this tone

Built in your browser from the same waveform the oscillator plays, with the current channel and balance.

From 1 to 60 seconds.

Sample rate
Bit depth
Peak level (dBFS)

The loudest sample lands exactly here. -20 and -18 dBFS are common alignment levels, and -12 matches the live cap.

Signal
440 Hz sine
Channels
Mono
Format
48 kHz, 16-bit PCM
Size
469 KB

tone-440hz-sine-5s.wav

Each file fades in and out over 50 ms and holds only harmonics below the Nyquist limit, up to 2,048 of them.

Honest limits

What a browser tone generator can and cannot do.

Speakers have limits

Laptop and phone speakers produce little below 100 to 150 Hz and many fade out near 16 kHz, so silence at either end may be the speaker rather than the tone. Try headphones before you blame the hardware.

Loud tones harm hearing

A pure tone can damage hearing before it sounds loud, above all in headphones and above about 2 kHz. The cap and the quiet start help, but your system volume and amplifier set the real level.

Devices change the sound

Equalisers, spatial audio, noise cancelling, and Bluetooth codecs can alter or trim a tone. Bluetooth also adds 100 to 300 ms of delay, which the sweep readout corrects when the browser reports it.

Matching by ear has limits

Listening for the pulsing gets a steady hum to within a fraction of a hertz, but a hum that wanders cannot be pinned down by ear, and the grid itself drifts. Measure with the spectrum analyzer for a number.

1 Hz to 1 Hz below Nyquist · peak cap -12 dBFS · volume starts at 25% · 40 ms fades · sweeps and files 1 to 60 s

How it works

An oscillator in the tab, scheduled on the audio clock.

Every tone is made inside this tab by the Web Audio API's oscillator, which is band-limited, so a square or sawtooth wave carries no harmonics your output cannot represent. Frequency changes glide for a few milliseconds and then land exactly on the value shown. Sweeps are scheduled on the audio clock with the same logarithmic or linear curve the readout uses, and the readout is corrected for the delay of your output. Every start, stop, and waveform change fades over 40 ms, so nothing clicks. A WAV download is built from the same Fourier series, keeping only harmonics below the Nyquist limit, and scaled so its loudest sample sits at the peak level you choose.

  1. 01

    Turn the volume down, then press Play

    Start with your system volume low. The page starts at 25 percent and caps the tone at -12 dBFS. Press Play or the Space bar, and stop at once with Stop, Space, or Esc.

  2. 02

    Set the frequency

    Drag the slider, type a value such as 60, 1k, 1.5 kHz, or a note name such as A4, pick a preset, or step by 0.1, 1, or 10 Hz or an octave. The nearest note and its cents offset update as you go.

  3. 03

    Fine-tune until the pulsing stops

    To match a hum, play a tone close to it and move the fine-tune slider slowly. Two close tones pulse at the rate of their difference; when the pulsing slows to a stop, the frequency shown is the hum's.

  4. 04

    Sweep, or download a WAV

    Switch to Sweep to glide between two frequencies once or on a loop, and press Hold when something rattles. Download the tone, or one pass of the sweep, as a 16 or 24-bit WAV file.

Built for hum hunting and speaker checks

Any frequency, set to a hundredth of a hertz.

1 Hz to the Nyquist limit

Tones from 1 Hz to 1 Hz below half your output's sample rate: 23,999 Hz at 48 kHz and 22,049 Hz at 44.1 kHz. A logarithmic slider covers the whole range, and the field takes hertz, kilohertz, or a note name.

Fine-tune in hertz or cents

A fine slider moves up to 5 Hz either way in 0.01 Hz steps, or up to 50 cents either way in 0.1 cent steps, around the frequency you set. Keep a setting to re-centre the slider and carry on.

Four band-limited waveforms

Sine for a pure test tone, triangle for a soft one, and square and sawtooth for bright tones full of harmonics. Each waveform has its own level, so switching does not jump in loudness.

Presets for hum and speakers

50 and 60 Hz mains hum and the 100 and 120 Hz buzz above them, A4 at 440 Hz, a 1 kHz reference, bass checks from 20 to 80 Hz, and high tones at 10 and 15 kHz.

Linear or logarithmic sweeps

Sweep between any two frequencies over 1 to 60 seconds, once or on a loop. The live readout follows the audio clock, and Hold turns the sweep into a steady tone at the frequency you just heard.

WAV files that match

Download 1 to 60 seconds of the tone, or one pass of the sweep, at 44.1 or 48 kHz, 16 or 24-bit, peaking anywhere from -20 to -3 dBFS, with the file size shown first. Channel and balance carry over.

Tone generator questions

Hum, hearing, speakers, and waveforms.

How do I find the frequency of a hum or whine?+

Start near where it sounds. Most electrical hum is 50 or 60 Hz or a multiple of it (100, 120, 150, 180 Hz); a coil whine or a charger is usually somewhere between 1 and 15 kHz. Play a tone at about the same pitch, quieter than the hum, and move the fine-tune slider slowly. Two tones a few hertz apart pulse, or beat, at the rate of their difference: three pulses a second means they are 3 Hz apart. Move in the direction that slows the pulsing until it stops, and the frequency shown is the hum's. For a faster answer, measure the hum with the Online Spectrum Analyzer and confirm it here by ear.

What frequency is mains hum?+

The frequency of the electricity grid: 50 Hz in Europe, Africa, most of Asia, and Australia, and 60 Hz in North America and parts of South America and Asia, including South Korea, Taiwan, the Philippines, and western Japan. Equipment rarely hums at that frequency alone. Transformers and power supplies often buzz at twice it, 100 or 120 Hz, and ground loops add odd harmonics such as 150 or 180 Hz. The grid itself drifts by a few hundredths of a hertz, which is why the fine-tune slider moves in 0.01 Hz steps.

Why can't I hear very low or very high tones?+

Often it is the speaker, not the tone or your ears. Laptop and phone speakers produce almost nothing below about 100 to 150 Hz, and many small Bluetooth speakers stop around 80 Hz, so a 30 Hz tone can be completely silent on them. At the top, most adults hear up to about 15 to 17 kHz, the limit falls with age, and many speakers and Bluetooth codecs roll off between 16 and 20 kHz. Below about 20 Hz a tone is felt rather than heard. Before deciding a speaker is faulty, try the same tone on headphones.

What do sine, square, triangle, and sawtooth waves sound like?+

A sine wave is a single frequency with no harmonics: pure and smooth, and the right choice for testing and for matching a hum. A triangle wave adds weak odd harmonics and sounds soft, a little like a flute. A square wave has strong odd harmonics and sounds hollow and buzzy, like a clarinet or an old video game. A sawtooth has every harmonic and sounds bright and brassy. All four are band-limited, so at high pitches they lose harmonics above the Nyquist limit and start to sound alike.

How do I test a subwoofer with a tone generator?+

Play a sine at 80 Hz, a common crossover point, then step down through 60, 40, 30, and 20 Hz at a moderate level, or sweep from 20 to 200 Hz slowly. A healthy subwoofer stays smooth and roughly even down to its rated limit. Rattles, buzzing, or a chuffing port point to a loose panel, a fault, or too much level, while big changes in loudness as you move around the room are room modes rather than the subwoofer. Keep the level moderate: a long, loud low tone can damage a driver.

Is it safe to listen to test tones?+

At a sensible level, yes. Pure tones are easy to underestimate: a single frequency can harm hearing before it sounds loud, especially in headphones and above about 2 kHz. Start with your system volume low, raise it only until the tone is clearly audible, and keep headphone sessions short. This page caps the tone at -12 dBFS and starts the volume at 25 percent, but your system volume and amplifier decide the real level. Stop at once if a tone hurts, makes your ears ring, or makes a speaker distort.

Why does the highest frequency differ from one computer to another?+

A digital output can only carry frequencies below half its sample rate, the Nyquist limit. Most outputs run at 48 kHz, which allows up to 24 kHz, and some at 44.1 kHz, which allows up to 22.05 kHz. The page reads the rate when you first press Play and offers everything up to 1 Hz below that limit, because a tone at the limit itself samples to silence. Above about 20 kHz a tone is beyond human hearing, but it can still be useful for testing equipment.

How accurate is the frequency?+

The tone is computed to far better than a thousandth of a hertz, but what reaches the air also depends on your sound card's clock, which is typically accurate to about 0.01 percent: a 1 kHz tone may come out 0.1 Hz high or low. That is far closer than anyone can hear, and close enough to match mains hum by ear. For calibration work, check the output against a reference instrument.

Can I download the tone as an audio file?+

Yes. The WAV card renders 1 to 60 seconds of the current tone, or one pass of the sweep, at 44.1 or 48 kHz as 16-bit or 24-bit PCM, peaking exactly at the level you choose between -20 and -3 dBFS. The file size is shown before you download. Both channels at a centred balance give a mono file; one channel or an off-centre balance gives stereo. Each file fades in and out over 50 ms, so it starts and ends on silence.

Does this tone generator record or upload anything?+

No. Every tone is generated in this tab with the Web Audio API, WAV files are built in your browser, and nothing is uploaded. The page never asks for your microphone. Your settings are not saved, so they reset when you reload.

More focused tools, ready when you are.

Explore the growing collection for calculations, documents, writing, and everyday work.

Browse all tools