.gitignore | ||
main.c | ||
makefile | ||
play_raw_audio.c | ||
play_raw_audio.h | ||
README.md |
Simple command line countdown timer that plays a sound when the time is up.
It is using pulseaudio
s simple API.
installation
install libpulse-dev
(debian based) or libpulse
package depending on your distro
sudo pacman -S libpulse pulseaudio sound-theme-freedesktop
ffmpeg -i /usr/share/sounds/freedesktop/stereo/alarm-clock-elapsed.oga ${HOME}/music/alarm-clock-elapsed.wav
make
sudo make install
usage
countdown 20
uninstalling
sudo make uninstall
TODO
- make alarm clock file wave file configurable
- fix still reachable bytes (still reachable: 42,485 bytes in 97 blocks)?