Miscellaneous
Online Tone Generator: Sine Wave & Audio Frequency Generator
Generate pure tones at any frequency from 20 Hz to 20,000 Hz. Choose sine, square, sawtooth, or triangle waveforms. Set frequency by note or enter Hz directly. Runs in your browser.
Frequency spectrum position
Waveform shape
Uses the Web Audio API. All processing is local - no audio is recorded or transmitted.
Online Tone Generator
Generate a continuous pure tone at any frequency between 20 Hz and 20,000 Hz. Use the slider, number input, or note picker to set the frequency, then press Play Tone. The tone plays until you press Stop.
Waveforms
- Sine: Pure tone with no harmonics. The clearest and most neutral waveform.
- Square: Rich in odd harmonics; sounds hollow or buzzy.
- Sawtooth: Contains all harmonics; sounds bright and edgy.
- Triangle: Weaker harmonics; similar to sine but slightly warmer.
Common uses
- Tuning instruments to A=440 Hz.
- Testing speaker frequency response.
- Binaural beats and sound therapy experiments.
- Teaching acoustics and psychoacoustics.
- Solfeggio and alternative tuning exploration.
Privacy
All sound generation happens in your browser using the Web Audio API. No audio is recorded, stored, or transmitted.
Waveform types and harmonics
The timbre of a tone - why a violin and a flute sound different at the same pitch - is determined by its harmonic content:
- Sine wave: the purest tone. Contains only the fundamental frequency (1f) with no harmonics. Used in audiometric testing and tuning.
- Square wave: contains only odd harmonics at diminishing amplitude: 1f, 3f, 5f, 7f, … Sounds hollow and buzzy, like a clarinet or old video game audio.
- Sawtooth wave: contains all harmonics (1f, 2f, 3f, …). Sounds bright and edgy; the basis of many synthesizer leads and string pads.
- Triangle wave: contains only odd harmonics like the square wave, but they fall off much faster (at 1/n²). Sounds softer than a square wave; similar to sine but with slight warmth.
Frequency perception
Human hearing spans approximately 20 Hz to 20,000 Hz, but sensitivity is not uniform:
- 1–4 kHz: the range of highest sensitivity, corresponding to the vocal formant range. The ear amplifies these frequencies naturally.
- Below 200 Hz: felt as much as heard; requires high sound pressure levels to perceive clearly.
- Above 8 kHz: sensitivity declines with age (presbycusis). Most adults over 50 cannot hear above 14–16 kHz. Use this tool to test your high-frequency hearing at 16 kHz - you may be surprised.
Musical note reference (A4 = 440 Hz)
| Note | Octave 3 | Octave 4 | Octave 5 |
|---|---|---|---|
| C | 130.8 Hz | 261.6 Hz | 523.3 Hz |
| D | 146.8 Hz | 293.7 Hz | 587.3 Hz |
| E | 164.8 Hz | 329.6 Hz | 659.3 Hz |
| F | 174.6 Hz | 349.2 Hz | 698.5 Hz |
| G | 196.0 Hz | 392.0 Hz | 784.0 Hz |
| A | 220.0 Hz | 440.0 Hz | 880.0 Hz |
| B | 246.9 Hz | 493.9 Hz | 987.8 Hz |