MOD / XM Effect Commands
From MadTracker Wiki
- 0xy Arpeggio with halftones x and y
- 1xx Pitch slide up by xx
- 2xx Pitch slide down by xx
- 3xx Slide to note with speed xx
- 4xy Vibrato with speed x, depth y
- 5xy Tone-Portamento and Volume Slide (300 + Axy)
- 6xy Vibrato and Volume Slide (400 + Axy)
- 7xy Tremor with ontime x and offtime y
- 8xx Set panning position (MOD/S3M=0->80h, IT/XM/BRT/MT2=0->FFh)
- 9xx Set sample offset to xx00h
- A0x Volume slide down by x
- Ax0 Volume slide up by x
- Bxx Jump to Order (hex)
- Cx0 Set volume (0->40h)
- Dxx Break to row xx (hex) of next pattern
- Fxx Set song speed (hex)
- DFx Fine volume slide down by x
- DxF Fine volume slide up by x
- E0x Set filter
- E1x Fine portamento up
- E2x Fine portamento down
- E3x Set glissando control
- E4x Set vibrato waveform to type x
Values for x: 0: Sine wave 1: Ramp down 2: Square wave 3: Random wave
- E5x Set finetune
- E60 Set loopback point
- E6x Loop x times to loopback point;
- E7x Set tremolo waveform to type x
Values for x:
0: Sine wave
1: Ramp down
2: Square wave
3: Random wave
- E8x Set panning (0->Fh)
- E9y Retrigger note every y ticks
- EAx Fine volume slide up
- EBx Fine volume slide down
- ECx Note cut after x ticks
- EDx Note delay for x ticks
- EEx Pattern delay for x rows
- EFx Invert loop
- EFx Set parameterised MIDI Macro
- Fxx 0-1Fh=Set speed / 20h-FFh=Set tempo (MOD/S3M/IT/BRT)
- Fxx 0-20h=Set speed / 21h-FFh=Set tempo (XM/MT2)
- Gxx Set global volume to xx (0->80h)
- H0x Global volume slide down by x
- Hx0 Global volume slide up by x
- HFx Fine global volume slide down by x
- HxF Fine global volume slide up by x
- Kxx Key off
- Lxx Set envelope position
- Oxx Set filter mode
Values for xx:
0: Low Pass (IIR, modplug-like lowpass filter)
1: High Pass (IIR, modplug-like highpass filter)
2: Band Pass (IIR) (inactive)
3: Low Pass (FIR)
4: High Pass (FIR)
5: Band Pass (FIR)
6: Notch (FIR)
- P0x Panning slide to right by x
- Px0 Panning slide to left by x
- Rxy Retrigger note every y ticks with volume modifier x
Values for x:
0: No volume change
1: -1
2: -2
3: -4
4: -8
5: -16
6: *2/3
7: *1/2
8: Not used
9: +1
A: +2
B: +4
C: +8
D: +16
E: *3/2
F: *2
- Sxx Smooth MIDI Macros
- Txy Tremolo with speed x, depth y
- X1x 4x finer portamento up
- X2x 4x finer portamento down
- X90 Disable surround for the current channel;
- X91 Enable surround for the current channel
- X98 Disable reverb for the current channel');
- X99 Enable reverb for the current channel');
- X9A Select mono surround mode (center channel). This is the default
- X9B Select quad surround mode
- X9C Select global filter mode (IT compatibility). This is the default, when resonant filters are enabled with a Zxx effect, they will stay active until explicitely disabled by setting the cutoff frequency to the maximum (Z7F), and the resonance to the minimum (Z80).
- X9D Select local filter mode (MPT beta compatibility): when this mode is selected, the resonant filter will only affect the current note. It will be deactivated when a new note is being played.
- X9E Play forward. You may use this to temporarily force the direction of a bidirectional loop to go forward.
- X9F Play backward. The current instrument will be played backwards, or it will temporarily set the direction of a loop to go backward.
- Vxx Callback effect
- Yxy Panbrello with speed x, depth y
- Zxx MIDI Macros
