Skip to content

Instantly share code, notes, and snippets.

@max-m
Created January 20, 2012 22:21
Show Gist options
  • Save max-m/1649953 to your computer and use it in GitHub Desktop.
Save max-m/1649953 to your computer and use it in GitHub Desktop.
The Legend of Zelda - Secret Chime
#!/bin/sh
BEEP="/usr/bin/beep"
A3="-f220"
AS3="-f233.08"
B3="-f246"
C4="-f261"
CS4="-f277.18"
D4="-f293"
DS4="-f311.13"
E4="-f329"
F4="-f349"
FS4="-f369.99"
G4="-f392"
GS4="-f415.30"
A4="-f440"
AS4="-f466.16"
B4="-f493"
C5="-f523"
FN="-l500"
HN="-l250"
DN="-l1000"
NN="-n"
SONG="
$G4 -l140 $NN
$FS4 -l140 $NN
$DS4 -l140 $NN
$A4 -l140 $NN
$GS4 -l140 $NN
$E4 -l140 $NN
$GS4 -l140 $NN
$C5 -l250"
$BEEP $SONG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment