parks.sh

10th February 2016 at 12:22am
Bash CodeSnippets libmusic.sh Music

This plays the Parks & Recreation title theme tune melody using my libmusic.sh library.

Some of the notes are a bit off because I can't ready sheet music very well. I will try and get this fixed soon though.

#/bin/bash

TEMPO=116
BREATH=50
DEBUG=1

source libmusic.sh

play <<EOM
REST 1/2
C3 1/2
REST

G2 1/2
C3 1/2
REST

REST 1/2
C3 1/2
REST

G2 1/2
D3 1/2
E3 1/4
D3 1/4
C3 1/4
A2 1/4

REST
E4 1/4
D4 1/4
C4 1/4
F4 1/4

REST
F4 1/4
E4 1/4
D4 1/4
E4 1/4

REST
E4 1/4
D4 1/4
C4 1/4
D4 1/4

REST
D4 1/4
C4 1/4
B4 1/4
C4 1/4

REST
E4 1/4
D4 1/4
C4 1/4
F4 1/4

REST 1/2
F4 1/2
F4 1/4
E4 1/4
C4 1/4
E4 1/4

REST 1/2
E4 1/2
E4 1/4
D4 1/4
C4 1/4
G#3 1/4

REST
G#3 1/4
A4 1/4
B4 1/4
A4 1/4

REST 1/2
A4 1/2
A4 1/4
B4 1/4
C4 1/4
F3 1/4

REST 1/2
F3 1/2
F3 1/4
G3 1/4
A4 1/2

G3 1/4
A4 1/4
B4 1/4
C4 1/4
D4 1/4
E4 1/4
F4 1/4
A5 1/4

G4 1/2
F4 1/2
E4 1/2
D4 1/2

G4
G4

F4
F4

E4
E4

D4
D4

REST
E4 1/4
D4 1/4
C4 1/4
F4 1/4

REST 1/2
F4 1/2
F4 1/4
E4 1/4
D4 1/4
G#3 1/4

REST 1/2
G#3 1/2
G3 1/4
A4 1/4
B4 1/4
A4 1/4

REST 1/2
A4 1/2
A4 1/4
B4 1/4
C4 1/4
F3 1/4

REST 1/2
F3 1/2
F3 1/4
G3 1/4
A4 1/4
G3 1/4

REST 1/2
G3 1/2
G3 1/4
A4 1/4
B4 1/4
E3 1/4

REST 1/2
E3 1/2
E3 1/4
F3 1/4
G3 1/4
A4 1/4

REST 1/2
A4 1/2
A4 1/4
B4 1/4
C4 1/4
F3 1/4

REST 1/2
F3 1/2
F3 1/4
G3 1/4
A4 1/2

C3 1/2
REST 1/2
A3 1/2
REST 1/2

C3 1/2
REST 1/2
REST
EOM