Every cell has an effect: a
number from 0 to F in the low half of its third byte, and an 8-bit parameter in its
fourth, written as three hexadecimal digits such as C20. Exolon’s notes for
StarTrekker 1.1 list the effects of the 8-channel mode as 1 and
2 (frequency up and down), 4 (vibrato, speed then amplitude),
A (volume slide), C (volume), D (pattern break)
and F (tempo), and say that not all were implemented. OpenMPT reads 0 to D
with ProTracker’s meanings, E as StarTrekker’s synth commands, and
F as the speed only; the explorer follows it, as below.
Ticks
Each row lasts a number of ticks, the speed, 6 unless the song sets another. Tick 0 is when the row’s notes are played. Some effects act once, on tick 0; the others act on every tick after it. A tick lasts 20 ms. x and y below are the parameter’s two hexadecimal digits, xx the whole byte.
The effects
| Effect | Name | What it does |
|---|---|---|
0xy | arpeggio | On every tick, cycles between the note, the note + x semitones and the note + y semitones. 000 is no effect. |
1xx | slide up | On ticks 1 onwards, takes xx from the period; not below 113. |
2xx | slide down | On ticks 1 onwards, adds xx to the period; not above 856. |
3xx | tone portamento | Slides towards the row’s note by xx a tick, without restarting the sample. 300 keeps the last speed. Exolon notes that in FLT8 modules this command uses a different scale from the normal one, but neither his notes, OpenMPT nor libxmp say what the scale is: there is no public specification of it, so the explorer plays ProTracker’s and says so on each one. |
4xy | vibrato | Wobbles the pitch: x is the speed, y the depth. |
5xy | tone portamento and volume slide | Goes on with the last 3xx, and slides the volume as Axy. |
6xy | vibrato and volume slide | Goes on with the last 4xy, and slides the volume as Axy. |
7xy | tremolo | Like vibrato, on the volume. |
8xx | (not used) | Ignored. |
9xx | sample offset | Starts the sample xx × 256 bytes in. |
Axy | volume slide | On ticks 1 onwards, raises the volume by x, or if x is 0 lowers it by y; kept within 0 to 64. |
Bxx | position jump | After this row, goes on at position xx of the order table. |
Cxx | set volume | Sets the volume to xx, 0 to 64. |
Dxy | pattern break | After this row, goes on at the next position, at row x × 10 + y. |
Exy | StarTrekker’s synth commands | Start StarTrekker’s own synthesised sounds and macros, not ProTracker’s extended effects. They are left out. |
Fxx | set speed | 01 to 1F: the speed, in ticks a row. Above 1F is taken as speed 31, not as a tempo. F00 stops the song. |
The E commands
From version 1.2, StarTrekker could play AM and FM synthesised sounds and macros, and
its E commands start them. There is no public specification of the numbers: neither
Exolon’s documentation nor the OpenMPT or libxmp sources say what each
Exy does. OpenMPT’s loader drops them, noting that it has “no assembly
macro support”, and libxmp also leaves them out, as “no macros”. The explorer does the
same: it names an Exy as a StarTrekker command, says it has no public
specification, and plays it as no effect. A song that relies on the synthesised
sounds plays without them.
AM and FM instruments
The synth instruments are not in the module. StarTrekker saved them in a second file
with the same base name and the extension .nt (.as in
AudioSculpture), so a single module file has no data for them; in the module a synth
instrument is an empty or placeholder sample. The companion file begins with one of
the 16-byte markers ST1.2 ModuleINFO, ST1.3 ModuleINFO or
AudioSculpture10, and from offset 144 has 31 blocks of 120 bytes, one for
each sample. The explorer shows one file at a time, so it cannot read a companion
file; it plays such samples as they stand.
The AM block starts at offset 144 + (sample − 1) × 120. Its first 36 bytes are
the instrument; the rest of the 120 is skipped. OpenMPT’s AMInstrument
structure (36 bytes, asserted in its source) and libxmp’s loader give the same layout,
all numbers big-endian 16-bit. The AM synthesiser makes no sample: it plays a small
wave and changes its volume and period 50 times a second, and the wave is rebuilt by
the player from this block:
| Offset | Field | Meaning |
|---|---|---|
| 0 | AM | the marker of an AM block; anything else is not an AM instrument |
| 2 | four bytes | zero (OpenMPT names them zero) |
| 6 | start level | the amplitude at the start |
| 8, 10 | attack 1 level and speed | |
| 12, 14 | attack 2 level and speed | |
| 16 | sustain level | |
| 18 | decay speed | |
| 20 | sustain time | |
| 22 | nt | OpenMPT names it nt with “?”, and libxmp skips it: no source says what it is |
| 24 | release speed | how fast the amplitude falls to 0 |
| 26 | waveform | 0 sine, 1 ramp, 2 square (32 bytes each, looped), 3 noise (1,024 bytes); OpenMPT and libxmp reject a value above 3 |
| 28 | pitch fall | signed; added to the period each tick |
| 30, 32 | vibrato amplitude and speed | |
| 34 | octave | Exolon’s “FQ”, OpenMPT’s “base frequency”: 0 is the highest, 5 the lowest |
The FM synthesiser mixes four sine waves, each with its own envelope and frequency, into a sample of a set length, saved as 120 bytes of parameters. Exolon’s notes name the parameters per wave (FQ, L0, A1L, A1S, A2L, A2S, DS, SL, ST, RS, the LISTEN and F.MOD switches), but neither they nor libxmp or OpenMPT give the byte layout of an FM block, and the rendered sample is not in the module either. There is no public specification of it.
Speed
ProTracker reads F20 and above as a tempo. OpenMPT does not do so for
StarTrekker’s modules: it takes any value above 31 as speed 31. The explorer does the
same, so ticks stay at the starting rate of 50 a second throughout the song.