全球免费使用

在线音频发生器:播放任意频率

播放 20 Hz 至 20 kHz 的纯音,可选正弦波、方波、锯齿波或三角波,用于测试音箱和耳机、检查听力范围或为乐器调音。

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

处理中…

下方的详细帮助目前仅提供英文版。

关于此工具

A tone generator produces a single steady frequency. It is useful for testing speakers, subwoofers and headphones, finding rattles in a car or room, checking the upper limit of your hearing, giving a reference pitch for tuning, and for physics and audio lessons.

This generator uses the Web Audio API in your browser to play any frequency from 20 Hz to 20,000 Hz as a sine, square, sawtooth or triangle wave, with a fine frequency control, quick presets and the musical note closest to the frequency.

使用方法

  1. Choose a frequency with the slider, number box or a preset such as 440 Hz or 1 kHz.
  2. Choose the waveform: sine for a pure tone, square, sawtooth or triangle for richer sounds.
  3. Set the volume low, then press Play.
  4. Adjust the frequency while it plays; press Stop when you are done.

计算原理

A Web Audio OscillatorNode generates the chosen waveform at the chosen frequency, passed through a gain control. The nearest note is f = 440 × 2^((n − 69) ÷ 12) for the MIDI number n closest to the frequency.

Web Audio OscillatorNode at the chosen frequency and waveform

计算示例

To check a pair of headphones, start at 1 kHz with a sine wave at low volume, then slide slowly up. Many adults stop hearing the tone somewhere between 14 and 17 kHz, and the limit falls with age. Sweeping from 20 Hz upward on a subwoofer reveals where its bass output really begins and any rattles in the room.

示例输入和结果

点击 1 kHz → 播放 → 向上滑到 15 kHz,找出你听不到的位置。

局限性

  • Output depends on your device; many phone speakers cannot reproduce below about 100–200 Hz.
  • Not calibrated for sound pressure level.
  • One tone at a time.

最后更新:

常见问题

Can a tone damage my hearing or speakers?

Loud tones can. Always start quietly, especially with headphones and with very low or high frequencies.

Why does a square wave sound buzzier?

It contains strong odd harmonics; a sine wave has only the fundamental.

Is this a hearing test?

It gives a rough idea only. A proper hearing test needs calibrated equipment and an audiologist.

故障排除

I hear nothing at 30 Hz.

Your speaker probably cannot reproduce it; try headphones or a subwoofer.

There is a click when starting.

A short fade is applied, but some devices still click; lower the volume.

High tones are silent.

Try a lower frequency; high-frequency hearing declines with age.

隐私 & 免费使用

我的输入会被保存吗?

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

这个工具免费吗?

是的。无需注册或付费。

在浏览器中处理

推荐下一步