Compare commits

...

1 Commits

Author SHA1 Message Date
Job Bautista be57637aa8 Added Tagalog, sped up the tempo a bit 2020-11-02 11:49:44 +08:00
2 changed files with 67 additions and 3 deletions

68
hbd.sh
View File

@ -18,7 +18,7 @@ function hb {
sleep 0.25
}
sleep 0.5
sleep 0.55
hb
printf "to "
sleep 0.5
@ -36,7 +36,7 @@ hb
printf "\n""Ha"
sleep 0.5
printf "p"
sleep 0.5
sleep 0.25
printf "py "
sleep 0.25
printf "birth"
@ -48,5 +48,69 @@ sleep 0.5
printf "you!""\n\n"
sleep 1
function mgb {
printf "Ma"
sleep 0.5
printf "li"
sleep 0.25
printf "gaya"
sleep 0.25
}
mgb
printf "ng "
sleep 0.25
printf "ba"
sleep 0.25
printf "ti!""\n"
sleep 1
mgb
printf "ng "
sleep 0.25
printf "ba"
sleep 0.25
printf "ti!""\n"
sleep 1.2
mgb
printf "\n"
mgb
printf "\n""Ma"
sleep 0.5
printf "l"
sleep 0.25
printf "i"
sleep 0.25
printf "gaya"
sleep 0.25
printf "ng "
sleep 0.25
printf "ba"
sleep 0.25
printf "ti!""\n"
sleep 1.2
mgb
printf "\n"
mgb
printf "\n""Ma"
sleep 0.5
printf "l"
sleep 0.25
printf "i"
sleep 0.25
printf "gaya"
sleep 0.25
printf "ng "
sleep 0.25
printf "ba"
sleep 0.25
printf "ti!"
sleep 1
printf "\n""\n"
sleep 0.5
echo "Happy $AGE birthday $NAME!"
echo "Written by Job Bautista"

View File

@ -49,7 +49,7 @@ function note { # $1 = pitch (Hz) $2 = duration (bytes)
}
# Smaller value = faster tempo
declare -r TEMPO=800
declare -r TEMPO=750
function tune { # $1 = List of notes in the format pitch(Hz):duration(note)
for n in $1 ; do