Plays chime sounds off of the on-board speaker every 15 minutes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matthias Portzel e1b4d9d30e Add missing E 5 months ago
src Add missing E 5 months ago
.gitignore v1.0 5 months ago
README v1.0 5 months ago
build.zig v1.0 5 months ago
chime.service v1.0 5 months ago
chime.timer v1.0 5 months ago
time_test.c v1.0 5 months ago
time_test.zig v1.0 5 months ago


This project uses the Linux's `ioclt` command KDMKTONE to play clock-tower chimes on the internal tty "speaker" every 15 minutes. It needs to be run as root in order to do this.

I wanted to do this because the computer that I use as a server in my room doesn't have a real speaker and I didn't want to buy any hardware to achive my dream of being able to hear a clock tower.

Also, I used this project as an excuse to learn Zig. The Zig code I've written is probably not the nicest way to do things, and I'd welcome feedback on it.

Also included are the Systemd service and timer files that I use to run this script every 15 minutes.
sudo cp chime.* /etc/systemd/system/

This is free and unencumbered software released into the public domain, under the terms of The Unlicense.