Connecting to OmniTools before opening this tool…
Only a temporary connection check is sent. Your files and tool inputs stay in your browser.
How Audio Frequency & Tone Generator works
The Frequency Tone Generator produces pure audio waveforms using the Web Audio API OscillatorNode interface, enabling real-time synthesis of sine, square, sawtooth, and triangle waves at precise Hertz frequencies. The engine creates an AudioContext, instantiates an oscillator node with the selected waveform type, routes it through a GainNode for amplitude control, and connects to the destination audio output device. Frequency values from 20Hz to 20,000Hz are set directly on the oscillator frequency parameter with sub-Hertz precision.
Each waveform type produces distinct harmonic content governed by Fourier series mathematics. A sine wave contains only the fundamental frequency with zero overtones, producing a pure clean tone ideal for calibration and testing. Square waves sum odd harmonics (1f, 3f, 5f...) with amplitudes inversely proportional to harmonic number, creating a hollow buzzy timbre. Sawtooth waves include all integer harmonics (1f, 2f, 3f...) yielding a bright aggressive spectrum. Triangle waves sum odd harmonics with inverse-square amplitude falloff, producing a warm mellow character.
All audio synthesis occurs natively within the browser Web Audio API running on the operating system audio thread. No audio files are loaded, streamed, or uploaded. The oscillator generates samples mathematically at the audio hardware sample rate (typically 44100Hz or 48000Hz), ensuring zero-latency output suitable for instrument tuning, speaker testing, hearing assessments, and audio engineering calibration tasks.
How to use Audio Frequency & Tone Generator
1. Select Waveform Type
Choose between sine (pure tone), square (odd harmonics), sawtooth (all harmonics), or triangle (soft odd harmonics) waveform shapes based on your testing or musical requirements.
2. Set Frequency Value
Enter a precise frequency in Hertz from 20Hz to 20,000Hz, or use preset buttons for common values like Concert A4 (440Hz), middle C (261.63Hz), or standard test tones.
3. Adjust Volume Amplitude
Control the output gain level using the volume slider connected to the Web Audio GainNode. Start at low volume to prevent sudden loud output from speakers or headphones.
4. Start and Stop Oscillator
Click play to instantiate and start the OscillatorNode. The tone generates continuously until stopped. Click stop to disconnect the oscillator and silence the output cleanly.
Key features and technical specifications
Web Audio API OscillatorNode
Hardware-accelerated audio synthesis running on the OS audio thread at native sample rates (44100/48000Hz) with zero JavaScript processing latency or buffer underruns.
Four Standard Waveforms
Sine, square, sawtooth, and triangle wave generation covering pure tones through harmonically rich spectra for comprehensive audio testing and musical applications.
Sub-Hertz Frequency Precision
Floating-point frequency parameter accepts decimal values enabling precise cent-level tuning adjustments, beat frequency experiments, and scientific measurement applications.
Real-Time Gain Control
GainNode amplitude modulation allows smooth volume adjustment without clicking or popping artifacts, with full mute capability for safe listening level management.
Frequency and waveform are different controls
Frequency describes repetitions per second in hertz; waveform shape changes harmonic content. A sine tone and a square wave at the same fundamental frequency can sound very different. Begin at low volume and stop if uncomfortable. This tool is not a calibrated hearing test or diagnostic instrument.
Musicians & Instrument Technicians
Generate reference pitches for tuning guitars, pianos, violins, and wind instruments using the standard A4=440Hz concert pitch or any custom temperament frequency.
Audio Engineers & Acousticians
Test speaker frequency response, room acoustics, microphone sensitivity, and audio equipment performance by sweeping through the audible spectrum systematically.
Hearing Test Applications
Assess auditory perception thresholds by generating tones at various frequencies and amplitudes for informal hearing screening and audiometric reference purposes.
Physics & Education Students
Demonstrate wave properties, harmonic series, resonance phenomena, constructive and destructive interference, and Fourier analysis concepts in classroom laboratory settings.
Frequently asked questions
What is the difference between the four waveform types?
Sine waves contain only the fundamental frequency—mathematically pure with no overtones. Square waves add odd-numbered harmonics (3rd, 5th, 7th) at decreasing amplitudes, sounding hollow and buzzy. Sawtooth waves include ALL harmonics (2nd, 3rd, 4th...), producing the brightest, most aggressive timbre. Triangle waves contain odd harmonics like square waves but with faster amplitude falloff (inverse square vs inverse), sounding warmer and softer.
Can humans hear the full 20Hz to 20,000Hz range?
The theoretical human hearing range spans 20Hz to 20,000Hz, but this varies significantly with age and exposure. Most adults cannot hear above 15,000-17,000Hz. Low frequencies below 30Hz are felt as vibrations more than heard as tones. The generator produces the full range regardless, useful for testing audio equipment beyond human perception limits.
Is the audio generated locally without streaming?
Yes. The Web Audio API OscillatorNode synthesizes audio samples mathematically in real-time on your device audio hardware. No audio files are loaded, no streams are buffered, and no data travels over the network. The samples are computed directly by the audio DSP at the hardware sample rate for zero-latency output.
Can I use this for tuning instruments to non-standard temperaments?
Absolutely. Since you can enter any frequency value with decimal precision, you can tune to historical temperaments (Pythagorean, just intonation, meantone), alternative reference pitches (A=432Hz), or microtonal scales. Calculate the target frequency for any note in any tuning system and enter it directly.
Will playing extreme frequencies damage my speakers?
Very low frequencies (below 30Hz) at high volume can over-excursion speaker drivers causing mechanical damage. Very high frequencies at extreme amplitude can stress tweeters. Always start at low volume and increase gradually. Use headphones rated for the frequency range you are testing, and avoid sustained maximum-volume output at frequency extremes.
Do I need an internet connection, and are my inputs uploaded?
An internet connection is required to open tools and refresh a temporary session. Processing stays on your device; the handshake sends a random challenge, not files or text inputs. Libraries, fonts or models may download. Local processing cannot remove risks from an untrusted device or extension.