PATTERN definitions (4 tables)
Byte Value
Meanings




0 Tempo
Pattern Tempo
1 Value
Pattern value
...


xx-1 Value
Pattern Value
xx END
End mark (used only for NOTES, missing in others)








PATTERN value (NOTES)
Value

Meanings
0 C-0
Note
1 C#0
Note

...

5F B-7
Note
FB REST
Rest
FC KON
Key on
FD KOFF
Key off
FE NULL
Null value in pattern
FF END
End pattern








PATTERN value (INSTRUMENTS)
Value

Meanings
0 NO INSTR
No instrument
1 INSTR 1
Instrument 1
...


255 INSTR 255
Instrument 255








PATTERN value (COMMAND)
Value

Meanings
00 STOP CMD
Stop command
01 TEMPO
Set tempo
02 AD
Set attack/decay
03 SR
Set sustain/release
04 VOLUME
Set volume
05 ARPEGGIO
Set arpeggio
06 PORT UP
Set portamento up
07 PORT DN
Set portamento down
08 TONE PORT
Set tone portamento
09 VIBRATO
Set vibrato
0A PULSE UP
Set pulse slide up
0B PULSE DN
Set pulse slide dn








PATTERN value (PARAM)
00 – STOP COMMAND
Value

Meanings
0 0000.0000
No command (standard value used)
1 xxxx.xxx1
Stop Arpeggio effect
2 xxxx.xx1x
Stop Portamento Up effect
4 xxxx.x1xx
Stop Portamento Dn effect
8 xxxx.1xxx
Stop Tone Portamento effect
16 xxx1.xxxx
Stop Vibrato effect
32 xx1x.xxxx
Stop Pulse Slide Up effect
64 x1xx.xxxx
Stop Pulse Slide Dn effect




01 – SET TEMPO
Value

Meanings
0 0000.0000
Use global tempo of pattern
3 0000.0011
Use tempo of 3
...

..
64 0010.0000
Use tempo of 64




02 – SET ATTACK/DECAY
Value

Meanings
0..255 xxxx.xxxx
Attack/Decay value




03 – SET SUSTAIN/RELEASE
Value

Meanings
0..255 xxxx.xxxx
Sustain/Release value




04 – SET VOLUME
Value

Meanings
0..15 ----.xxxx
Volume value




05 – SET ARPEGGIO
Value

Meanings
0..3 xx--.----
Speed of arpeggio
0..7 --xx.x---
Tones to add to base note
0..7 ----.-xxx
Tones to add to prevoius note




06 – SET PORTAMENTO UP
Value

Meanings
0..255 xxxx.xxxx
Frequency value to add to current




07 – SET PORTAMENTO DOWN
Value

Meanings
0..255 xxxx.xxxx
Frequency value to subtract to current




08 – SET TONE PORTAMENTO
Value

Meanings
0..255 xxxx.xxxx
Frequency value to add/subtract to current




09 – SET VIBRATO
Value

Meanings
0..16 xxxx.----
Frequency*16 to add/sub to cuttent (+16)
0..16 ----.xxxx
Speed of vibrato (+1)




0A – SET PULSE SLIDE UP
Value

Meanings
0..255 xxxx.xxxx
Pulse pitch to add to current




0B – SET PULSE SLIDE DOWN
Value

Meanings
0..255 xxxx.xxxx
Pulse pitch to subtract to current





Back