4 stable releases

1.0.3 Jan 31, 2023
1.0.1 Jan 30, 2023

#277 in Windows APIs

MIT/Apache

7KB

crates.io

Causes a beeping sound on Windows with a given frequency and duration (used API). Blocks the thread while beeping. System sounds must not be muted for the beep to be audible.

Usage

win_beep::beep_with_hz_and_millis(1000, 100);

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~21–29MB
~384K SLoC