Free Hz music generator and online tone generator. Play any frequency from 20 Hz to 20 kHz — sine, square, triangle, sawtooth. 440 Hz, 432 Hz, 1 kHz test tones. 100% client-side.
No uploads. No account. Free to use.
Under the Hood: The Architecture of Online Frequency / Tone Generator
Streamed test-tone MP3s leak play events to a CDN. This Hz generator uses the Web Audio API: OscillatorNode plus GainNode, no file, no upload. Sine, square, triangle, or sawtooth from 20 Hz to 20 kHz. The architecture is a live graph in RAM, not a media element.
Memory Allocation & Browser Threading Mechanics
Audio renders on the audio thread. The main thread only writes frequency, type, and gain AudioParams. One oscillator, one gain. stop() disconnects nodes; unmount closes the context so the DAC is released.
Algorithmic Deep-Dive: Code Snippet & Logical Analysis
const ctx = new AudioContext();
const osc = ctx.createOscillator();
const gain = ctx.createGain();
osc.type = wave;
osc.frequency.value = hz;
gain.gain.value = vol;
osc.connect(gain).connect(ctx.destination);
osc.start();
Frequency is clamped 20–20000. Gain is clamped to a low ceiling to reduce speaker damage. Changing the slider while playing uses setValueAtTime on the current context time rather than reconstructing the graph.
The Local Storage Sandbox & Volatile Data Pipelines
No Blob of audio is kept unless you consider the speakers output. Context close drops the graph. Slider state is React only.
Verifying True Privacy: How to Audit Your Browser's Network Tab
F12, Network, clear, press play. You should see no audio/mpeg range requests. Web Audio does not open a media WebSocket.
What is Frequency Generator – Private Online Tone & Hz Music Generator?
This frequency generator (also called an Hz generator, Hz music generator, audio frequency generator, or online tone generator) plays a pure tone at any Hertz value from 20 Hz to 20 kHz. Use it as a sine wave generator for speaker tests, a 440 Hz A4 tuner, a 432 Hz or 528 Hz reference, a 1 kHz test tone, or a simple frequency music / sound frequency generator. Synthesis uses the browser’s Web Audio API — nothing is uploaded.
When to use it
People search for hz music generator, hz generator, tone generator Hz, frequency music generator, and sine wave generator when they need a local oscillator — not a streamed file. This page is that tool: 20 Hz to 20 kHz, A = 440 Hz concert pitch, optional 432 Hz, subwoofer checks (20–60 Hz), and 1 kHz / 10 kHz test tones, all client-side.
Frequently asked questions
Is this an Hz music generator?
Yes. It is a browser Hz music / frequency generator: type a Hertz value and play a continuous tone. It is not a full song composer — it is a pure-tone oscillator.
Is the audio generated on a server?
No — pure Web Audio API oscillator in your browser.
What waveforms are available?
Sine (purest), square, triangle, sawtooth.
Can I play 440 Hz or 432 Hz?
Yes. Use the presets for A4 440 Hz concert pitch, 432 Hz, 528 Hz, 1 kHz test tone, and other common frequencies.
Is it safe for speakers/hearing?
Always start at low volume; high levels at extremes can damage equipment or hearing.
Can I use it offline?
Yes, after the page has loaded.
Do I need headphones?
Optional; useful for binaural or single-channel checks.