Tone Generator
Generate a frequency or logarithmic sweep with four waveforms. Start with your device volume low.
Start with low volume. Square and sawtooth waves contain strong harmonics.
Tone generator: play a frequency or sweep through a range
A 440 Hz sine wave completes 440 cycles in one second. Your browser can generate that signal without an audio file. Enter a frequency above, choose a waveform and press Play. A logarithmic sweep moves from the start frequency to the end frequency over your chosen duration. Keep the volume low before starting. This is a simple reference for listening, audio experiments and equipment checks, not a calibrated signal source.
Frequency input and audible range
The input accepts 20 to 20,000 Hz, a conventional nominal range for human hearing. Actual audibility varies by person and playback system. At a sample rate of 44.1 kHz, the theoretical Nyquist limit is 22.05 kHz, but a speaker may roll off far below that. Type 440 Hz for a familiar tuning reference or 100 Hz to hear a lower pitch. The frequency calculator converts note names to approximate equal-tempered frequencies if you would rather start from a musical note.
Sine, square, triangle and sawtooth
A sine wave contains one frequency in the ideal case. Square waves include odd harmonics; sawtooth waves include both even and odd harmonics. A triangle wave has weaker upper harmonics than a square wave. That is why a 1,000 Hz square wave can sound much brighter than a 1,000 Hz sine at a similar level. Browser audio generation and your headphones can introduce distortion too. Choose sine for a basic frequency check, and use the others when you want to compare timbre. Avoid high-volume square or sawtooth tones, especially near your comfortable listening limit.
What the sweep does
A logarithmic sweep changes frequency by a constant ratio over equal time intervals. For example, going from 100 Hz to 1,600 Hz spans four octaves: 100 to 200, 200 to 400, 400 to 800 and 800 to 1,600 Hz. Over 8 seconds, each octave gets about 2 seconds. The end frequency can be lower than the start if you want a descending sweep. Duration is limited to 30 seconds and the level ramps down before playback ends. This is different from white noise, which distributes energy across many frequencies at once. Try the noise generator for that task.
How sound is made here
The Web Audio API creates an oscillator, connects it to a gain node and routes it to your audio output. The gain rises briefly at the start to reduce clicks. The MDN OscillatorNode reference documents the browser node and supported waveforms. A sweep schedules an exponential change in the oscillator frequency. When you press Stop or leave the page, the playback context closes. This page does not record your microphone or send audio to a server.
Do not use a tone to diagnose hearing
A quiet tone that you cannot hear may be blocked by speaker response, Bluetooth processing, operating-system equalization or ambient sound. Raising the volume to force a high tone into audibility is not a useful measurement and may be unsafe. The headphone test checks which channel plays; the frequency hearing check walks through a few fixed tones with explicit limitations. Neither replaces a calibrated audiogram. If you notice a sudden change in hearing, seek medical advice rather than trying to diagnose it with a browser oscillator.
Using the result in a session
When checking a room, write down your playback level and device before comparing two runs. A 60 Hz tone might seem weak on a laptop and obvious on a subwoofer; that difference says more about the equipment than the oscillator. Do not infer a flat frequency response from a single listening position. Room modes can make low frequencies much louder at one seat than another. For uploaded recordings rather than synthesized tones, the spectrum analyzer shows a frequency display that you can compare with what you hear.
Repeatable listening without false precision
Set your playback volume once, then change only the oscillator frequency. If the speaker is battery powered, record its charge level too, because power-saving behavior can affect output. Keep the same distance from the speaker between runs. These simple habits make a listening comparison more useful, though they do not turn it into a laboratory measurement. A room reflection can cancel one frequency at a specific spot. Moving your head a small distance may change the apparent level. If the goal is to check a speaker against a specification, use measurement equipment with a calibrated microphone instead.
Very high frequencies are especially easy to misread. A square wave at 10,000 Hz has harmonics beyond 20,000 Hz, which the playback chain may filter or distort. A sine wave is usually the more sensible choice for checking a single audible pitch. The sweep is a way to hear broad changes quickly, not a proof that every frequency in the interval is reproduced equally. Stop playback before adjusting the device volume. If a test sound causes discomfort, end the session rather than trying a different waveform at the same level.