tldr/pages/linux/beep.md

25 lines
577 B
Markdown
Raw Normal View History

2016-11-21 07:51:58 +00:00
# beep
2016-11-21 07:50:22 +00:00
2016-11-21 07:51:58 +00:00
> A utility to beep the PC speaker.
> More information: <https://github.com/spkr-beep/beep>.
2016-11-21 07:50:22 +00:00
- Play a beep:
`beep`
- Play a beep that repeats:
`beep -r {{repetitions}}`
- Play a beep at a specified frequency (Hz) and duration (milliseconds):
`beep -f {{frequency}} -l {{duration}}`
- Play each new frequency and duration as a distinct beep:
2018-11-04 11:30:35 +00:00
`beep -f {{frequency}} -l {{duration}} -n -f {{frequency}} -l {{duration}}`
2016-11-21 07:50:22 +00:00
- Play the C major scale:
2021-10-14 09:48:22 +01:00
`beep -f {{262}} -n -f {{294}} -n -f {{330}} -n -f {{349}} -n -f {{392}} -n -f {{440}} -n -f {{494}} -n -f {{523}}`