History

credit original author

robs committed 18 years ago

Commit a2cfb2e1 parent 61f03a61 file · +3 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/alert.sh+3−1
@@ -1,5 +1,7 @@
11 #!/bin/sh
22
3+# Thanks to Reynir H. Stefánsson for the original version of this script.
4+
35 # In marine radio, a Mayday emergency call is transmitted preceded by a
46 # 30-second alert sound. The alert sound comprises two audio tones at
57 # 1300Hz and 2100Hz alternating at a rate of 4Hz. This script shows how SoX
@@ -41,6 +43,6 @@ while [ $iterations -ge 1 ]; do · 35 unmodified lines
4143 done
4244
4345 $SOX -c 1 -r 8000 alert.ul alert.au # Add a file header
44−rm 2tones.ul alert.ul # Tidy up intermediate files
46+rm 2tones.ul alert.ul # Tidy up intermediate files
4547
4648 $PLAY alert.au

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t