home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
xbase
/
library
/
clipper
/
sound
/
mr_ed.prg
next >
Wrap
Text File
|
1988-05-19
|
3KB
|
243 lines
* Mr_Ed.prg
* Frequency.
c = 130.81
c_ = 138.59
d = 145.83
d_ = 155.56
e = 164.81
f = 174.61
f_ = 185.00
g = 196.00
g_ = 207.65
a = 220.00
a_ = 233.08
b = 245.94
c1 = 261.63 && middle C
c1_ = 277.18
d1 = 293.66
d1_ = 311.13
e1 = 329.63
f1 = 349.23
f1_ = 369.99
g1 = 392.00
g1_ = 415.30
a1 = 440.00
a1_ = 466.16
b1 = 493.88
g2 = 783.99
g3 = 1568.00
g4 = 3136.00
* Duration.
speed = 1.45 && constant value for tempo
* Note duration.
wn = 16 * speed && whole note
q3n = 12 * speed && three quarters note
e5n = 10 * speed && five eighths note
hn = 8 * speed && half note
e3n = 6 * speed && three eighths note
qn = 4 * speed && quarter note
s3n = 3 * speed && three sixteenths note
en = 2 * speed && eighth note
sn = 1 * speed && sixteenth note
* Rest duration.
wr = .8 * speed && whole rest
qr3 = .6 * speed && quarter rest
hr = .4 * speed && half rest
qr = .2 * speed && quarter rest
er = .1 * speed && eighth rest
sr = .05 * speed && sixteenth rest
clear
* Song: "Mister Ed".
? " Clipper plays Esber"
?
INKEY(wr)
?
? "Our "
TONE(d1,en)
?? "code "
TONE(g1,en)
?? "is "
TONE(f1_,en)
?? "our "
TONE(e1,en)
?? "code, "
TONE(d1,en)
INKEY(er)
?? "of "
TONE(e1,en)
?? "course, "
TONE(b,en)
INKEY(er)
?? "of "
TONE(d1,en)
?? "course."
TONE(g,en)
INKEY(er)
?
? "And "
TONE(g,en)
?? "no "
TONE(f_,en)
?? "one "
TONE(g,en)
?? "can "
TONE(a,en)
?? "mess "
TONE(b,en)
?? "with "
TONE(c1,en)
?? "our "
TONE(d1,en)
?? "code, "
TONE(e1,qn)
?? "of "
TONE(d1,en)
?? "course."
TONE(c1_,en)
INKEY(er)
?
? "Un"
TONE(d1,en)
?? "less, "
TONE(e1,qn)
?? "of "
TONE(d1,en)
?? "course, "
TONE(f1,en)
INKEY(er)
?? "the "
TONE(d1,en)
?? "code "
TONE(f1_,qn)
?? "is "
TONE(d1,en)
?? "source,"
TONE(g1,en)
?
? "and "
TONE(d1,en)
?? "it "
TONE(e1,en)
?? "came "
TONE(a1,qn)
?? "from "
TONE(g1,en)
?? "Mis"
TONE(f1_,qn)
?? "ter "
TONE(a1,en)
?? "Ed."
TONE(g1,hn)
INKEY(er)
* Second verse...
?
?
? "So, "
TONE(d1,en)
?? "go "
TONE(g1,en)
?? "right "
TONE(f1_,en)
?? "to "
TONE(e1,en)
?? "Ed "
TONE(d1,en)
?? "if "
TONE(d1,en)
?? "you "
TONE(e1,en)
?? "want "
TONE(b,en)
INKEY(er)
?? "the "
TONE(d1,en)
?? "source."
TONE(g,en)
INKEY(er)
?
? "And "
TONE(g,en)
?? "bring "
TONE(f_,en)
?? "him "
TONE(g,en)
?? "a "
TONE(a,en)
?? "check "
TONE(b,en)
INKEY(er)
* ? "/// "
* TONE(c1,en)
?? "that "
TONE(d1,en)
?? "he'll "
TONE(e1,qn)
?? "en"
TONE(d1,en)
?? "dorse."
TONE(c1_,en)
INKEY(er)
?
? "Or "
TONE(d1,en)
?? "else "
TONE(e1,qn)
?? "he'll "
TONE(d1,en)
?? "say, "
TONE(f1,en)
INKEY(er)
?? ["You've ]
TONE(d1,en)
?? "made "
TONE(f1_,qn)
?? "my "
TONE(d1,en)
?? [day"]
TONE(g1,en)
?
? "He's "
TONE(d1,en)
?? "the "
TONE(e1,en)
?? "fa"
TONE(a1,qn)
?? "mous "
TONE(g1,en)
?? "Mis"
TONE(f1_,qn)
?? "ter "
TONE(a1,en)
?? "Ed."
TONE(g1,hn)
?
?
?
* eof