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.

599 Comments so far

  • John

    Hi Tomasz, ‘
    I am a hearing Loss patient who has just been fitted with a Cochlear Implant.
    I do have a pro audio background.

    THANK YOU for this tool, I was able to stream your sine sweep literally into my brain ( no speakers or Headphones ) and I am using it to teach my brain to hear again. and also to aid my hearing professionals to program ( Map ) my Cochlear.

    it is an intense learning curve. My methods may be a little unconventional to some, but its hugely beneficial to me.

    JR

  • David Moulang

    Interesting, you know that ‘kazoo’ sound that comes from a damaged speaker cone at a specific frequency? I used your app to isolate the speaker and the frequency.

  • Richard Kerhin

    It would be great if you could add up and down arrows for the loudness percentage like you did for the frequency. I’m trying to match the sound with the Solfeggio frequencies for healing and it’s very difficult to change the volume 1% at a time. Thanks!

  • Thomoose

    I’m am not a doctor or do I recommend what I say here.

    I was suffering from extremely bad ringing, 10khz using this page, and I thought I was going to die. Ringing in the ear has been with me since childhood till now, 41. Never knew it was not normal. Use to think it was the TV downstairs when I was a kid.

    Anyways it was so bad 2 weeks ago and I wanted to talk to a doctor. I know this is weird but I talked to my psychiatrist which I won’t list here. I suffer from mental problems such as bipolar depression and schizophrenic tendencies. I started having problems walking so he thought it was problem with the ear. He decided it was possible for my air path behind the ear drum was clogged.

    Psychiatrist put me on sudafed, claratin and I was already taking flonase for allergies. Extreme amounts of liquid started coming into my ear and going down my throat. Almost my entire sinus cavity above the middle of my nose was clogged. It made me sick to swallow the stuff coming down my throat so I had to spit it out. After a week my sinuses really cleared and the ringing started to go down and oscillate.

    Over two weeks in it’s getting close to gone. It’s still a sharp tone but the volume is way down. TVs, people talking and my own voice is very loud. I would use white noise sometimes to hide the ringing but noise almost hurts now. Sometimes noise will cause some ringing currently.

    I’ll try to answer any questions about my experience. I do not recommend doing any of this. You should talk to your doctor.

  • Jean

    Hi, I found your website researching 40 hz tones. I plan to get a good subwoofer and place it in the corner as suggested so I can feel the sound. I don’t have Alzheimers but a general brain cleanup was mentioned plus a lifting of mood. I read where binaural beats work too so a 40 hz pure tone may not be necessary, I don’t know. A 40 hz light flicker is found on YouTube as well but I wonder about the refresh rate of computers and TV interfering with the flicker rate. Would this happen?

    I then read you mentioned using the tone generator to match your tinnitus which I have. I determined mine was around 7000 and 7900 hz. What was interesting was that the more I tried to match it the more the tinnitus faded so I couldn’t hear it as well. I’ve heard of tinnitus matching to give the brain the frequencies it’s missing when you lose some hearing and how that can help with tinnitus. I’d like to make a sweep of those frequencies and download it to play back. Not sure I can do this with your sound generator.

  • Hamish Luebbers

    Hi Tomasz, thanks for such a useful and well made tool!

    As a recent sufferer of tinnitus, I’ve just made the interesting discovery that if I play a tone in your generator of the exact volume and frequency of the tinnitus, I can hear a vibrato harmony, exactly like when tuning a guitar. This has helped me identify the exact frequency (290.01HZ) and volume of the tinnitus (3%), and when I play the precise tone it even partially cancels out the tinnitus due to the ‘virtual’ sound wave being cancelled by the real sound wave! Fascinating and helpful. Thank you again.

Leave a Reply to Andruhan4eK