Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;this is a tltle
- #Title The Legend of Zelda Title Theme
- ;this is the composer's name
- #Composer Koji Kondo
- ;this is the arranger's name
- #Arranger pedipanol
- ;these are the options for the compiler. /v makes it load the instruments from this MML file instead of a separate one and /c makes it calculate the length of the song in bytes (really useful)
- #Option /v/c
- ;this change the compiled file's extension, makes no actual difference, but .M2 is prefered for OPNA and .M is prefered for OPN. if you don't specify this, it'l output a M file automatically
- #Filename .M2
- ;this is for instrument definitions that uses the DT2Flag. if you don't use it, those instruments will sound screwed up.
- #DT2Flag on
- ;this determines the tempo
- #Tempo 90
- ; Channels and volume control
- ; ABCDEF - FM Channels | GH - SSG | K - Rhythm Sound Source
- ABCDEFGHK DF30 DS12 DR20
- ; FM instrument definitions, stolen from MovieMovies1 shamelessly
- @0 2 7 =brass
- 14 14 0 15 1 24 2 0 3 0 0
- 14 14 0 15 15 50 2 7 3 0 0
- 13 14 0 15 1 39 2 0 3 0 0
- 19 3 0 15 0 17 1 0 3 0 0
- @1 0 4 =metalbass
- 31 7 7 15 2 20 3 6 6 0 0
- 31 6 6 15 1 55 3 5 6 0 0
- 31 9 6 15 1 15 2 0 6 0 0
- 31 6 8 15 15 21 2 1 6 0 0
- @2 4 5 27 6 11 4 10 35 0 12 7 0 0 30 7 1 6 15 0 0 4 0 0 0 27 6 11 4 10 35 0 12 0 0 0 30 7 1 6 15 0 0 4 3 0 0
- @3 4 7 25 0 0 2 0 30 3 4 3 0 0 23 2 0 7 3 0 0 4 3 0 0 25 0 0 2 0 31 3 2 7 0 0 22 2 0 7 3 0 0 4 7 0 0
- ; Yay the song
- ; CH1
- ; cdefgab are the notes, + adds a semitone
- ; l sets default note lenght, based on the BPM, 1 = semibreve/whole note, 2 = minim/half note. 4 = crotchet/quarter note
- ; o sets the octave
- ; V sets the volume (1-127)
- ; @ sets the instrument
- A l1 o4 V100 @3
- ; L makes the song loop from that point
- ; % set the note length using ticks [DON'T DO IT LIKE ME, YOU CAN USE THE & COMMAND TO MAKE EXTENDING LENGTHS EASIER, BUT I DIDN'T KNOW THAT WHEN I MADE THIS SONG]
- ; %192 Double whole note %96 - Whole note %48 - Half note %24 - Quarter note %12 - Eighth note %6 - Sixteenth note %3 - Thiry-second note
- ; >< increases/decreases the octave
- A L a+%120f4f4a+4g+8f+8g+%168
- A a+%120f+4f+4a+4a8g8a%168
- ; r is a note-off
- A r%192r%192r%192r%192r%192r%192
- A a+2f2r4a+4a+8>c8d8d+8fr4f4f6f+6g+6
- A a+r6r6a+6a+6g+6f+6g+3f+6ff2
- A d+4d+8f8f+f4d+4c+4c+8d+8fd+4c+4
- A c4c8d8eg2f8r8<f8f8f8r8f8f8f8r8f8f8f4f4
- A a+2f2r4a+4a+8>c8d8d+8fr4f4f6f+6g+6
- A a+%144>c+2c4r4<af2
- ; [] makes the part between the brackets loop, adding a number right after it sets how many times it will loop [if no number is added, it'll loop infinitely]
- ; : breaks the loop, on the last time it loops, it'll jump to the part right after the brackets
- A [f+%144a+2a4r4f:f2]2d2
- A d+%144f+2f4r4c+<a+2
- A >c4c8d8eg2f8r8<f8f8f8r8f8f8f8r8f8f8f4f4
- ; CH2
- B l1 o4 V100 @3
- B L d%120d4d4d4c8<b+8>c%168
- B c+%120<a+4a+4>c+4c8<b+8>c%168
- B r%192r%192
- B [a+2f2r4a+4a+8>c8d8d+8fr]2
- B <d2d6d6c6d4r8d8d8d+8f8g8g+r2g+6a+6>c6
- B <f+4r8f+8f+8g+8a+8>c8c+4r8c+8c+6c6<a+6>c+4r<8a+8g+6g+6f+6g+3g+6g+6f+6g+6
- B f+4f+8f8f+4f+8g+8a+2g+4f+4f4f8d+8f4f8f+8g+2f+4f4e2e4e8f8g4g8a8a+4>c4<<a4a8a8g+4g+8g+8g4g8g8f+4f+8f+8
- B >d2d6d6c6d4r8d8d8d+8f8g8g+r2g+6a+6>c6
- B c+%144e2d+2c<a2
- B <[<e12r12a+12r12>c+12r12e12r12a+12r12>c+12r12e4r2r4f4r4<f12r12f12r12f12r12f4r2r4]2
- B >f+%144b2a+4r4fc+2
- B e2e4e8f8g4g8a8a+4>c4<<a4a8a8g+4g+8g+8g4g8g8f+4f+8f+8
- ; CH3
- C l2 o1 V100 @3
- C L a+%192g+%192
- C f+%192f%192
- C l8 [>frf<a+>frf<a+>frf<a+>f<a+>f<a+]3
- C >d+rd+<g+>d+rd+<g+>d+rd+<g+>d+<g+>d+<g+
- C >c+rc+<f+>c+rc+<f+>c+rc+<f+>c+<f+>c+<f+>crc<f>crc<f>crc<f>c<f>c<f
- C >frf<a+>frf<a+>frf<a+>f<a+>f<a+>d+rd+<g+>d+rd+<g+>d+rd+<g+>d+<g+>d+<g+
- C >c+rc+<f+>c+rc+<f+>c+rc+<f+>c+<f+>c<f+>g+rg+c+g+rg+c+g+rg+c+g+c+g+c+
- C f+rf+<b>f+rf+<b>f+rf+<b>f+<b>f+<b>frf<a+>frf<a+>frf<a+>f<a+>f<a+
- C >erecerecerecececfrfcfrfcfrfcfcfc
- C frf<a+>frf<a+>frf<a+>f<a+>f<a+>d+rd+<g+>d+rd+<g+>d+rd+<g+>d+<g+>d+<g+
- C >c+rc+<f+>c+rc+<f+>c+rc+<f+>c+<f+>c+<f+>crc<f>crc<f>crc<f>c<f>c<f
- C [>c+rc+<e>c+rc+<e>c+rc+<e>c+<e>c+<e>crc<f>crc<f>crc<f>c<f>c<f]2
- C >f+rf+<b>f+rf+<b>f+rf+<b>f+<b>f+<b>frf<a+>frf<a+>frf<a+>f<a+>f<a+
- C >erecerecerecececfrfcfrfcfrfcfcfc
- ; CH4
- D l2 o4 V90 @2
- D L rfa+%96rd+g+%96
- D rc+f+%96rcf%96
- D [c+r]4
- D [ra+frr4a+4a+8>c8d8d+8fr]2
- D r2r2r2r2r4r8<a+8a+8>c8d8d+8f1
- D r2<f+8g+8a+8>c8c+r2r2c+6c+6d+f[r]16
- D r2r6r2r2r2r4r8<a+8a+8>c8d8d+8f1
- D r%192r%192r%192r%192r%192r%192r%192r%192r%192r%192
- ; CH5
- E l8 o3 V120 @1
- E L r%192r%192r%192r%192
- E [a+ra+a+]12[g+rg+g+]4
- E [f+rf+f+]4[frff]4
- E [a+ra+a+]4[g+rg+g+]4
- E [f+rf+f+]4>[c+rc+c+]4
- E <[brbb]4[a+ra+a+]4
- E >[crcc]4fr<ff[fr:ff]3<aa+
- E [a+ra+a+]4[g+rg+g+]4
- E [f+rf+f+]4[frff]4
- E [e+ree]4[frff]4[e+ree]4[frff]4
- E [brbb]4 [a+ra+a+]4
- E >[crcc]4fr<ff[fr:ff]3<aa+
- ; SSG
- ; P sets what sound the SSG channel will play, P1 = square wave, P2 = noise, P3 = both
- ; E sets the volume envelope [E ar , dr , sr , rr , sl {, at}]
- G P2 w1 E31,26,24,20,18 l8 V120
- G Lr%192r%192r%192r%192
- G [grgg]104
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement