Skip to content
Aback Audio

Tone Generator

Generate sine, square, sawtooth and triangle tones from 1 Hz to 48 kHz, play exponential sweeps live and download WAV, FLAC, MP3 and other formats.

About the Tone Generator

The Tone Generator makes a test signal on your device. Pick a Waveform from Sine, Square, Sawtooth and Triangle, set a frequency with the slider, presets or Exact frequency, and press Play tone. The large readout shows the frequency and nearest note. Volume runs from -60 to 0 dBFS, and a warning appears above -6 dBFS because pure tones at high level can be uncomfortable and can damage speakers.

Switch Mode to Frequency sweep to glide from one pitch to another. The sweep is exponential, so each octave takes the same time, which is the usual way to test a speaker or room. Set End frequency, Length from 0.1 to 600 seconds and Mono or Stereo, then press Generate file to render WAV, FLAC, MP3, M4A, OGG or AIFF.

The presets cover common jobs: A4 at 440 Hz, Middle C at 261.63 Hz, a 1 kHz test tone, 100 Hz bass check, 50 Hz and 60 Hz mains hum, 10 kHz treble check and 15 kHz hearing test. To see the tone you produce, open the Spectrum Analyzer; to check tuning, use the Online Tuner; for a steady background sound instead of a tone, try the Noise Generator.

Why Use the Tone Generator?

Band-limited waveforms

Square, sawtooth and triangle waves use additive wavetables with harmonics limited below Nyquist, so a high-frequency tone stays clean instead of aliasing. Sine uses a double-precision phase accumulator.

Live playback and exact values

Play tone and Play sweep use the Web Audio clock. The slider spans 20 Hz to 20 kHz logarithmically, while Exact frequency accepts 1 Hz to 48 kHz in 0.01 Hz steps.

Exponential sweeps

Frequency sweep keeps phase continuous across the glide and gives each octave equal time. The live playback and the exported file use the same sweep shape.

Rendered downloads

Choose duration, channels and an output format, then press Generate file. WAV and FLAC keep every generated sample; lossy formats trade some precision for a smaller download.

Processed locally in your browser

Sound is synthesized on your device with the Web Audio API; downloads are rendered locally too.

Free, no sign-up, no watermark

Every tool is free with no account, no watermark and no daily limit. The only limit is your device's memory, and the tool warns you before anything risky.

Common Uses for the Tone Generator

Speaker tests

Sweep from 20 Hz to 20 kHz at a modest level and listen for rattles or sudden dips. Lower frequencies need more power from small speakers, so keep the volume safe.

Hearing checks

A gentle staircase of high tones can show roughly where your hearing rolls off. This is a casual check, not an audiogram, and high frequencies should be played quietly.

Tuning reference

Play A4 at 440 Hz, or move the A4 reference in the Online Tuner to match an orchestra's pitch.

Equipment calibration

A 1 kHz tone at -20 dBFS is a common reference level for setting gains. Generate a WAV, play it through the device and measure at the destination.

Science and demonstrations

Show interference by discussing two close tones, or demonstrate the harmonic richness of a saw wave against a pure sine.

Sound design

Export a raw oscillator to use as a synthesis source. A long sine or triangle file can be pitched and processed in a DAW.

Mains hum simulation

The 50 Hz and 60 Hz presets reproduce mains hum frequencies, useful for testing a notch filter. Confirm the result with the Hum Remover.

Checking a PA system

Play a low-level 1 kHz tone before an event and walk the room. A buzzing speaker, a loose bracket or a sudden dip is much easier to notice with a steady signal than with music.

How the Tone Generator Works

How to use it

  1. 1Choose a Waveform and set a frequency with the slider, a preset or Exact frequency.
  2. 2Set Volume in dBFS and press Play tone or Play sweep; keep the level low at first.
  3. 3For a sweep, switch Mode to Frequency sweep and set End frequency.
  4. 4Under the download section, set Length and Mono or Stereo, then choose an output format.
  5. 5Press Generate file, preview the result and download it, or press Stop to end live playback.

Why band limiting matters

An ideal square or sawtooth has harmonics extending to infinity. A digital version that simply adds all of them folds those harmonics back below Nyquist as aliasing. This generator uses a set of precomputed wavetables, one per octave of harmonic count up to 2048 harmonics, selected every 32 samples and crossfaded between levels so harmonics fade in smoothly during a sweep.

Sweeps and level

An exponential sweep changes frequency by a constant ratio per sample, so every octave takes the same time. Phase is accumulated in turns with double precision to avoid discontinuities. After generation the signal is peak-normalised to the requested amplitude, and fades are applied at the ends of a file to prevent clicks.

Sample rate choices

Exports use 48 kHz normally and 96 kHz when either endpoint is above 20 kHz, so the upper end of a sweep has room below Nyquist. Browsers play tones through the system audio device, so what you hear also depends on speaker response and operating system volume. WAV and AIFF store the chosen rate directly; a lossy export may resample to a rate its encoder prefers.

Lossless and lossy outputs

WAV and AIFF store the generated samples without lossy compression, and FLAC packs them without discarding samples. MP3, M4A and OGG are lossy and may slightly change the waveform, which matters if the file is used as a precise calibration reference.

Privacy, security and availability

Files are opened with the browser's file APIs and processed in a background Web Worker on your device; the page has no upload endpoint and makes no network requests with your audio. Results are created as local files you download. Temporary data is released when you press Start over or close the tab.

Tips for Better Results

  • Start quietly

    Pure tones concentrate energy in one frequency. Begin at a low Volume and raise it only when you know how your speakers and ears respond.

  • Verify with an analyser

    Open the Spectrum Analyzer while a tone plays to confirm the frequency and see the harmonics of square and saw waves.

  • Use WAV for references

    When a file must be an exact reference, choose WAV or FLAC. A lossy export is fine for listening tests but not for measurement.

  • Keep sweeps moderate

    Long, loud high-frequency sweeps are tiring. A short sweep at low level is usually enough to reveal a rattle or a dip.

Limitations

  • The usable range depends on your speakers, headphones and hearing. A generated 15 kHz tone may be inaudible to some listeners even though the file is correct.
  • Live playback depends on the browser and operating system audio path. It is not a calibrated signal generator and cannot guarantee an exact output level at the speaker terminals.
  • Files longer than 600 seconds are not offered here, and lossy output formats change the generated samples slightly.

Frequently Asked Questions

What frequency range is available?

The slider covers 20 Hz to 20 kHz. Exact frequency accepts 1 Hz to 48 kHz, though playback above 20 kHz depends on your audio hardware.

Can I generate a frequency sweep?

Yes. Switch Mode to Frequency sweep, set End frequency and play or export. Sweeps are exponential so each octave takes equal time.

What level is -20 dBFS?

It is a common calibration reference well below the 0 dBFS digital maximum. Use it when you want a consistent level rather than a loud tone.

Can I play two tones at once?

Not in this version. Each page instance generates one oscillator; you can open a second page if you need a second source.

Why are square waves quieter than sines at the same setting?

Square and saw waves have higher peaks before scaling, so the generator normalises them to the same requested peak amplitude. They sound louder because of their harmonics.

Which output format should I choose?

WAV or FLAC for a precise reference, MP3 or M4A for a small file that plays almost everywhere, OGG for open web players.

Can I make a 1 kHz calibration tone?

Yes. Press the 1 kHz preset, set Volume to -20 dBFS, choose a length and generate a WAV file.

Does the sweep avoid clicks?

Phase is continuous through the glide and the exported file has short fades at the edges, so there is no discontinuity at the start or end.

How do I check the generated tone?

Play it into the Spectrum Analyzer or inspect it with the Audio File Inspector after export.

Can I use this to test a room?

Yes, as a simple source. Walk around while a low-level sweep plays and listen for peaks; for a more detailed view, pair it with a spectrum display.

Is the Tone Generator free?

Yes. It is free to use with no sign-up, no watermark and no usage limits.

Is my audio uploaded to a server?

No. Aback Audio is a static website: files are read and processed by your browser, on your device, using Web Audio, Web Workers and WebAssembly codecs. There is no upload endpoint.

Which browsers are supported?

Current versions of Chrome, Edge, Firefox and Safari on desktop and mobile. Opus encoding needs a browser with WebCodecs audio encoding; every other format works everywhere.