Skip to content

Instantly share code, notes, and snippets.

@JackZielke
Last active February 19, 2022 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JackZielke/9f930d82a3776d8b0f9cebe311310300 to your computer and use it in GitHub Desktop.
Save JackZielke/9f930d82a3776d8b0f9cebe311310300 to your computer and use it in GitHub Desktop.
Play Westminster Quarters / Cambridge Quarters and top of hour chimes via cron
This file has been truncated, but you can view the full file.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

@JackZielke
Copy link
Author

It looks like 1 big file prevents viewing the small files. crontab is 218 bytes and hour.sh is 261 bytes but both say "we can’t show files that are this big right now". Maybe that will get fixed at some point.

@JackZielke
Copy link
Author

crontab and hour.sh expect the audio files to be in $HOME/chimes/ If you place them somewhere else you will need to edit crontab and hour.sh.
The WAV files were recorded from a grandfather clock. I do not know who made the clock.

The 15, 30, and 45 just play at that time. The hour starts 1 minute early at x:59 so that the first chime strike can be at the top of the hour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment