High-frequency tone workspaceLocal audio

Ready — sound is off

Hz
High-frequency presets

The runtime Nyquist limit is checked when you press Play.

Current request16,000 Hz · Continuous · Sine

A number on screen does not verify what your speaker produces acoustically.

Browser audio signal toolkit

Online Dog Whistle

Use this online dog whistle as a cautious high-frequency oscillator and pulse reference, with runtime sample-rate validation and a conservative default output.

What Is an Online Dog Whistle?

An online dog whistle is a browser oscillator set toward the upper audio-frequency range. This tool requests a sine wave between 1 and 24 kHz, subject to the active AudioContext sample rate, and can hold it continuously or schedule controlled pulses. It does not play a recorded whistle, listen through a microphone, or certify what a speaker produces. The prominent number describes the digital source request only.

A physical dog whistle may produce a fundamental plus harmonics that depend on its construction and how it is blown. The online dog whistle is simpler: one mathematical sine oscillator, a managed gain envelope, and explicit timing controls. That makes it useful for education and cautious equipment experiments, but it is not a guaranteed training product, animal repellent, calibrated ultrasonic emitter, or proof that an inaudible signal is harmless.

Three simple steps

How to Get Started

Use this dog whistle deliberately: set the signal, begin quietly, and interpret only what the workflow can actually show.

01

Choose a Frequency

Enter a value or use a preset; the runtime sample rate is checked after your Play action.

02

Keep the Level Low

Leave the conservative five-percent output in place and reduce device volume before testing.

03

Select Continuous or Pulse

Use a brief pulse count when possible, then press Stop immediately if any person or animal reacts.

What Frequency Is a Dog Whistle?

There is no single universal dog whistle frequency. Commercial whistles, individual animals, and training contexts vary, and many products are adjustable. The presets from 8 to 22 kHz are reference points, not claims that one value works for every dog. Lower presets may be audible to many people; higher settings may be hard for some people to hear while still remaining within or near the response range of certain playback systems.

The dog whistle control extends to 24 kHz only because a 48 kHz or higher context may numerically allow values near that boundary. The dog whistle presets still pass through a 100 Hz margin below Nyquist. At a 44.1 kHz context, for example, 22 kHz is rejected because the working limit is 21.95 kHz. Even an accepted setting can be attenuated or distorted by the actual transducer.

Why Humans and Dogs Can Hear Frequencies Differently

Hearing sensitivity is not a hard on-off line shared by every member of a species. Age, individual biology, prior exposure, health, signal level, background noise, and the test method all matter. Dogs often respond to higher frequencies than adult humans, but one maximum number cannot represent every dog. Human high-frequency sensitivity also commonly changes with age and differs between ears.

Because you cannot hear a dog whistle setting, you may be tempted to raise the volume. Do not do that. Inaudibility can reflect your hearing, the speaker response, or both, and it does not establish safety. A microphone and analyser with an appropriate calibrated response are needed to measure acoustic output; this page has neither.

Continuous Tone vs Pulse Mode

Continuous mode sustains one sine source until Stop. Pulse mode applies short scheduled gain envelopes of 0.25, 0.5, or one second, with one-, two-, or five-second onset intervals. A dog whistle pulse count of one, three, or five ends automatically. The continuous-sequence choice uses a look-ahead scheduler so future onsets follow the audio clock rather than relying on a chain of imprecise page timers.

Every onset and ending receives a short ramp to reduce clicks. Stop cancels the scheduler and fades active nodes immediately, including pulses that had been scheduled for the future. Pulse mode is not a behavioral training program; it is simply a repeatable signal pattern. Prefer the shortest exposure that answers a legitimate technical or educational question.

Why Your Phone or Laptop May Not Reproduce High Frequencies

Small speakers, headphone drivers, digital filters, Bluetooth codecs, equalization, and protection processing can roll off output well below the requested dog whistle frequency. Distortion may also create lower by-products that are more audible than the intended fundamental. Hearing a faint lower sound is therefore not confirmation that the displayed high frequency is being reproduced accurately.

The browser knows its sample rate and can reject a value too near Nyquist, but it cannot read a reliable acoustic capability specification from your device. A 20 kHz oscillator setting is not a 20 kHz measurement. Use a suitable microphone, analyser, and controlled procedure if real output matters, and never use your own audibility as a volume meter.

Dog Whistles and Training: What This Tool Can and Cannot Do

A cue becomes useful through consistent, humane training, not because a dog whistle has a magical frequency. This page can generate a repeatable tone or pulse under your direct control. It cannot know whether an animal associates that sound with a cue, choose appropriate reinforcement, account for fear or sensitivity, or guarantee that barking or any other behavior will stop.

For training questions, seek guidance from a qualified reward-based professional who can observe the individual dog and environment. Do not substitute louder output for a lack of response. A dog may not hear the device well, may not understand the cue, may be distracted, or may find the sound aversive. Those situations require judgment, not more intensity.

Responsible Use Around Animals

Use the online dog whistle only for a legitimate, controlled purpose. Do not aim it at animals to surprise, repel, punish, or harass them. Begin at very low output, keep distance and sessions brief, and stop at any sign of avoidance, agitation, startle, ear movement suggesting discomfort, or other distress. Individual animals, including older dogs, can respond differently.

People nearby may also hear the tone or distortion products. Tell participants before a planned test and avoid public or shared spaces where others cannot consent. Never leave continuous playback unattended. The fact that a signal is marketed or described as a dog whistle does not remove your responsibility for humane use and safe sound exposure.

High-Frequency Audio Safety

Dog whistle safety matters because high-frequency sound can be uncomfortable or harmful when level and exposure are excessive. Digital gain percentage is not dB SPL, so five percent may produce different acoustic levels across devices. Keep both the page and system volume low, avoid placing headphones on ears for this experiment, and stop immediately with discomfort, ringing, pressure, headache, or an animal reaction.

Do not raise the volume sharply just because you cannot hear a high-frequency tone. That rule is built into the tool’s safety note because edge-of-range signals create misleading subjective feedback. The dog whistle is not a hearing check or medical device. If hearing or animal health is a concern, use appropriate professional assessment rather than this uncalibrated generator.

Digital Signal, Perceived Sound, and Measured Output

Three ideas should remain separate. The generated digital signal is the oscillator value inside Web Audio. Perceived sound is what a particular listener notices after the entire playback chain. Measured acoustic output is a result from suitable equipment at a defined position. An online dog whistle displays the first, users report the second, and this page does not perform the third.

That distinction explains why two devices can give very different results at identical settings and why a silent-seeming trial proves little. Sample-rate validation prevents an invalid digital request, but only external measurement can characterize level, frequency response, harmonics, or distortion in the room.

Clear answers

Frequently Asked Questions

Can this online dog whistle stop barking?

No result is guaranteed. Training depends on learning history, consistency, reinforcement, context, and the individual dog. This is a signal generator, not an automatic behavior solution.

Why is 22 kHz rejected on some devices?

A 44.1 kHz AudioContext has a 22.05 kHz Nyquist frequency, and the tool reserves a 100 Hz safety margin. On that context, 22 kHz is too close to the boundary.

If I cannot hear the dog whistle, is it safe?

No. Your audibility does not measure acoustic output or another listener’s sensitivity. Never compensate with a sudden volume increase.

Does the page verify ultrasonic speaker output?

No. It validates the digital oscillator against sample rate but has no calibrated microphone feedback. Hardware may roll off below the requested frequency.

How does pulse mode keep its timing?

Pulse onsets and gain envelopes are scheduled against the Web Audio clock. A lightweight look-ahead timer only replenishes a continuous sequence, and Stop cancels future nodes.