2ClickKit

Frequency Tone Generator

Files Never Leave Your Device

Synthesize pure acoustic frequencies from 20 Hz to 20 kHz. Sine, square, sawtooth, triangle oscillators, 440Hz concert pitch calibration, and WAV export.

Oscillator Pitch Frequency
440Hz
Logarithmic Frequency Scale (20 Hz – 20,000 Hz)440 Hz
20 Hz100 Hz1 kHz5 kHz10 kHz20 kHz
Master Volume:30%
QuietComfortable (Default)Caution: Loud

Acoustic Reference Calibration Presets

Export Reference Tone as Lossless WAV

Render uncompressed 48 kHz 16-bit PCM test file for audio system tuning and speaker burn-in

The Mathematics of Acoustic Waveforms & Spectral Synthesis

Sound in the physical universe is an undulating mechanical pressure wave propagating through an elastic medium such as air. In the mathematical realm, all periodic sounds—no matter how elaborate or symphonic—can be broken down into superpositions of elementary sinusoidal waves. This fundamental discovery, formulated by French mathematician Jean-Baptiste Joseph Fourier in 1822 (Fourier Analysis), forms the bedrock of modern acoustic engineering, telecommunications, and digital audio signal processing.

2ClickKit Frequency Tone Generator transforms your browser into an analytical audio laboratory synthesizer. Operating via the W3C Web Audio API OscillatorNode, the tool synthesizes clean, continuous, double-precision mathematical waveforms directly into your audio hardware output buffer.

Waveform Topologies & Harmonic Fourier Series

While a pure sine wave represents singular acoustic purity, non-sinusoidal waveforms introduce harmonically rich acoustic energy essential for testing filter responses and system linearity:

Sine:   x(t) = A · sin(2πft)
Square:   x(t) = (4/π) · ∑ [ sin(2π(2k-1)ft) / (2k - 1) ]  (Odd harmonics)
Sawtooth:   x(t) = (2/π) · ∑ [ (-1)^(k+1) · sin(2πkft) / k ]  (All harmonics)
Triangle:   x(t) = (8/π^2) · ∑ [ (-1)^k · sin(2π(2k+1)ft) / (2k + 1)^2 ]
Waveform Shape Harmonic Content Spectral Roll-Off Slope Perceptual Timbre Engineering Application
Sine Wave Fundamental frequency only (1f) ∞ (Zero overtones) Pure, flute-like, whistle tone Hearing threshold tests, subwoofer calibration
Square Wave Odd integer harmonics (1f, 3f, 5f, 7f) -6 dB / octave (1/n) Hollow, clarinet-like, retro 8-bit chip Digital amplifier slew-rate testing
Sawtooth Wave Even & odd harmonics (1f, 2f, 3f, 4f) -6 dB / octave (1/n) Buzzy, bright, brassy, cutting synth Analog filter frequency response sweeping
Triangle Wave Odd integer harmonics (1f, 3f, 5f, 7f) -12 dB / octave (1/n²) Mellow, soft, warm woodwind LFO modulation, gentle acoustic testing

Why Logarithmic Frequency Scaling is Essential

The human perception of musical pitch is fundamentally logarithmic, not linear. Moving from A1 (55 Hz) to A2 (110 Hz) is an interval of one octave (a span of 55 Hz). However, moving from A5 (880 Hz) to A6 (1760 Hz) is also an interval of one octave, yet it spans 880 Hz.

If a frequency slider were linear from 20 Hz to 20,000 Hz, 50% of the slider travel would be squandered above 10,000 Hz—a range where human pitch perception is minimal. By mapping the slider to log10(Frequency), every musical octave occupies equal physical real estate on your screen, allowing effortless navigation across both deep sub-bass fundamentals and crisp vocal air frequencies.

Common Scientific & Acoustic Use Cases

  • Speaker & Subwoofer Room Tuning: Sweep through 20 Hz to 120 Hz to locate room modes—standing acoustic waves where physical room dimensions cause bass frequencies to cancel out or boom unnaturally.
  • Instrument Tuning & Calibration: Audition reference 440.0 Hz (ISO Concert A) or 432.0 Hz (Verdi Tuning) to tune acoustic violins, cellos, guitars, and synthesizers.
  • Audiometric Hearing Screening: Test your personal high-frequency threshold limit. While young individuals can perceive frequencies up to 18 kHz to 20 kHz, normal adult hearing often naturally rolls off between 14 kHz and 16 kHz.
  • Smartphone Speaker Water Ejection: Trapped surface tension inside micro-speaker grills can be broken by sustained low-frequency acoustic vibrations (165 Hz), pumping droplets out of the phone casing.

Frequently Asked Questions

What is the human audible frequency spectrum range?

The human auditory range typically spans from 20 Hz (deep sub-bass felt physically as vibrations) to 20,000 Hz (ultra-high shimmer). As humans age, natural presbycusis causes high-frequency sensitivity to decline, often capping adult hearing around 14,000 Hz to 16,000 Hz.

What is the mathematical difference between the 4 waveform types?

A Sine wave contains only a single fundamental frequency with zero harmonic overtones. A Square wave contains the fundamental plus all odd integer harmonics (3f, 5f, 7f) decaying at 1/n amplitude. A Sawtooth wave contains both even and odd harmonics (2f, 3f, 4f) decaying at 1/n, producing a rich buzzy timbre. A Triangle wave contains only odd harmonics decaying rapidly at 1/n^2, yielding a mellow, flute-like tone.

Why is A4 440 Hz used as the universal concert tuning standard?

In 1939, an international conference in London recommended 440 Hz as standard concert pitch for the note A above middle C (A4). This was formally ratified in 1955 by the International Organization for Standardization as ISO 16, ensuring that orchestras, pianos, and synthesizers across the globe could perform in unison.

What is the 20 Hz to 20 kHz frequency sweep used for?

A logarithmic frequency sweep (chirp) tests the acoustic response of loudspeakers, subwoofers, studio monitors, and listening rooms. Sweeping across the audible spectrum reveals speaker cabinet rattles, acoustic room standing waves (modal resonances), and crossover dips.

Can I use this tool to remove water from phone speakers?

Yes! Playing a low-frequency tone around 165 Hz to 250 Hz at moderate volume forces the physical speaker diaphragm to oscillate with wide physical displacement, ejecting trapped water droplets from the speaker grill.

Is it safe to play high frequencies at loud volumes?

Caution is advised when listening to pure tones above 4 kHz, particularly with in-ear headphones. Because pure sine waves concentrate 100% of acoustic energy into a narrow cochlear hair cell region, prolonged exposure at high volume can cause auditory fatigue or temporary threshold shift. Keep volume at 20% to 40%.

Are tone synthesis calculations performed on remote servers?

Never. All digital oscillators, exponential sweeps, and WAV audio packaging execute 100% in your browser using the native Web Audio API C++ sound engine. Zero internet bandwidth consumed.