| Crates.io | grande-sonnerie |
| lib.rs | grande-sonnerie |
| version | 0.1.0 |
| created_at | 2023-08-07 08:01:17.836482+00 |
| updated_at | 2023-08-07 08:01:17.836482+00 |
| description | 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 Vacheron Constantin and Patek Phillippe |
| homepage | |
| repository | https://github.com/impossibletea/grande-sonnerie |
| max_upload_size | |
| id | 937755 |
| size | 1,107,266 |
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
~/.config/grande-sonnerie: config.toml and casio.toml, as well as
a directory with default coucou movement.
config.tomloffset is responsible for setting timezonesonnerie will load sounds from the directory of the same namemovement will load configuration of the same name for setting chimescasio.tomlgrand is a list of integers on which grand will chimehours is a list of integers that defines hours on which they will be
repeatedhours_div is an integer which allows equally splitiing hours to chime.
hours_div: 3 will make hours chime every third hourminutes similar to hoursminutes_div similar to hours_div, but splits hour into equal parts.
minutes_div: 15 will make minutes chime every quarter-hourtwelve_hour 13th hour will chime one time instead of thirteen etc
(recommended with multichime: true)multichime will make sounds repeat according to hour/minute, see examples
belowconfig.toml:
offset = [0, 0, 0]
sonnerie = 'coucou'
movement = 'casio'
casio.toml:
grand: none
hours: none
hours_div: 1
minutes: none
minutes_div: none
twelve_hour: false
multichime: false
UTC timezone, chimes once every hour with coucou/hour.wav.
config.toml:
offset = [3, 0, 0]
sonnerie = 'coucou'
movement = 'pp'
pp.toml:
grand = [10, 18]
hours_div = 1
minutes_div = 15
twelve_hour = true
multichime = true
UTC+3, chimes:
coucou/grand.wav on 10:00 and 18:00 before everything elsecoucou/hour.wav every hour, repeats according to the hours in 12h formatcoucou/minute.wav every 15 minutes of an hour, repeats according to
quarters of hourSo 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: grand, hour, and minute. Currently only .wav
is supported:
$ ffmpeg -i yoda-death-sound-effect.mp3 grand.wav