gitwtfhub

wtf is wwvb-emulator?

gourdo1/wwvb-emulator — explained in plain English

Analysis updated 2026-05-18

0PythonAudience · generalComplexity · 3/5LicenseSetup · moderate

TL;DR

A tool that fakes the WWVB radio time signal using a computer's headphone jack, letting radio-controlled clocks and watches sync without the real broadcast.

Mindmap

mindmap
  root((WWVB emulator))
    What it does
      Fakes WWVB time signal
      Uses audio harmonics
      Syncs clocks and watches
    Tech stack
      Python
      Sound card
      Wired headphones
    Use cases
      Sync a clock manually
      Test fixed times
      Render to WAV
    Audience
      Hobbyists
      Makers
      Python users
    Setup
      pip install
      Windows exe build

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Sync a radio-controlled clock or watch when you are out of range of the real WWVB broadcast.

REASON 2

Test how a WWVB receiver behaves by transmitting a fixed date and time.

REASON 3

Render a WWVB-style time signal to a WAV file to inspect it in audio software.

What's in the stack?

Python

How it stacks up

gourdo1/wwvb-emulator0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audiencegeneralgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires very high system volume and careful coil positioning next to the clock's antenna.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

Wtf does this do

WWVB Emulator is a small Python tool that tricks radio-controlled clocks and watches into setting their own time without needing the real WWVB radio broadcast from Fort Collins, Colorado. Those clocks normally listen for a low frequency radio signal to sync automatically, and this project fakes that signal using nothing more than a computer's headphone jack and a pair of ordinary wired earbuds. The trick works because playing a very loud 20 kHz tone through a sound card creates a small amount of natural distortion, and that distortion produces a faint extra tone at 60 kHz, the exact frequency WWVB uses. Coiling the headphone cable into a small loop and holding it close to the clock's antenna lets that faint signal reach the clock magnetically, in the same way a transformer passes current between two coils without touching. A clock or watch typically locks onto the fake signal within three to ten minutes once the loop is positioned correctly. To use it, someone installs the tool with Python's pip, plugs in wired headphones, turns the system volume up very high, and turns off any audio enhancement settings that could distort the tone in unwanted ways. The program offers several command line options, such as choosing a specific audio output device, shifting the encoded time to make up for lag, or rendering the signal to a WAV file instead of playing it live. It can also transmit a fixed test time or produce a true 60 kHz signal directly on audio hardware that supports very high sample rates. The README includes detailed troubleshooting notes, pointing out that some clean USB audio devices do not distort enough to work, while cheaper built in sound cards often perform better. It also explains that positioning and distance matter a lot, since the magnetic coupling weakens quickly as the loop moves away from the clock. The project can also be packaged into a standalone Windows executable using PyInstaller, so it runs on a computer with no Python installed. It is released under the MIT license.

Yoink these prompts

Prompt 1
Explain how the WWVB-emulator project uses audio harmonics to fake a 60kHz time signal.
Prompt 2
Help me install WWVB-emulator on Windows using the pip steps in the README.
Prompt 3
Show me how to use the --time and --zone options in WWVB-emulator to transmit a specific test time.
Prompt 4
Help me troubleshoot why my radio-controlled watch will not lock onto the WWVB-emulator signal.

Frequently asked questions

wtf is wwvb-emulator?

A tool that fakes the WWVB radio time signal using a computer's headphone jack, letting radio-controlled clocks and watches sync without the real broadcast.

What language is wwvb-emulator written in?

Mainly Python. The stack also includes Python.

What license does wwvb-emulator use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is wwvb-emulator to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is wwvb-emulator for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.