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:
parent
1b00618fd9
commit
26f96d2a42
6 changed files with 13 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue