FLXCode Tone Generator

FLXCode apps

Appearance

Tone Generator

Pick a frequency and press Play. Everything runs in your browser.

A4 · 0 cents

With focus in the tool: Space play or stop · ↑ ↓ change Hz · Esc stop

Stopped

Start quiet, turn up slowly. Nothing is uploaded: the sound is made in your browser.

No sound?
  • iPhone: check the ring/silent switch and the media volume.
  • Check the system volume and which output is selected (speakers, headphones, Bluetooth).
  • Bluetooth headphones switch to call mode while a microphone is open: sound becomes mono and dull.
  • A mono audio setting in accessibility makes left and right sound the same. A web page can't detect it.
  • Another tab or app may be using the audio. Close it and press Play again.

No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it.

Problem or idea? Email us

Quick start

  1. Turn your device volume down first. The tone starts at 10%.
  2. Type a frequency, drag the slider or tap a preset. ↑/↓ change it by 1 Hz, with Shift by a semitone, with Ctrl or Cmd by 0.01 Hz. The ÷2 and ×2 buttons move one octave.
  3. Press Play (or Space). Change anything while it plays, the tone follows without clicks.
  4. Use Left / Right to check that each speaker or earbud is connected the right way round.

Common frequencies

Each frequency is a link. It opens the generator with that tone set, and never starts playing by itself.

FrequencyWhat it is
20 HzLower limit of human hearing. Felt more than heard.
50–60 HzMains hum. Subwoofer check. The link sets 60 Hz, see also the 60 Hz tone page.
100 HzBass check for normal speakers.
261.63 HzMiddle C (C4).
440 HzConcert A (A4), the usual tuning reference.
1 kHzStandard test tone in audio work.
10 kHzTreble check. Many earbuds start losing level here.
15–17 kHzWhere adult hearing usually ends. The link sets 15 kHz.

No sound?

  • iPhone: check the ring/silent switch and the media volume. On iOS before 16.4 web audio stays silent in silent mode.
  • Tap Play again. Browsers block sound until you interact with the page, and they pause it when you switch apps.
  • Still silent, or only one side? Run the speaker test to see whether the speakers, the cable or the page is the problem.
  • Bluetooth headphones can take a second to wake up, and they add delay.
  • Phone and laptop speakers play almost nothing under about 150 Hz, so very low tones may be faint or missing. Try headphones.

Accuracy and limits

Your audio device runs at 44,100 Hz, so the highest tone it can make cleanly is 22 kHz. Square and sawtooth waves are band-limited by the browser, so they stay clean at high frequencies instead of aliasing. Levels are matched roughly between waveforms (a square wave carries more energy than a sine at the same peak), but the volume is not calibrated in dB.

The 10 s WAV is saved at −12 dBFS, which is 12 dB below the loudest level a file can hold.

How it works

The page uses the Web Audio API: one oscillator, a gain stage with short fades so starting and stopping never clicks, and two gain controls for the channel. Changing the waveform crossfades over 40 ms. Nothing is recorded or uploaded. We count events without cookies (details).

Looking for the frequency of a note? The note frequency chart lists every note from C0 to B8 with a play button and CSV download.

FAQ

Is the frequency exact?

The oscillator runs at your device sample rate, usually 44.1 or 48 kHz, and the frequency is set in 0.01 Hz steps. What you hear also depends on your speakers: small phone speakers play almost nothing under ~150 Hz.

What are 432 Hz and 528 Hz?

Some people tune music to A = 432 Hz instead of the usual 440 Hz, and some play 528 Hz for relaxation or meditation. There is no good evidence that either changes health. The generator plays any frequency, so type it and listen.

Why can't I hear the highest tones?

Most adults stop hearing somewhere between 14 and 17 kHz, and hearing above 12 kHz drops with age. That is normal. Cheap earbuds and laptop speakers also roll off early.

Can I use this for a hearing test?

Only as a rough check. Your device volume is not calibrated, so it cannot tell you your hearing level in dB. For a real test see an audiologist.

Does it need an internet connection?

Only to load the page. After that the sound is made on your device, so it keeps working while the page stays open, even if the connection drops. Nothing is uploaded.

Can it keep playing with the screen off?

Browsers usually stop web audio when the screen locks or the tab goes to the background. If you need that, the Android app ToneLab keeps playing.

Can I share a setup?

Yes. The address bar always holds the current frequency, waveform, volume and channel, so a bookmark or a copied link opens the same tone (without auto-playing it).

More from FLXCode

Share Tone Generator