Advertisement
Guest User

Untitled

a guest
Jun 1st, 2018
449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. <80h = note [key, 0.127 (velocity), var. length arg (length)]
  2.  
  3.  
  4. 80h wait [var. length arg]
  5. 81h prg (change program) [var. length arg]
  6. ...
  7. 88h opentrack [track, offset]
  8. 89h jump [3 byte BE offset]
  9. 8Ah call [3 byte BE offset]
  10. ...
  11. Command modifiers. One or more of these is followed by a normal command
  12. NOTE: Parsing code seems to check for '_if' first, then one of ('_t', '_tr', or '_tv'), then one of ('_r' or '_v').
  13. A0h _r random (replaces an argmuent with two, for range)
  14. A1h _v variable (replaces an argument with variable number)
  15. A2h _if (only executes if result of last compare command was true)
  16. A3h _t time (smoothly changes value over time)
  17. A4h _tr time random
  18. A5h _tv time variable
  19. ...
  20. B0h timebase [1.255]
  21. B1h env_hold [-1.+127]
  22. B2h monophonic_off [00] / monophonic_on [127]
  23. B3h velocity_range [0.127]
  24. B4h biquad_type [0.5]
  25. 0 = none
  26. 1 = biquad LPF
  27. 2 = biquad HPF
  28. 3 = biquad BPF (512Hz)
  29. 4 = biquad BPF (1024Hz)
  30. 5 = biquad BPF (2048Hz)
  31. B5h biquad_value [0.127] (0 = none, 127 = max)
  32. B6h bank_select [0.3]
  33. ...
  34. BDh mod_phase [0.127]
  35. BEh mod_curve [0.127]
  36. BFh frontbypass_off/frontbypass_on [0.1]
  37. C0h pan [0.127]
  38. C1h volume [0.127]
  39. C2h main_volume [0.127]
  40. C3h transpose [-64.+63]
  41. C4h pitchbend [-128.+127]
  42. C5h bendrange [0.127]
  43. C6h prio (voice priority) [0.127]
  44. C7h notewait_off/notewait_on [0.1]
  45. C8h tieoff/tieon [0.1] (sound generates continuously, only pitch and velocity change)
  46. C9h porta (portamento; set start key and start) [start key]
  47. CAh mod_depth [0.127]
  48. CBh mod_speed [0.127]
  49. CCh mod_type [0.2] (MOD_TYPE_PITCH, MOD_TYPE_VOLUME, MOD_TYPE_PAN)
  50. CDh mod_range [0.127]
  51. CEh porta_off/porta_on [0.1]
  52. CFh porta_time [0.255]
  53. D0h attack [-1.+127]
  54. D1h decay [-1.+127]
  55. D2h sustain [-1.+127]
  56. D3h release [-1.+127]
  57. D4h loop_start [0.255] (0 = loop infinitely)
  58. D5h volume2 [0.127]
  59. D6h printvar [VarNo]
  60. D7h span [0.127]
  61. D8h lpf_cutoff [0.64] (0 = max, 64 = none)
  62. D9h fxsend_a [0.127]
  63. DAh fxsend_b [0.127]
  64. DBh mainsend [0.127]
  65. DCh init_pan [0.127]
  66. DDh mute [0.3?]
  67. 0 = no mute
  68. 1 = mute without stopping the playing sound
  69. 2 = mute after releasing the playing sound
  70. 3 = mute immediately
  71. ...
  72. DFh damper_off [0] / damper_on [127]
  73. E0h mod_delay [0.32767]
  74. E1h tempo [0.1023]
  75. ...
  76. E3h sweep_pitch [-32768.+32767] (Pitch begins offset by value(every 64 is a semitone), then moves toward correct pitch. Speed is affected by porta_time.)
  77. E4h mod_period [0.32767]
  78. ...
  79. F0h Extended command
  80. 80h setvar [VarNo, value -32768.+32767]
  81. 81h addvar [VarNo, value -32768.+32767]
  82. 82h subvar [VarNo, value -32768.+32767]
  83. 83h mulvar [VarNo, value -32768.+32767]
  84. 84h divvar [VarNo, value -32768.+32767]
  85. 85h shiftvar [VarNo, value -32768.+32767] (positive shifts left, negative right)
  86. 86h randvar [VarNo, value -32768.+32767] (set to random number between 0 and value)
  87. 87h andvar [VarNo, value -32768.+32767]
  88. 88h orvar [VarNo, value -32768.+32767]
  89. 89h xorvar [VarNo, value -32768.+32767]
  90. 8Ah notvar [VarNo, value -32768.+32767]
  91. 8Bh modvar [VarNo, value -32768.+32767]
  92. ...
  93. 90h cmp_eq [VarNo, value -32768.+32767]
  94. 91h cmp_ge [VarNo, value -32768.+32767]
  95. 92h cmp_gt [VarNo, value -32768.+32767]
  96. 93h cmp_le [VarNo, value -32768.+32767]
  97. 94h cmp_lt [VarNo, value -32768.+32767]
  98. 95h cmp_ne [VarNo, value -32768.+32767]
  99. ...
  100. A0h mod2_curve [0.127]
  101. A1h mod2_phase [0.127]
  102. A2h mod2_depth [0.127]
  103. A3h mod2_speed [0.127]
  104. A4h mod2_type [0.2]
  105. A5h mod2_range [0.127]
  106. A6h mod3_curve [0.127]
  107. A7h mod3_phase [0.127]
  108. A8h mod3_depth [0.127]
  109. A9h mod3_speed [0.127]
  110. AAh mod3_type [0.2]
  111. ABh mod3_range [0.127]
  112. ACh mod4_curve [0.127]
  113. ADh mod4_phase [0.127]
  114. AEh mod4_depth [0.127]
  115. AFh mod4_speed [0.127]
  116. B0h mod4_type [0.2]
  117. B1h mod4_range [0.127]
  118. ...
  119. E0h userproc [0.65535]
  120. E1h mod2_delay [0.32767]
  121. E2h mod2_period [0.32767]
  122. E3h mod3_delay [0.32767]
  123. E4h mod3_period [0.32767]
  124. E5h mod4_delay [0.32767]
  125. E6h mod4_period [0.32767]
  126. ...
  127. FBh env_reset
  128. FCh loop_end
  129. FDh ret
  130. FEh alloctrack [0.65535] (bitmask)
  131. FFh fin (end of track)
  132.  
  133.  
  134.  
  135.  
  136.  
  137. volume/volume2 are treated like ((x / 127)^2), then multiplied together. Default value for both is 127(100%).
  138.  
  139. variables, default value = -1
  140. 00-15 = VAR_xx local variables
  141. 16-31 = GVAR_xx global variables
  142. 32-47 = TVAR_xx track variables
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement