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.
David Marshall Nov 19, 2019 at 6:07 am
I am 66 years old and have tremor in my hands. Not nice. I have set the tone down to 40 Hz. and it has reduced the tremors nearly down to nothing. I combine with other tones at 432 Hz. I would recommend trying this with anyone that has these sort of issues.
I play for a couple of hours each day. I will continue to do this as it is very relaxing as well as beneficial.
Thank you
Antonio Dembech Nov 25, 2019 at 8:55 pm
Will be fantastic to have two different frequencies. One on the left speaker and one on the right speaker. So we can hear the phisics beats.
Tomasz P. Szynalski Nov 26, 2019 at 3:06 am
You can do it by opening the page in two browser tabs.
Jill-of-All-Trades Feb 9, 2020 at 5:37 pm
Thanks!
Jes Vesper Nov 26, 2019 at 1:45 pm
Dear Tomasz,
Thank you so much for enabling me to listen to 40 herz. It has given me back things I thought I already had lost for ever. I am in the early stages of Huntington’s, a hereditary illness, that has similarities with Alzheimer’s. Listening to your 40 herz for 45 minutes every other day, has lifted the permanent fog in my head; given me back a lot of words; returned my energy; given me back part of my short term memory and cognition. It’s nothing short of a miracle! On top of all that I feel happier.
So thank you and spread the word!
Jes
Tomasz P. Szynalski Nov 27, 2019 at 8:18 am
That’s great! Thank you for sharing such a positive experience. When did you start listening to 40 Hz?
Jes Vesper Nov 27, 2019 at 5:31 pm
I started a month ago. The fog in my head lifted immediately after one session, the other results grew more slowly. I have to play the piano a lot for my profession, even my playing has become easier.
I cannot tell you how thankful I am!
Jes
Jerry Bies Nov 27, 2019 at 10:04 pm
Which 40 Hz. tone is used Sin, Square, Triangle or Sawtooth for these results?
Jes Vesper Nov 29, 2019 at 4:49 pm
Hi Jerry,
I use the sawtooth variation without any real reason behind my choice….
Jes
Abraham L.J. Arnold Jan 30, 2020 at 3:21 am
Hello Tomasz, I have recently been using this to create tuning systems, but to avoid large amounts of calculation, could you add an option to multiply a frequency to more intervals than an octave? Thank You!
Sal Dec 18, 2019 at 5:13 am
I use the Saw Tooth, as it seems to provide more of a clean “PULSE” than the other options. It may not seem as pleasant, but I think it might be more effective.
Andruhan4eK Dec 9, 2019 at 1:00 pm
I have been using your program for a long time, I am from Russia, I am very grateful to you, your program and website often help me out.
I wish you good health and good mood)))
dude Dec 13, 2019 at 5:47 pm
Can this damage your hearing? My friends do it all the time. I can hear the Hz. that others can’t. If I listen to too much of this, will I not be able to have that special hearing superpower? 🙂
Tomasz P. Szynalski Dec 15, 2019 at 9:35 am
Not an expert, but I think it might damage your superpower if the volume is too high. Remember that for these high frequencies, even if you can barely hear it, the volume can still be objectively quite high (it would show a lot of decibels if you measured it with a meter).
J Dec 23, 2019 at 2:38 pm
I think it would be cool if you could reverse the wave so you could noise cancel something without needing some active noise canceling device.
Tom Jan 27, 2020 at 1:45 am
Does anyone have an explanation as to why when I use an Radio Shack SPL meter to measure the dB SPL that it increases as the frequency increases? Note this has nothing to do with my own perceived loudness of the tone. For example, I have the meter set to C weighting and slow. I then choose 500 Hz and set the my amplication so the meter measures 60 dB when a set length from the speaker. I then change the frequency to 5000 Hz and the meter measures some 25 dB higher. I realize the speakers will not have a flat response but I ran this same little test on a few different speakers as well as directly out of my phone speaker with the meter an inch away and observed the same phenomena. Does this have to do with sound waves of the higher frequencies decaying slower somehow as they move through that little bit of air or with feedback as the waves bounce off the meter and back around, etc. Or is my meter faulty?
Great site and tool btw.
Tomasz P. Szynalski Jan 27, 2020 at 11:44 am
C weighting should not produce a difference between 500 Hz and 5 kHz. My guess is that you’re measuring always in the same spot, which causes constructive interference with the same wave from (1) your other speaker or (2) some nearby surface. Try moving the meter 2-3 cm in various directions.
David Ferree Feb 3, 2020 at 4:12 pm
This is the best online tone generator I’ve ever found. The ability to quickly go up and down octaves is incredibly helpful when equalizing speakers and headphones. Great UI and keyboard shortcuts.
Though… I do have a feature request. An ‘Equal Loudness’ toggle would be brilliant for hearing tests and EQing equipment by ear. (I tried to link to relevant wikipedia articles before, but I think the comment got eaten. wikipedia: equal-loudness contour, psychoaccoustics, gray noise)
Tomasz P. Szynalski Feb 6, 2020 at 9:46 am
Thanks, David. Equal loudness in what range? As the frequency drops, it becomes harder to ensure equal loudness.
Koolguy555 Feb 5, 2020 at 7:13 am
Hi great tool I just started using it. Is there a way you can tell me how I can record the frequency I want to hear and save it as a mp3 file? Thanks so much
Tomasz P. Szynalski Feb 6, 2020 at 9:46 am
You’d need some kind of software that records the sounds that are playing on your computer.
Kevin Killion Feb 13, 2020 at 4:55 pm
Brilliant! Thanks for creating this.
I would love to see the addition of a toggle to switch between left-only/right-only/both. This might help it make easier to match tinnitus sounds: Click left-only and match the sound you hear in your right ear, switch and test your left ear. This would be helpful for tinnitus in one ear only, and also if the sounds are different in both ears, but by giving a silent reference it would be very helpful even in binaural tinnitus that is the same on both sides.
It would be great to get opinions from audiologists, especially audiologist who actually have tinnitus themselves, to offer comments. For example, if a patient has what he thinks of as two distinct tones, can he best try matching that or is a switch to a different waveform (e.g., sawtooth) even better? Also, would adding some controls for narrow-band white or pink noise help patients match their tinnitus?
But still, this tool is tremendously helpful.
Tomasz P. Szynalski Feb 14, 2020 at 6:11 pm
You can already switch between L, R and L+R with the balance control. Is that what you were looking for or did you have something else in mind?
Kevin Killion Feb 17, 2020 at 5:51 pm
Thank you! I hadn’t noticed the balance control when I posted before!
adam Feb 15, 2020 at 3:07 am
This is a great tool!! Right now I have it set to 20kz at 1% volume in the background to keep my external speaker from disconnecting.
I can’t be the only one with windows PC devices disconnecting with no sound detected…is there anyway to program something like this to play in the background at startup?
r Feb 18, 2020 at 6:01 pm
Any chance of a phase-shift option? Would be neat for demonstrating destructive frequencies!
Guillermo Luijk Feb 19, 2020 at 2:12 am
There is something wrong with the square pulse waveform. When set at high frequencies (e. g. 13kHz) it produces wrong subarmonics like 4kHz or 9kHz, which are clearly audible. At that frequency the sawtooth and triangular waveforms work just fine, producing a single 13kHz tone indistinguishable from a 13kHz pure sine wave as expected.
This makes me think the square pulse is not well implemented. Probably some simplification in the math led to aliasing which contaminated the samples. In order to get rid of aliasing, the harmonics beyond the Nyquist frequency should be simply dropped when constructing the sample values.
In any other regard, this is a great online app. Thanks and congratulations.
Regards
Tomasz P. Szynalski Feb 19, 2020 at 2:00 pm
Hi Guillermo,
Cool way to test the purity of the square wave! I tried it on Firefox and Chrome (both Windows), and the 13 kHz sine wave sounds the same as a 13 kHz square wave. What browser and OS did you test it on? The tone generator currently uses built-in browser functions. It’s possible that some browsers have poorly written audio code.
Guillermo Luijk Feb 19, 2020 at 6:48 pm
It’s strange because sometimes it works fine, and some others doesn’t. I’m using Google Chrome all time on different devices: Samsung Galaxy Note 10+, Lenovo laptop, Dell laptop. Find here a test through different frequencies from 11-14 kHz (I typed them), in this case on the Lenovo laptop:
http://guillermoluijk.com/misc/onlinetonegenerator.png
Only 12 kHz was a pure tone, all the rest produced subarmonics and upperarmonics. But now I have just tried 13 kHz on the Dell laptop I’m typing this and works perfect. Probably is something related to the browser implementation out of your control.
Regards
Tomasz P. Szynalski Feb 20, 2020 at 8:30 pm
Mobile devices and laptops will often have some built-in audio filters to boost the loudness and “enhance” the sound. Maybe that’s the reason for the distortion you’re experiencing?
Hilmir G. Bjarnason Feb 21, 2020 at 1:57 pm
This is amazing thanks. I need this to keep my JBL from turning off thanks for this
Monique A Elling Feb 22, 2020 at 5:37 am
Thanks you for your work.
Physics Teacher Feb 26, 2020 at 6:18 am
I’m a physics teacher and I have been using this for three years when I’m teaching Sound Waves. It is a very useful tool. Thank you for providing it for free.
Pablo Feb 26, 2020 at 5:11 pm
I just want to add that, you can use this generator for bi neural beats as well. I just had to open two tabs and set each frequency to one side of the headset. Ironically it is much better without all that noisy background music, at least for me that is.
By the way, thank you so much for your work, you have my gratitude for this.
Kevin Killion Feb 27, 2020 at 7:01 pm
Wonderful tool!
I’ve had bilateral tinnitus of about 7500hz for years.
Using this tool, I’m trying to identify a lesser second tone that I hear in my right ear only. But it’s a tough one because it’s overshadowed by the other noises. And, when I try presenting comparison tones, it’s almost as if this tinnitus tone runs away and hides. I’d like to have the generated tone even more subtle.
I’d love it if I could test a tone at a volume even lower than the 1% level. Maybe make the volume control as wide as the frequency slider to give a wee bit more range? Or change the scale towards the left end, e.g., 0.1 to 1% for the leftmost fifth, and 1% and up as usual after that?
Tom Mar 5, 2020 at 7:28 pm
Hi, I found your tone generator through an Alexa Echo app that suggested I find the frequency of my tinnitus then use it with the therapy the app provides. Question though, if I match the generators tone to the tone of my tinnitus exactly shouldn’t I hear only my tinnitus? It seems my tinnitus is closest to 4379 but I can still hear the generators tone. I have noticed that at a little more and a little less than 4379 I cease to hear your tone generator at all. Should I assume that either/both peripheral tones are the exact frequency of my tinnitus? Thanks for your work and energy. Tom
Tomasz P. Szynalski Mar 6, 2020 at 3:00 pm
The tone you hear should drown out your tinnitus. For a while after listening to the tone, your tinnitus should go silent. Are you playing the tone on your headphones or speakers?
Michael Reale Mar 11, 2020 at 3:28 pm
Great tool! If I wanted to record the sounds from this for a game project involving sound, would that be an issue? (Completely understand if it is.)
Tomasz P. Szynalski Mar 12, 2020 at 3:00 pm
No problem, I don’t have the copyright on sine waves 🙂
Meryl Mar 13, 2020 at 12:15 am
Hi, could you add a (plus and minus) button right beside the volume presented on the site? It’s frustrating having to tone the volume using mouse… sometimes it’s an endless cursoring through it.
Tomasz P. Szynalski Mar 21, 2020 at 5:01 pm
You can select the volume slider and use the arrow keys.
Jes Vesper Mar 17, 2020 at 12:39 pm
Hi Tomasz,
I would like to thank you again!
After nearly four months I’ m still hugely benefitting from your tone generator. I listen every other day for 45 minutes. This keeps the early symptoms of Huntington’s disease at bay. No more foggy head, better memory, no searching for words, better mood. And a funny thing: my eye sight is better during the time I listen to 40Herz.
Thank you for providing this generator!
Jes
Tomasz P. Szynalski Mar 18, 2020 at 4:54 pm
Glad it’s helping you. Thank you for touching base.
Vit Mar 17, 2020 at 5:07 pm
Hello.
Thanks for superior app.
I Have a tip for next versions…
Could you add a phase change function between channels such as an endless wheel or slider?
Thank you for welcoming this feature.
Vit
Catherine Green Mar 17, 2020 at 6:14 pm
After reading the effect of 40 hertz waves on Alzheimers, I found your site. My question is in regards to the notes how are they applicable? I had it on the d and when I changed it to another one my dogs were nervous about the sound, even at that low of a frequency.
Tomasz P. Szynalski Mar 18, 2020 at 4:58 pm
I don’t think it’s important to match musical notes. I would just use exactly 40 Hz.
Ryan Mar 27, 2020 at 6:42 pm
I was thinking that you should put something to were you can play multiple tines at once but ut is just a suggestion.
Elizabeth Moore Apr 1, 2020 at 6:20 pm
I used this with my cat in the room and I can say he got sufficiently annoyed
Alex Apr 4, 2020 at 3:11 pm
If you want to make a little extra money from this, you could become a Brave verified creator. It’s a crypto currency project that lets users send tips to creators directly from the browser. Not sure how much it would help, but you could look into it! And it’s VERY easy to do.
RoCky Apr 8, 2020 at 4:53 am
As a tinnitus sufferer that seems to be worsening with stress, especially during this Covid time. With a change in job status, cabin fever, cranky spouse it seems my stress and ringing ears hit a all time high. My white noise machine seems to failing me. I stumbled across this site doing research. So far this is giving me something else to focus on instead of my head. I’m supporting you effort for now. Will do more if this helps.
Tomasz P. Szynalski Apr 8, 2020 at 8:44 pm
Thank you and I’m sure it will pass!
C.R. Gillespie Apr 14, 2020 at 12:57 am
Just wanted to say thanks for creating the sine tone generator site! I used it for inspiration in creating an ambient meditation 2xLP, Concentration Patterns, suggesting listeners to use the generator on specific frequencies simultaneously with the recorded material per LP side:
https://soundcloud.com/colinroygillespie/sets/concentration-patterns-hz-edits/s-VDAj4
Made a small donation, hope you and yours are doing alright during this quarantine. Let me know if you’d like me to send the whole recording. All the best
-C.R.
Tomasz P. Szynalski Apr 14, 2020 at 10:14 pm
Thank you for your support and stay safe!