Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <80h = note [key, 0.127 (velocity), var. length arg (length)]
- 80h wait [var. length arg]
- 81h prg (change program) [var. length arg]
- ...
- 88h opentrack [track, offset]
- 89h jump [3 byte BE offset]
- 8Ah call [3 byte BE offset]
- ...
- Command modifiers. One or more of these is followed by a normal command
- NOTE: Parsing code seems to check for '_if' first, then one of ('_t', '_tr', or '_tv'), then one of ('_r' or '_v').
- A0h _r random (replaces an argmuent with two, for range)
- A1h _v variable (replaces an argument with variable number)
- A2h _if (only executes if result of last compare command was true)
- A3h _t time (smoothly changes value over time)
- A4h _tr time random
- A5h _tv time variable
- ...
- B0h timebase [1.255]
- B1h env_hold [-1.+127]
- B2h monophonic_off [00] / monophonic_on [127]
- B3h velocity_range [0.127]
- B4h biquad_type [0.5]
- 0 = none
- 1 = biquad LPF
- 2 = biquad HPF
- 3 = biquad BPF (512Hz)
- 4 = biquad BPF (1024Hz)
- 5 = biquad BPF (2048Hz)
- B5h biquad_value [0.127] (0 = none, 127 = max)
- B6h bank_select [0.3]
- ...
- BDh mod_phase [0.127]
- BEh mod_curve [0.127]
- BFh frontbypass_off/frontbypass_on [0.1]
- C0h pan [0.127]
- C1h volume [0.127]
- C2h main_volume [0.127]
- C3h transpose [-64.+63]
- C4h pitchbend [-128.+127]
- C5h bendrange [0.127]
- C6h prio (voice priority) [0.127]
- C7h notewait_off/notewait_on [0.1]
- C8h tieoff/tieon [0.1] (sound generates continuously, only pitch and velocity change)
- C9h porta (portamento; set start key and start) [start key]
- CAh mod_depth [0.127]
- CBh mod_speed [0.127]
- CCh mod_type [0.2] (MOD_TYPE_PITCH, MOD_TYPE_VOLUME, MOD_TYPE_PAN)
- CDh mod_range [0.127]
- CEh porta_off/porta_on [0.1]
- CFh porta_time [0.255]
- D0h attack [-1.+127]
- D1h decay [-1.+127]
- D2h sustain [-1.+127]
- D3h release [-1.+127]
- D4h loop_start [0.255] (0 = loop infinitely)
- D5h volume2 [0.127]
- D6h printvar [VarNo]
- D7h span [0.127]
- D8h lpf_cutoff [0.64] (0 = max, 64 = none)
- D9h fxsend_a [0.127]
- DAh fxsend_b [0.127]
- DBh mainsend [0.127]
- DCh init_pan [0.127]
- DDh mute [0.3?]
- 0 = no mute
- 1 = mute without stopping the playing sound
- 2 = mute after releasing the playing sound
- 3 = mute immediately
- ...
- DFh damper_off [0] / damper_on [127]
- E0h mod_delay [0.32767]
- E1h tempo [0.1023]
- ...
- 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.)
- E4h mod_period [0.32767]
- ...
- F0h Extended command
- 80h setvar [VarNo, value -32768.+32767]
- 81h addvar [VarNo, value -32768.+32767]
- 82h subvar [VarNo, value -32768.+32767]
- 83h mulvar [VarNo, value -32768.+32767]
- 84h divvar [VarNo, value -32768.+32767]
- 85h shiftvar [VarNo, value -32768.+32767] (positive shifts left, negative right)
- 86h randvar [VarNo, value -32768.+32767] (set to random number between 0 and value)
- 87h andvar [VarNo, value -32768.+32767]
- 88h orvar [VarNo, value -32768.+32767]
- 89h xorvar [VarNo, value -32768.+32767]
- 8Ah notvar [VarNo, value -32768.+32767]
- 8Bh modvar [VarNo, value -32768.+32767]
- ...
- 90h cmp_eq [VarNo, value -32768.+32767]
- 91h cmp_ge [VarNo, value -32768.+32767]
- 92h cmp_gt [VarNo, value -32768.+32767]
- 93h cmp_le [VarNo, value -32768.+32767]
- 94h cmp_lt [VarNo, value -32768.+32767]
- 95h cmp_ne [VarNo, value -32768.+32767]
- ...
- A0h mod2_curve [0.127]
- A1h mod2_phase [0.127]
- A2h mod2_depth [0.127]
- A3h mod2_speed [0.127]
- A4h mod2_type [0.2]
- A5h mod2_range [0.127]
- A6h mod3_curve [0.127]
- A7h mod3_phase [0.127]
- A8h mod3_depth [0.127]
- A9h mod3_speed [0.127]
- AAh mod3_type [0.2]
- ABh mod3_range [0.127]
- ACh mod4_curve [0.127]
- ADh mod4_phase [0.127]
- AEh mod4_depth [0.127]
- AFh mod4_speed [0.127]
- B0h mod4_type [0.2]
- B1h mod4_range [0.127]
- ...
- E0h userproc [0.65535]
- E1h mod2_delay [0.32767]
- E2h mod2_period [0.32767]
- E3h mod3_delay [0.32767]
- E4h mod3_period [0.32767]
- E5h mod4_delay [0.32767]
- E6h mod4_period [0.32767]
- ...
- FBh env_reset
- FCh loop_end
- FDh ret
- FEh alloctrack [0.65535] (bitmask)
- FFh fin (end of track)
- volume/volume2 are treated like ((x / 127)^2), then multiplied together. Default value for both is 127(100%).
- variables, default value = -1
- 00-15 = VAR_xx local variables
- 16-31 = GVAR_xx global variables
- 32-47 = TVAR_xx track variables
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement