|0.1.0||Aug 7, 2023|
#256 in Audio
The goal of this app is to provide hour and minute repeater on your PC in the same way that is found in such watches as Casio (everyone knows their hourly beep-beep), Vacheron Constantin and Patek Phillippe.
$ cargo install grande-sonnerie
Upon first launch two default config files will be created in
casio.toml, as well as
a directory with default
offsetis responsible for setting timezone
sonneriewill load sounds from the directory of the same name
movementwill load configuration of the same name for setting chimes
grandis a list of integers on which
hoursis a list of integers that defines hours on which they will be repeated
hours_divis an integer which allows equally splitiing hours to chime.
hours_div: 3will make hours chime every third hour
hours_div, but splits hour into equal parts.
minutes_div: 15will make minutes chime every quarter-hour
twelve_hour13th hour will chime one time instead of thirteen etc (recommended with
multichimewill make sounds repeat according to hour/minute, see examples below
offset = [0, 0, 0] sonnerie = 'coucou' movement = 'casio'
grand: none hours: none hours_div: 1 minutes: none minutes_div: none twelve_hour: false multichime: false
UTC timezone, chimes once every hour with
My personal config
offset = [3, 0, 0] sonnerie = 'coucou' movement = 'pp'
grand = [10, 18] hours_div = 1 minutes_div = 15 twelve_hour = true multichime = true
coucou/grand.wavon 10:00 and 18:00 before everything else
coucou/hour.wavevery hour, repeats according to the hours in 12h format
coucou/minute.wavevery 15 minutes of an hour, repeats according to quarters of hour
So at 18:00 it will chime Grand, then Hour six times. At 18:45 it will just chime Minutes three times (45 is 3/4 of an hour).
Three sounds are expected:
minute. Currently only
$ ffmpeg -i yoda-death-sound-effect.mp3 grand.wav
- Implement arrays of sounds to play consecutively (Westminster chimes)
- Change CPU-eating sound implementation to something more sane
- Actual repeater (press a button to hear time)