Advertisement
pedipanol

Zelda 1 title theme pmd mml

Dec 22nd, 2015
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.83 KB | None | 0 0
  1. ;this is a tltle
  2. #Title The Legend of Zelda Title Theme
  3. ;this is the composer's name
  4. #Composer Koji Kondo
  5. ;this is the arranger's name
  6. #Arranger pedipanol
  7. ;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)
  8. #Option /v/c
  9. ;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
  10. #Filename .M2
  11. ;this is for instrument definitions that uses the DT2Flag. if you don't use it, those instruments will sound screwed up.
  12. #DT2Flag on
  13. ;this determines the tempo
  14. #Tempo 90
  15.  
  16. ; Channels and volume control
  17. ; ABCDEF - FM Channels | GH - SSG | K - Rhythm Sound Source
  18. ABCDEFGHK DF30 DS12 DR20
  19.  
  20. ; FM instrument definitions, stolen from MovieMovies1 shamelessly
  21.  
  22. @0 2 7 =brass
  23. 14 14 0 15 1 24 2 0 3 0 0
  24. 14 14 0 15 15 50 2 7 3 0 0
  25. 13 14 0 15 1 39 2 0 3 0 0
  26. 19 3 0 15 0 17 1 0 3 0 0
  27.  
  28. @1 0 4 =metalbass
  29. 31 7 7 15 2 20 3 6 6 0 0
  30. 31 6 6 15 1 55 3 5 6 0 0
  31. 31 9 6 15 1 15 2 0 6 0 0
  32. 31 6 8 15 15 21 2 1 6 0 0
  33.  
  34. @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
  35.  
  36. @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
  37.  
  38. ; Yay the song
  39.  
  40. ; CH1
  41.  
  42. ; cdefgab are the notes, + adds a semitone
  43. ; l sets default note lenght, based on the BPM, 1 = semibreve/whole note, 2 = minim/half note. 4 = crotchet/quarter note
  44. ; o sets the octave
  45. ; V sets the volume (1-127)
  46. ; @ sets the instrument
  47. A l1 o4 V100 @3
  48. ; L makes the song loop from that point
  49. ; % 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]
  50. ; %192 Double whole note %96 - Whole note %48 - Half note %24 - Quarter note %12 - Eighth note %6 - Sixteenth note %3 - Thiry-second note
  51. ; >< increases/decreases the octave
  52. A L a+%120f4f4a+4g+8f+8g+%168
  53. A a+%120f+4f+4a+4a8g8a%168
  54. ; r is a note-off
  55. A r%192r%192r%192r%192r%192r%192
  56. A a+2f2r4a+4a+8>c8d8d+8fr4f4f6f+6g+6
  57. A a+r6r6a+6a+6g+6f+6g+3f+6ff2
  58. A d+4d+8f8f+f4d+4c+4c+8d+8fd+4c+4
  59. A c4c8d8eg2f8r8<f8f8f8r8f8f8f8r8f8f8f4f4
  60. A a+2f2r4a+4a+8>c8d8d+8fr4f4f6f+6g+6
  61. A a+%144>c+2c4r4<af2
  62. ; [] 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]
  63. ; : breaks the loop, on the last time it loops, it'll jump to the part right after the brackets
  64. A [f+%144a+2a4r4f:f2]2d2
  65. A d+%144f+2f4r4c+<a+2
  66. A >c4c8d8eg2f8r8<f8f8f8r8f8f8f8r8f8f8f4f4
  67.  
  68. ; CH2
  69.  
  70. B l1 o4 V100 @3
  71. B L d%120d4d4d4c8<b+8>c%168
  72. B c+%120<a+4a+4>c+4c8<b+8>c%168
  73. B r%192r%192
  74. B [a+2f2r4a+4a+8>c8d8d+8fr]2
  75. B <d2d6d6c6d4r8d8d8d+8f8g8g+r2g+6a+6>c6
  76. 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
  77. B f+4f+8f8f+4f+8g+8a+2g+4f+4f4f8d+8f4f8f+8g+2f+4f4e2e4e8f8g4g8a8a+4>c4<<a4a8a8g+4g+8g+8g4g8g8f+4f+8f+8
  78. B >d2d6d6c6d4r8d8d8d+8f8g8g+r2g+6a+6>c6
  79. B c+%144e2d+2c<a2
  80. B <[<e12r12a+12r12>c+12r12e12r12a+12r12>c+12r12e4r2r4f4r4<f12r12f12r12f12r12f4r2r4]2
  81. B >f+%144b2a+4r4fc+2
  82. B e2e4e8f8g4g8a8a+4>c4<<a4a8a8g+4g+8g+8g4g8g8f+4f+8f+8
  83.  
  84. ; CH3
  85.  
  86. C l2 o1 V100 @3
  87. C L a+%192g+%192
  88. C f+%192f%192
  89. C l8 [>frf<a+>frf<a+>frf<a+>f<a+>f<a+]3
  90. C >d+rd+<g+>d+rd+<g+>d+rd+<g+>d+<g+>d+<g+
  91. C >c+rc+<f+>c+rc+<f+>c+rc+<f+>c+<f+>c+<f+>crc<f>crc<f>crc<f>c<f>c<f
  92. C >frf<a+>frf<a+>frf<a+>f<a+>f<a+>d+rd+<g+>d+rd+<g+>d+rd+<g+>d+<g+>d+<g+
  93. 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+
  94. C f+rf+<b>f+rf+<b>f+rf+<b>f+<b>f+<b>frf<a+>frf<a+>frf<a+>f<a+>f<a+
  95. C >erecerecerecececfrfcfrfcfrfcfcfc
  96. C frf<a+>frf<a+>frf<a+>f<a+>f<a+>d+rd+<g+>d+rd+<g+>d+rd+<g+>d+<g+>d+<g+
  97. C >c+rc+<f+>c+rc+<f+>c+rc+<f+>c+<f+>c+<f+>crc<f>crc<f>crc<f>c<f>c<f
  98. 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
  99. C >f+rf+<b>f+rf+<b>f+rf+<b>f+<b>f+<b>frf<a+>frf<a+>frf<a+>f<a+>f<a+
  100. C >erecerecerecececfrfcfrfcfrfcfcfc
  101.  
  102. ; CH4
  103.  
  104. D l2 o4 V90 @2
  105. D L rfa+%96rd+g+%96
  106. D rc+f+%96rcf%96
  107. D [c+r]4
  108. D [ra+frr4a+4a+8>c8d8d+8fr]2
  109. D r2r2r2r2r4r8<a+8a+8>c8d8d+8f1
  110. D r2<f+8g+8a+8>c8c+r2r2c+6c+6d+f[r]16
  111. D r2r6r2r2r2r4r8<a+8a+8>c8d8d+8f1
  112. D r%192r%192r%192r%192r%192r%192r%192r%192r%192r%192
  113.  
  114. ; CH5
  115. E l8 o3 V120 @1
  116. E L r%192r%192r%192r%192
  117. E [a+ra+a+]12[g+rg+g+]4
  118. E [f+rf+f+]4[frff]4
  119. E [a+ra+a+]4[g+rg+g+]4
  120. E [f+rf+f+]4>[c+rc+c+]4
  121. E <[brbb]4[a+ra+a+]4
  122. E >[crcc]4fr<ff[fr:ff]3<aa+
  123. E [a+ra+a+]4[g+rg+g+]4
  124. E [f+rf+f+]4[frff]4
  125. E [e+ree]4[frff]4[e+ree]4[frff]4
  126. E [brbb]4 [a+ra+a+]4
  127. E >[crcc]4fr<ff[fr:ff]3<aa+
  128.  
  129.  
  130. ; SSG
  131. ; P sets what sound the SSG channel will play, P1 = square wave, P2 = noise, P3 = both
  132. ; E sets the volume envelope [E ar , dr , sr , rr , sl {, at}]
  133. G P2 w1 E31,26,24,20,18 l8 V120
  134. G Lr%192r%192r%192r%192
  135. G [grgg]104
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement