1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

Kernel+Userland: Add support for using the PCSpeaker with various tones

This commit is contained in:
Liav A 2023-03-01 22:05:04 +02:00 committed by Sam Atkins
parent 2d27c98659
commit 11a7e21c2a
9 changed files with 26 additions and 12 deletions

View file

@ -12,6 +12,10 @@ $ beep
beep allows the user to beep the PC speaker.
## Options
* `-f|--beep-tone`: Beep tone (frequency in Hz)
## Notes
If the user disabled the usage of PC speaker in the kernel commandline, the program
@ -20,7 +24,10 @@ will fail to use the PC speaker.
## Examples
```sh
# Use beep with default tone
$ beep
# Use beep with tone of 1000Hz
$ beep -f 1000
```
## See also