1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/beep.md

25 lines
673 B
Markdown
Raw Normal View History

2016-11-21 07:51:58 +00:00
# beep
2016-11-21 00:50:22 -07: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 00:50:22 -07: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:
`beep -f {{frequency}} -l {{duration}} {{[-n|--new]}} -f {{frequency}} -l {{duration}}`
2016-11-21 00:50:22 -07:00
- Play the C major scale:
`beep -f {{262}} {{[-n|--new]}} -f {{294}} {{[-n|--new]}} -f {{330}} {{[-n|--new]}} -f {{349}} {{[-n|--new]}} -f {{392}} {{[-n|--new]}} -f {{440}} {{[-n|--new]}} -f {{494}} {{[-n|--new]}} -f {{523}}`