Advertisement
owa-owa

SuperC Commands(v0.92)

Jan 7th, 2017
1,349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.07 KB | None | 0 0
  1. /**
  2. * Commands test mml
  3. * for mmlc v0.92
  4. */
  5.  
  6. #title "Command test"
  7. #game " Λ Λ"
  8. #composer " (゚ω゚)"
  9. #dumper " [⊃旦⊂]"
  10. #comment "POP TERM EPIC"
  11.  
  12. #length 0:06,1000
  13. // ~~~~ ~~~~
  14. // | +--- Fade time(ms)
  15. // +-------- Play time
  16.  
  17. // swap < and >
  18. // default: > is up / < is down
  19. #swap<>
  20.  
  21. // set l4 = 24ticks
  22. // default is l4 = 48 (Recommended value)
  23. #timebase 24
  24.  
  25.  
  26. // exchange left and right
  27. // default is (left)0,1, ... ,31,32, (center) 33,... ,62,63(right)
  28. #reversestereo
  29.  
  30. // define music tone
  31. #tone 0, 2,0,0, 1, 15,7,7,0,20 // @0
  32. // This means
  33. // param1: brr num or brr name(e.g. "saw.brr") or noise(n0 ~ n31)
  34. // param2: pitch multiple nums
  35. // param3: transpose
  36. // param4: detune
  37. // param5: adsr or gain(1 = ADSR)
  38. // param6: AR
  39. // param7: DR
  40. // param8: SL
  41. // param9: SR
  42. // param10: RR
  43. // Tone is assigned sequentially from @0. @0,@1,@2, ...
  44.  
  45. // KON[>>>>>>>>>>>>>>|*********]KOF
  46. // ~~~~~~~~~~~~~~ ~~~~~~~~~
  47. // | +-------- Release(Apply SL/RR)
  48. // +--------------------- Ringing(Apply AR/DR/SL/SR) , this time is specifyed by "q" command.
  49.  
  50.  
  51. /* define drum tone */
  52. #drum 0, 2,0,0, 1, 15,7,7,0,10, 1,10,32,49 //a
  53. // This means
  54. // param1: brr num or brr name or noise
  55. // param2: pitch multiple nums
  56. // param3: transpose
  57. // param4: detune
  58. // param5: adsr or gain(1 = ADSR)
  59. // param6: AR
  60. // param7: DR
  61. // param8: SL
  62. // param9: SR
  63. // param10: RR
  64. // param11: Gatetime
  65. // param12: Velocity
  66. // param13: Panpot
  67. // param14: Key
  68. // DrumNote is assigned sequentially from a. a,b,c, ... h,i,j
  69.  
  70. /* define macro */
  71. #macro SAW @0
  72.  
  73. #track 1 // track = 1 ~ 12
  74.  
  75. /* <-- Comment --> */
  76. // Comment
  77. %A15 // AR change(0-15)
  78. %D7 // DR change(0-7)
  79. %L7 // SL change(0-7)
  80. %S0 // SR change(0-31)
  81. %R20 // RR change(0-31)
  82. %G0,0,127 // GAIN1 Change(gaintype, gainmode, gain)
  83. %G1,0,127 // GAIN2 Change(gaintype, gainmode, gain)
  84. %E48,4,96 // Echo parameter set(evol, edl, efb)
  85. %F127,0,0,0,0,0,0,0 // Echo-FIR parameter
  86. %e1 // Echo-On
  87. %e0 // Echo-Off
  88. %p1 // Portament-On
  89. %p0 // Portament-Off
  90. p16 // Panpot(0-63)
  91. p24,32 // Panpot-Fade(ticks, dest-pan)
  92. P20,30 // Panpot-Vibration(Freq, Depth)
  93. P0 // Panpot-Vibration-Off
  94. %r0,1 // Enable-Antiphase-Surround(left,right)
  95. V192 // Global-Volume(0-255)
  96. V24,128 // Global-Volume-Fade(ticks, dest-volume)
  97. v96 // Track-Volume(0-255)
  98. v48,160 // Track-Volume-Fade(ticks, dest-volume)
  99. %v0,12,40 // Tremolo(delay, freq, depth)
  100. %v0 // Tremolo-Off
  101. m24,16,24 // Vibrato(delay, freq, depth)
  102. m0 // Vibrato-Off
  103. %m1 // HW Pitch-Moduration-On
  104. %m0 // HW Pitch-Moduration-Off
  105. B0,18,12 // Pitchbend(delay, ticks, diff)
  106. E4,8,-12 // PitchEnvelope(delay, ticks, diff)
  107. E0 // PitchEnvelope-Off
  108. T2 // Transpose
  109. %T2 // Relative-Transpose
  110. %t1 // Compiler internal transpose
  111. %k1 // KeyOff-Disable
  112. %k0 // KeyOff-Enable
  113. %W30 // SpecialWav(BRR:0) update freq
  114. k16 // Velocity(1-16)
  115. q8 // Gatetime(1-8)
  116. t160 // Tempo(1~600? specify by bpm)
  117. t24,120 // Tempo-fade(ticks, dest-tempo)
  118. / // Loop-point
  119. o4 // Octave set
  120. > // Octave-up
  121. < // Octave-down
  122. @1 // Music-tone
  123. @@0 // Driver internal tone
  124. $(SAW) // Expand macro
  125. l16 // Set default length
  126. cdefgab // Note
  127. c+d+e+f+g+a+b+ // Note(Sharp)
  128. c#d#e#f#g#a#b# // Note(Sharp)
  129. c-d-e-f-g-a-b- // Note(Flat)
  130. ^ // Tie
  131. r // Rest
  132. %d1 // DrumPart-On
  133. abcdefghij // Drum-note
  134. %d0 // DrumPart-Off
  135. a=24 // Note(specify ticks)
  136. [abcd]2 // Loop
  137. *2 // Loop re-use
  138. [abc|d]2 e // Loop break if final loop (*It will expand to "abcdabce")
  139. (1)[abc]2 // Label loop
  140. (1)2 // Label loop re-use
  141. [abc [de|f]2 g|c ]3 // Nest loop (only 1 level)
  142. *3 // Nest loop re-use (*It will expand to "abc defde gc abc defde gc abc defde g")
  143. X0 // Command direct input
  144. ! // stop compile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement