1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:18:13 +00:00

Kernel+Userland: Add option for duration of /dev/beep producing sound

This commit is contained in:
Liav A 2023-08-25 20:26:18 +03:00 committed by Tim Schumacher
parent 1b00618fd9
commit 26f96d2a42
6 changed files with 13 additions and 5 deletions

View file

@ -15,6 +15,7 @@ beep allows the user to beep the PC speaker.
## Options
* `-f frequency`, `--beep-tone frequency`: Beep tone (frequency in Hz)
* `-n N`, `--duration N`: Duration (N in milliseconds)
## Notes
@ -28,6 +29,8 @@ will fail to use the PC speaker.
$ beep
# Use beep with tone of 1000Hz
$ beep -f 1000
# Use beep with tone of 1000Hz for 1 second
$ beep -f 1000 -n 1000
```
## See also