I could also make the existing fade shorter, as a compromise. I could do a separate fade for non-Firefox, but not sure it’s worth it. Firefox has a long-standing bug that makes linear fades impossible to do without popping. I agree, the new fade-in sounds worse! But the old one (linear fade) resulted in crackling noise on Firefox when changing the volume, or when you quickly alternated between Play and Stop. I don’t use my generator that often, so I would have missed the degradation in sound quality.Ģ. Anyway, thank you for bringing this to my attention. I’ll upload the updated version, but first I’ve got to do some testing on more browsers. I’ve just looked into it and I can do the smoothing myself. Basically it used to smoothly ramp from one frequency to another - now it’s an immediate change. Chrome recently made some important changes to the Web Audio engine (removing automatic smoothing), which is probably the reason why it sounds “digital” on Chrome 66 and later. 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.ġ. 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. Works well on Chrome, Firefox & Safari – including mobile devices (iOS, Android) – requires a browser with support for the Web Audio API.Input frequency as a number (added Aug 2017).Choose sine/square/sawtooth/triangle wave (added Aug 2017).Generate a link to a specific tone, so you can share it (added May 2016).Can change the frequency smoothly as you move the slider.Increase/decrease the frequency by one octave (added Aug 2015).Pick a music note from a list (added Sep 2014, revamped May 2016).Fine-tune the frequency in 1 Hz, 0.01 Hz and 0.001 Hz increments.It’s basically a large logarithmic slider that allows real-time, smooth frequency changes. I made an online tone generator based on the Firefox Audio API HTML5 Web Audio API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |