A tone generator produces a pure, steady sound at a frequency you choose, and a frequency sweep glides smoothly from one frequency to another. To make one, open the Tone Generator, set the frequency and waveform, start at a low volume and press Play tone; switch the mode to Frequency sweep to glide from a start to an end frequency, and press Generate file to save it as WAV. This guide explains the four waveforms, which frequencies to use for speakers, subwoofers and tuning, how sweeps reveal rattles and room resonances, what hearing test tones can and cannot tell you, how to stay safe, and when noise is the better test signal.
1 Hz to 48 kHz
exact frequency
Slider covers 20 Hz to 20 kHz
4
waveforms
Sine, square, sawtooth, triangle
10 min
longest export
0.1 to 600 seconds
-18 dBFS
default volume
Warning above -6 dBFS
What an online tone generator does
An audio signal generator creates a sound mathematically instead of recording it. Because the signal is known exactly, you can use it as a reference: to check whether a speaker reproduces 40 Hz, to find which note a guitar string should ring at, to line up recording levels, or to hear where a room booms. Studio and lab generators are hardware boxes; an online tone generator does the same job in software using your device's sound output.
The Aback Audio Tone Generator plays sounds live through the browser and can also render them to a file. Generated files are created locally in your browser: the samples are calculated on your device and saved to your disk, so nothing is uploaded.
- Frequency: a logarithmic slider from 20 Hz to 20 kHz, buttons to move up or down one semitone or one octave, and an Exact frequency field from 1 Hz to 48,000 Hz in 0.01 Hz steps. The display shows the nearest musical note and how many cents it is off.
- Presets: A4 (440 Hz, concert pitch), Middle C (261.63 Hz), 1 kHz (test tone), 100 Hz (bass check), 50 Hz and 60 Hz (mains hum in Europe and the US), 10 kHz (treble check) and 15 kHz (hearing test).
- Volume: -60 to 0 dBFS, starting at -18 dBFS, with a warning when you go above -6 dBFS.
- Mode: Steady tone or Frequency sweep, with a start and an end frequency.
- Download: a length from 0.1 to 600 seconds, mono or stereo, and WAV, FLAC, MP3, M4A, OGG or AIFF output.
Sine, square, sawtooth and triangle waves
The waveform decides which harmonics, the whole-number multiples of the frequency, are present. A 100 Hz sine contains only 100 Hz. A 100 Hz square wave contains 100, 300, 500, 700 Hz and so on, which is why it sounds hollow and buzzy. That difference matters when you test equipment: harmonics can make a speaker that cannot play 40 Hz appear to "play" a 40 Hz square wave, because you are hearing 120 Hz and above.
| Waveform | Harmonics | Sound | Use it for |
|---|---|---|---|
| Sine | None, a single frequency | Pure, smooth | Speaker and hearing tests, sweeps, level alignment, tuning reference |
| Square | Odd harmonics, falling as 1/n | Hollow, buzzy | Checking rattles, retro game sounds, synth practice |
| Sawtooth | All harmonics, falling as 1/n | Bright, rich | Synth sound design, filter demos, a full-spectrum buzz |
| Triangle | Odd harmonics, falling as 1/n² | Soft, flute-like | A gentler tone than square, chiptune bass, ear training |
When you export a square, sawtooth or triangle wave, the generator builds it only from harmonics that fit below the file's Nyquist limit (half the sample rate). That keeps the tone free of aliasing, the metallic extra pitches that appear when a naive square wave is sampled, and it keeps a sweep clean as it rises. The exported tone is normalized so its peak lands exactly on the volume you chose.
How to generate a test tone, step by step
- 1
Turn your device volume down
Set your computer, phone or amplifier to a low level before you press anything. You can always turn up; you cannot undo a loud blast.
- 2
Open the tone generator
Go to the Tone Generator. It opens on a 440 Hz sine at -18 dBFS.
- 3
Choose a frequency
Drag the slider, tap a preset, use the semitone and octave buttons, or type an exact value such as 1000 or 41.2.
- 4
Pick a waveform
Leave Sine selected for testing. Choose Square, Sawtooth or Triangle when you want harmonics.
- 5
Play and adjust
Press Play tone. Frequency, waveform and volume change live while a steady tone plays. Press Stop when you are done.
- 6
Save a file if you need one
Under Download as a file, set the Length and Mono or Stereo, choose a format, and press Generate file. The result can be played and downloaded from the result panel.
Which test tone frequency to use
Most hearing and audio specifications are written against the range of about 20 Hz to 20 kHz. Below about 20 Hz sound is felt more than heard; above about 16 kHz many adults hear little or nothing. Small speakers rarely go low: a phone speaker may give up somewhere in the hundreds of hertz, and many laptops are not much better.
| Frequency | Range | What to listen for |
|---|---|---|
| 20 to 40 Hz | Deep sub bass | Whether a subwoofer reaches this low, and rattles in the room |
| 50 or 60 Hz | Mains hum | A reference to compare with hum in a recording |
| 80 to 120 Hz | Bass, sub crossover | The handoff between subwoofer and main speakers |
| 440 Hz | A4, concert pitch | Tuning instruments by ear |
| 1 kHz | Midrange reference | Level alignment, checking left and right balance |
| 3 to 5 kHz | Presence | The region the ear is most sensitive to; keep it quiet |
| 10 kHz | Treble | Whether tweeters are working on both sides |
| 15 to 18 kHz | Upper hearing | Your personal upper limit, and age-related change |
To check stereo wiring, play a 1 kHz tone and listen on each side. The Tone Generator sends the same signal to both channels, so the tone should sound centered between the speakers; if it seems to come from one side, check balance settings and cables. For tuning, the 440 Hz preset gives you A4, and the Online Tuner does the reverse job, telling you which note your instrument is playing. The guide on how to tune a guitar online covers that in detail.
Frequency sweeps: linear vs logarithmic
A sweep tone, also called a chirp, glides continuously from one frequency to another. A linear sweep adds the same number of hertz every second, so a 10-second sweep from 20 Hz to 20 kHz spends half its time above 10 kHz and rushes through the bass in a fraction of a second. A logarithmic (exponential) sweep multiplies the frequency by the same ratio every second, so each octave, 20 to 40 Hz, 40 to 80 Hz and so on up to 10 to 20 kHz, gets equal time. That matches how we hear pitch, and it is how speakers and rooms are normally measured.
The Tone Generator's frequency sweep generator is logarithmic. When you switch to Frequency sweep, the start frequency jumps to 20 Hz if it was above 1 kHz, and the end frequency starts at 20,000 Hz. The Length you set below is the sweep's duration, both for live playback and for the file. A 20 Hz to 20 kHz sweep covers ten octaves, so 30 seconds gives you three seconds per octave, slow enough to notice a resonance. The sweep is phase-continuous, so there are no clicks along the way, and it can run downward if you set the end below the start.
How to find speaker and room resonances with a sweep
- Choose Sine, Frequency sweep, start 20 Hz, end 200 Hz and a length of 30 to 60 seconds. The bass is where rooms cause the biggest problems.
- Set a low volume, sit in your listening position and press Play sweep.
- Listen for frequencies that suddenly boom (a room mode or speaker resonance), drop away (a cancellation), or make something buzz. Write down the frequency shown when it happens; replay a steady tone at that frequency to confirm it.
- Repeat from 200 Hz to 20 kHz for the rest of the range, listening for harshness, rattling grilles or a tweeter that drops out.
- Optionally, run the Spectrum Analyzer on a second device with a microphone. Its peak hold shows how loud each frequency arrived.
Once you know where a peak sits, you can tame it in your recordings or playlists with the 10-band Audio Equalizer, which has bands from 31 Hz to 16 kHz.
Hearing test tones and tinnitus: what tones can tell you
Playing tones of rising frequency is a fun way to find your approximate upper hearing limit. It is normal for that limit to fall with age, and many adults no longer hear tones above about 15 kHz. Some people use a high tone to identify the pitch of their tinnitus so they can describe it to a doctor or audiologist.
If you try a high-frequency check anyway, use headphones at a low level, start at 10 kHz and move up in small steps rather than jumping straight to 18 kHz. A high tone you cannot hear can still be loud, so never turn up the volume to "find" it.
Safety: protect your ears and your tweeters
- Start quietly. The Tone Generator opens at -18 dBFS and warns you above -6 dBFS. Set your system volume low first, then raise it slowly.
- Keep sessions short. A continuous pure tone is tiring and, at high levels, harmful. A few seconds at a time is enough for most tests.
- Protect tweeters. Tweeters are small and handle little power. Loud high tones and square or sawtooth waves, which pack energy into the top octaves, can overheat them.
- Respect woofer limits. Very low tones at high level make woofer cones move a long way. If you hear clacking or distortion at 20 to 30 Hz, turn down immediately.
- Mind the people and pets nearby. High tones that adults barely notice can be very unpleasant for children and animals.
White noise vs pink noise (and brown noise)
A tone tests one frequency at a time; noise tests all of them at once. The Noise Generator offers five colors, each with a different balance between low and high frequencies.
| Color | Spectrum | Sounds like | Common uses |
|---|---|---|---|
| White | Equal energy at every frequency | Bright hiss | Masking, testing, dither experiments |
| Pink | Falls 3 dB per octave | Rain, steady wind | Speaker level matching, room checks, sleep and focus |
| Brown | Falls 6 dB per octave | Waterfall, distant thunder | Deep masking for sleep, covering low rumble |
| Blue | Rises 3 dB per octave | Crisp, airy hiss | Dithering, some tinnitus masking |
| Violet | Rises 6 dB per octave | Sharp, high hiss | High-frequency tests |
Pink noise has equal energy in every octave, which matches the way we hear, so it is the standard signal for matching the levels of several speakers or checking the tonal balance of a room with an analyzer. White noise sounds much brighter because every octave up contains twice as many hertz. Brown noise is the deep, soft option many people prefer for sleep.
The Noise Generator sets its level as RMS, from -50 to -12 dBFS, and has a sleep timer of 15 minutes, 30 minutes, 1 hour or 2 hours that ends with a 30-second fade. You can also download up to 20 minutes of stereo noise, with the two channels decorrelated so it sounds wide, as MP3, M4A, OGG, FLAC or WAV.
Open the Noise GeneratorPlay or download white, pink, brown, blue or violet noise with a sleep timer.Try it freeExporting test tones as WAV and other formats
A file is useful when the test tone has to play somewhere else: a car stereo, a DJ controller, a video timeline or a sampler. The Tone Generator saves WAV at 16-bit by default, and also FLAC, MP3, M4A, OGG and AIFF. Files are rendered at 48 kHz, or 96 kHz when a frequency is above 20 kHz, and each file gets a 10 ms fade at the start and end so it does not click. Names describe the content, for example sine-440hz.wav or sweep-20-20000hz.wav.
| Format | Mono | Stereo | Notes |
|---|---|---|---|
| WAV 16-bit | 5.8 MB | 11.5 MB | Exact samples, plays everywhere |
| WAV 24-bit | 8.6 MB | 17.3 MB | Lower noise floor for very quiet tones |
| FLAC | Much smaller than WAV | Much smaller than WAV | Lossless; pure tones compress very well |
| MP3 192 kbps | 1.4 MB | 1.4 MB | Fine for audible tones, not for precise measurement |
If you are unsure which sample rate or bit depth a device needs, the sample rate guide and the bit depth guide explain the trade-offs. To check a file you exported, open it in the Audio Inspector, or record it back with the Voice Recorder to hear what your microphone picks up.