Giter Club home page Giter Club logo

wwv's Introduction

Note: this repository was originally posted as ka9q/WWV, but the original repository is gone.

WWV

WWV/WWVH emulator. Full format including 100 Hz timecode. Speech using bundled voice data from kalafut's WWV simulator.

This started as a quick hack but ended up fully functional. The program generates raw 16-bit linear PCM mono audio at a 16 kHz sample rate on standard output. So to hear it, pipe it into your local audio player, e.g.,

# for Linux
wwvsim | aplay
# for macOS with sox
wwvsim | ./wwvsim | play -t raw -b 16 -e signed-integer -r 16000 -c 1 -

Or for the WWVH format:

# for Linux
wwvsim -H | aplay
# for macOS with sox
wwvsim -H | ./wwvsim | play -t raw -b 16 -e signed-integer -r 16000 -c 1 -

Without arguments, it generates a WWV program using your local computer's clock. Run wwvsim with a bogus argument, e.g., 'wwvsim -?' to get a list of command line arguments.

The program relies on pre-generated speech audio to make the announcements.

The program tries to synchronize the output to the correct time but there are invariably errors due to buffering in your computer's audio system. It also relies on the accuracy of your computer's clock, which should be controlled by the Network Time Protocol. So this program is really a novelty; don't use it for anything really precise. That's what the original WWV and WWVH are for!

Build

Just run make -j4. It will take a while for the pre-generated voice data to be compiled in.

Hourly program details

In addition to the time and station ID, there are other announcments made throughout every hour.

  • HamSCI announcement on minute 3 on WWVH and minute 4 of WWV
  • HamSCI test signal on minute 8 on WWV and minute 48 of WWVH
  • DoD M.A.R.S. announcements on minute 10 of WWV and minute 50 on WWVH (currently not used)
  • Geophysical alerts on minute 18 of WWV and minute 45 on WWVH
  • Telephone availability for WWVH on minutes 47 & 52

wwv's People

Contributors

anthony96922 avatar jj1bdx avatar ka9q avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.