Tone generator: frequencies, notes and waveforms
By Oakgen Team · Updated
A tone is a single frequency. Concert pitch A4 is 440 Hz (ISO 16), and any MIDI note n has frequency 440 × 2^((n − 69) / 12). People hear roughly 20 Hz to 20,000 Hz.
| Note | MIDI number | Frequency (Hz) |
|---|---|---|
| C4 (middle C) | 60 | 261.63 |
| D4 | 62 | 293.66 |
| E4 | 64 | 329.63 |
| F4 | 65 | 349.23 |
| G4 | 67 | 392.00 |
| A4 | 69 | 440.00 |
| B4 | 71 | 493.88 |
| C5 | 72 | 523.25 |
Choosing a frequency
ISO 16:1975 fixes the standard tuning frequency: the A in the treble stave is 440 Hz, with instruments producing it to within 0.5 Hz. From that anchor, equal temperament puts each semitone a factor of 2^(1/12) apart, which gives the formula f = 440 × 2^((n − 69) / 12) for MIDI note n (note 69 is A4). The chart above is computed with it.
For hearing or speaker checks, remember that the range of human hearing is generally given as 20 Hz to 20,000 Hz (CDC/NIOSH).
Waveform types
The W3C Web Audio API defines four basic oscillator shapes: sine, square, sawtooth and triangle (plus custom periodic waves). The sine wave is the shape to use when you need a single frequency. The API's default oscillator frequency is 440 Hz.
Sample rate limits
Digital audio can only represent frequencies below half the sample rate (the Nyquist frequency). At 44.1 kHz that limit is 22.05 kHz, and at 48 kHz it is 24 kHz. AES5 recommends 48 kHz, with 44.1 kHz allowed for some consumer products, so both cover the whole hearing range.
- Keep test tones at a moderate volume: loud sound can damage hearing, as the CDC and NIOSH have long warned.
- Use a sine wave when you need a single frequency.
Do more with Oakgen Agent
The Agent can calculate frequencies, note sequences and sweep plans and give them back as a table or a document. It cannot play a tone live on this page.
Coming soonA playable in-browser tone generator with frequency and waveform controls.
Open in Oakgen AgentThe prompt is filled in for you. Nothing is sent until you press send in the Agent.
FAQ
What frequency is middle C?
Middle C (C4, MIDI 60) is about 261.63 Hz when A4 is 440 Hz.
What is concert pitch?
ISO 16 sets the note A in the treble stave to 440 Hz.
What is the range of human hearing?
Generally 20 Hz to 20,000 Hz, according to CDC/NIOSH.
Can Oakgen Agent play a tone?
Not live. It can calculate frequencies, durations and note sequences for you. A playable in-browser tone generator is not available yet.
Sources
- ISO 16:1975, standard tuning frequency (read 2026-11-19)
- Carnegie Mellon University, 15-322: pitch and MIDI note numbers (read 2026-11-19)
- CDC MMWR (NIOSH): hearing range of 20 Hz to 20,000 Hz (read 2026-11-19)
- W3C Web Audio API: OscillatorNode (read 2026-11-19)
- Library of Congress: AES5 sampling frequencies (read 2026-11-19)
- Carnegie Mellon University, 15-322: Nyquist frequency (read 2026-11-19)