tldr/pages/linux/beep.md
2016-11-21 07:51:58 +00:00

24 lines
487 B
Markdown

# beep
> A utility to beep the PC speaker.
- 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 -f {{frequency} -l {{duration}}`
- Play the C major scale:
`beep -f 262 -n -f 294 -n -f 330 -n -f 349 -n -f 392 -n -f 440 -n -f 494 -n -f 523`