From 6877adf7c5d15e5a35370afe80e702a826b6dbe8 Mon Sep 17 00:00:00 2001 From: kalebo Date: Mon, 21 Nov 2016 00:50:22 -0700 Subject: [PATCH] beep: add page (#1145) --- pages/linux/beep.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/linux/beep.md diff --git a/pages/linux/beep.md b/pages/linux/beep.md new file mode 100644 index 0000000000..188fc81d8e --- /dev/null +++ b/pages/linux/beep.md @@ -0,0 +1,23 @@ +# 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`