jordial / datimprint

Datimprintâ„¢ software for data statistics, fingerprint, and verification.
0 stars 0 forks source link

Ability to beep when finished. #15

Open garretwilson opened 2 years ago

garretwilson commented 2 years ago

Generating and checking imprints can take a while (e.g. an hour or two or more). It may be helpful for the user to be notified that the operation is finished by playing a beep of some sort. Add an option to play a beep when finished.

garretwilson commented 2 years ago

Emit a beep notes three ways to emit a sound. For a CLI the simple ASCII bell may be the best approach. However see also How to play a sound with a given sample rate in Java? for how to emit a tone at the chosen frequency.

garretwilson commented 2 years ago

This would probably be best placed in the base CLI library as a picocli mixin so that CLI applications could easily use it as needed.