It is currently Fri Nov 27, 2020 11:34 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: WWV Ticks
PostPosted: Wed Mar 25, 2020 5:35 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Oct 24, 2005 1:05 pm
Posts: 739
Here is a silly little program.

It emulates the "ticks" of WWV, the U.S. standard time and frequency radio station. All you need to do is make a wav file consisting of 5 cycles of a 1,000 Hz sine wave. My wav file has a sample rate of 100,000 Hz to make it easier to check the calibration. Of course this is only an approximation of the true time and frequency. Sorry, I do not have ready access to a cesium-fountain clock so I'll have to settle for an approximation. :D

Quote:
WWV transmits audio "ticks" once per second, to allow for accurate manual clock synchronization. These ticks are always transmitted, even during voice announcements and silent periods. Each tick begins on the second, lasts 5 ms and consists of 5 cycles of a 1000 Hz sine wave.


Code:
InitSound()
result = LoadSound(1, "D:\Data\Radio\WWV tick 100000.wav"); 5 CYCLES @ 1000 Hz; 100,000 Hz SAMPLE RATE
;Debug result
Repeat
PlaySound(1,0,100);TICK IS 5 ms IN DURATION
Delay(990)
ForEver


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye