Things I’ve learned, published for the public benefit
Hope This Helps header image

Online Tone Generator

Screenshot of the Online Tone Generator

I made an online tone generator based on the Firefox Audio API HTML5 Web Audio API. It’s basically a large logarithmic slider that allows real-time, smooth frequency changes.

Features

  • Fine-tune the frequency in 1 Hz, 0.01 Hz and 0.001 Hz increments
  • Pick a music note from a list (added Sep 2014, revamped May 2016)
  • Increase/decrease the frequency by one octave (added Aug 2015)
  • Can change the frequency smoothly as you move the slider
  • Keyboard shortcuts (added Aug 2015)
  • Generate a link to a specific tone, so you can share it (added May 2016)
  • Choose sine/square/sawtooth/triangle wave (added Aug 2017)
  • Input frequency as a number (added Aug 2017)
  • Works well on Chrome, Firefox & Safari – including mobile devices (iOS, Android) – requires a browser with support for the Web Audio API.

There are other tone generators on the Web, but they are not as cool (if I do say so myself) and/or they require Java or Flash.

What can you use a tone generator for? You can do a science experiment with resonance, tune a musical instrument, test your new audio system (how low does it go?), test the limits of your hearing (I can hear virtually nothing above 18,000 Hz, even at maximum volume), or figure out your tinnitus frequency to better target therapy.

948 Comments so far

  • Gabriella

    You did a fantastic job!I recently discovered how sine waves are far more useful for pitch control and ear training, than the notes played on the piano.
    Would it be possible to get a version with Latin names of the notes?
    Do re mi fa sol la si
    Thank you

  • Filip

    I use this regularly for tuning my instruments, and I figured I should just leave a comment of appreciation. Cheaper than buying tuners – and more fun to.

  • Yo

    Brought the mucus in my airways in interference and kicked it out, thank you very much!
    A breathful site here!

  • Marco

    I find your sound tool searching for variable tone generator to explain frequencies to a 18 student. Then I use it to test my hearing window 🙂 🙂 Now I’m 66 years old and double times perforated tympanic membrane and I still have 160 -:- 10200 so I still can comunicate with humans 🙂 🙂

    Really appreciated your great and very useful job. Thank you Tomasz

  • Alex Eletsky

    It’s helpful service but it would be nice to download the received tone in mp3 format.

Leave a Reply to Tomasz P. Szynalski