Skip to main content

Generate Any Audio Frequency

This tool uses the Web Audio API OscillatorNode to generate tones from 20 Hz to 20 kHz in 4 waveforms: sine (pure fundamental), square (odd harmonics), sawtooth (all harmonics), and triangle (odd harmonics, softer). Set a frequency via the logarithmic slider or type an exact value. Common uses: A4 tuning reference at 440 Hz, tinnitus frequency matching, speaker testing, and acoustic experiments. Frequency changes apply in real-time while playing. All audio is generated locally — zero network requests.

Generates adjustable audio tones from 20 Hz to 20 kHz in sine, square, sawtooth, or triangle waveforms for testing and reference.

A sine wave at 440 Hz is the international standard for A4 tuning; square waves contain only odd harmonics while sawtooth contains all harmonics.

Hz (20 — 20,000)
Status

Stopped

Frequency

440 Hz

Wave Type

Sine

What Do Your Results Mean?

Result Range Meaning
Good Tone is clear at the selected frequency Your speakers or headphones reproduce the selected frequency correctly. The waveform shape matches the expected timbre.
Warning Tone sounds distorted or has unexpected overtones Your speakers may be overdriven. Lower the volume. At very low frequencies (below 60 Hz), small speakers produce harmonics instead of the fundamental tone.
Bad No sound at the selected frequency Your speakers cannot reproduce that frequency. Below 80 Hz is common for laptops. Above 16 kHz may exceed your hearing range rather than a speaker issue.

Common Issues and How to Fix Them

No sound when clicking Play

Browser autoplay policy requires a user gesture first. Click anywhere on the page, then press Play. Check that system volume is not muted and the correct output device is selected.

Tone sounds different from expected waveform

Small speakers color the output. Sine should sound pure and smooth. If a sine wave sounds buzzy, your speaker is distorting — lower the volume. Try headphones for a more accurate representation.

Cannot hear frequencies above 15 kHz

Human hearing range decreases with age. Most adults over 30 cannot hear above 16 kHz. This is normal age-related hearing loss, not a speaker problem. Test with the hearing test page to check your range.

Frequency value resets or jumps when using the slider

The slider uses a logarithmic scale for perceptual accuracy. For precise values, type the exact number in the frequency input field instead of using the slider.

Related Tools

Frequently Asked Questions

How do I generate a specific frequency?

Use the logarithmic slider for quick selection or type an exact value (20-20,000 Hz) in the number input. The tone plays when you click Play. Change frequency while playing for real-time adjustment.

What are the different waveform types?

Sine: pure tone with fundamental frequency only. Square: hollow, buzzy sound with odd harmonics (3rd, 5th, 7th). Sawtooth: bright, rich sound with all harmonics. Triangle: softer version of square with odd harmonics at weaker amplitudes.

Can I use this to tune instruments?

Yes. Set 440 Hz for standard A4 tuning. Other common notes: A3 = 220 Hz, E4 = 329.6 Hz, B4 = 493.9 Hz. Use the sine waveform for the clearest reference tone.

Is any data sent to a server?

No. The Web Audio API OscillatorNode generates all tones locally in your browser. No audio files are downloaded or uploaded. No backend server exists.