Online Tone Generator
Create and listen to tones at different frequencies, durations, and waveforms.
Tone Settings
Adjust the parameters below to generate the desired tone.
Recommended audible range: 20Hz - 20000Hz.
Affects the sound timbre.
Adjusts the sound intensity.
Play until you press Stop (ignores the duration).
How to Use the Tool
This tool uses your browser's Web Audio API to generate pure sounds in real-time.
- Set Frequency: Enter the desired frequency in Hertz (Hz). For example, A4 note is 440 Hz.
- Choose Duration: Set how many seconds the sound should play.
- Select Waveform: Choose between Sine, Square, Sawtooth, or Triangle to change the sound timbre.
- Adjust Volume: Use the slider to control the sound intensity.
- Play: Click "Play Tone" to hear the sound. You can stop it at any time.
Frequently Asked Questions (FAQ)
What is the frequency of a sound?
The frequency, measured in Hertz (Hz), determines how "high-pitched" or "low-pitched" a sound is. Higher frequencies correspond to higher-pitched sounds, while lower frequencies correspond to lower-pitched sounds. The typical human ear can perceive sounds in the range of 20 Hz to 20,000 Hz.
What are the "waveforms"?
- Sine: The purest and smoothest sound, without harmonics. Like a tuning fork.
- Square: Has a more "electronic" or "digital" sound, like old video games.
- Sawtooth: A rich and "bright" sound with many harmonics. Common in synthesizers.
- Triangle: A softer sound than a square wave but richer than a sine wave.
How does this tool work?
This tool uses the Web Audio API, a technology present in modern browsers that allows audio creation and manipulation directly in code. It generates the waveforms mathematically and sends them to your device's audio output.