# Command Reference

# Track commands

Command | Description
0 | Pos jump hi 0 sets the high digit of the "jump to position" command (B)
1 | Portamento Up Portamento up will slide the sample pitch up. The higher the parameter value, the faster it slides. You can't slide higher than B-5! Note: The portamento will be called as many times as the speed of the song per note. This means that you'll sometimes have trouble sliding accurately. If you change the speed without changing the slide rate, it could sound wrong.
2 | Portamento down Portamento down will slide the sample pitch down. The higher the parameter value, the faster it slides. You cannot slide lower than C-1! The same limitations apply as portamento up.
3 | Tone portamento Tone portamento automatically slides from the old note to the new note. You don't have to worry about which direction to slide, you only need to set the slide speed. To keep on sliding at a previously set rate, just use "300".
4 | Set filterIf the parameter is 00 to 3F, it overrides the filter value in the instrument performancelist. So, "420" would make the instrument set filter to "20" once the "0xx" command is reached in the performance list instead of "xx". 40-7F sets the filter immediately to parameter-40. So "452" immediately sets the filter to 12.
5 | Tone portamento and volume slideThis command continues the current tone portamento slide, and slides the volume at the same time. The volume slide is the same as command "A".
6 | Not used
7 | Stereo panning (HivelyTracker only) This sets the stereo panning position of the current channel from 80 (hard left) through 0 (centre) to 7F (hard right). It is a signed byte, so 80 is -128, and 7F is 127.
8 | External timing - UNUSED IN HIVELYTRACKER
9 | Set square relation This command will set the square relation (set in performance list with 3xx) immediately and will disable the first 3xx command in the performance list of this instrument.
A | Volume slide This command will slide the volume up or down. If the high nibble is non-zero it slides the volume up at that speed. If the low nibble is non-zero it slides it down at that speed. e.g. A05 slides the volume down at speed 5, and A10 slides the volume up at speed 1.
B | Position Jump This command jumps to the specified position. Unlike most commands, the perameter is in decimal, not hex. If you want to jump to a position past "99", use the 0 command to set the "hundreds" column of the number
C | Set volume This sets the volume from 0 (silent) to 40 (full volume). Parameter is in hex. A value of 00 to 40 sets the volume for the current instrument. 50 to 90 sets the volume to "paremeter-50" for all channels. A0 to E0 sets the volume to "paremeter-A0" for the current channel
D | Position break This jumps to the next position in the song. The parameter is the note number to jump to.
E | Multiple The E command is split into sub commands using the high nibble of the effect parameter, so "E1x" is a different command to "E2x"
E0 | Not used
E1 | Fineslide upThis is like the "1xx" command, but the sliding is much finer.
E2 | Fineslide downThis is like the "2xx" command, but the sliding is much finer.
E3 | Not used
E4 | Vibrato control This command overrides the vibrato depth set in the instrument editor
E5 | Not used
E6 | Not used
E7 | Not used
E8 | Not used
E9 | Not used
EA | Fine volume up This is similar to the "Ax0" command except the volume slide is much finer
EB | Fine volume down This is similar to the "A0x" command except the volume slide is much finer
EC | Note cut This command will cut the note at the selected tick, creating extremely short notes
ED | Note delay This command will delay the note to the selected tick
EE | Not used
EF | Miscellaneous flags: EF1 = Preserve transpose value until another note is played in the channel (overrides default AHX behaviour) (v1.5+).
F | Set tempo The higher the parameter, the slower the tracks are parsed.

# Instrument performance list commands

Command | Description
0 | Set filter A parameter of 01 to 1F sets the low pass filter, where 01 is heavy filtering and 1f is light filtering. A parameter of 20 turns of all filtering. A parameter of 21 to 3F sets the high pass filter, where 21 is light, and 3F is heavy filtering
1 | Portamento up (same as track cmd)
2 | Portamento down (same as track cmd)
3 | Set square relation value
4 | Toggle modulation The upper nibble toggles filter modulation. The lower nibble toggles square modulation A value of 1 sets positive start direction, and F sets negative start direction.
5 | Jump to performance list position specified by the parameter
7 | Ring modulate instrument with a triangle wave. The parameter sets the note of the triangle oscillator, where 01 to 3B is C-1 to B-5 (fixed), and 81 to BB is C-1 to B-5 (relative). 00 or 80 turns off the modulation.
8 | Ring modulate instrument with a sawtooth wave. The parameter sets the note of the sawtooth oscillator, where 01 to 3B is C-1 to B-5 (fixed), and 81 to BB is C-1 to B-5 (relative). 00 or 80 turns off the modulation.
9 | Stereo panning (HivelyTracker only) This sets the stereo panning for the channel the instrument is played in. This is limited to the instrument itself; the next time an instrument is played in the channel, it returns to the last stereo position set with the "7xx" track command (see table above).
C | Set volume 00-40 sets the volume for the current waveform 50-90 sets the master volume for the instrument to parameter-50 a0 to f0 sets the track master volume
F | Changes the speed of the performance list

Back to index