add loop command to format spec, rename 'effects' to 'commands'
This commit is contained in:
parent
84deaea3d2
commit
a6e6364a7e
|
@ -49,11 +49,11 @@ a song row is 4 bytes. Each byte is a pattern number, with the first byte being
|
|||
|
||||
Patterns contain 0x10 lines of note data. Patterns are ordered sequentially in the file and there can be up to 255 patterns in a file.
|
||||
|
||||
A pattern line consists of 3 bytes. The first byte contains a note ( up to 0x7f ) and the next two bytes contain an effect and a parameter for that effect. No note is represented by the byte 00. 0xff represents a note off/note stop. No effect is also represented by 00.
|
||||
A pattern line consists of 3 bytes. The first byte contains a note ( up to 0x7f ) and the next two bytes contain a command and a parameter for that effect. No note is represented by the byte 00. 0xff represents a note off/note stop. No effect is also represented by 00.
|
||||
|
||||
### Effects
|
||||
### Commands
|
||||
|
||||
(what an effect should be drawn as in an editor is in parenthesis)
|
||||
(what an command should be drawn as in an editor is in parenthesis)
|
||||
|
||||
More soon probably
|
||||
|
||||
|
@ -64,7 +64,7 @@ More soon probably
|
|||
* 0x05 (S) - set sustain to argument (1-0f)
|
||||
* 0x06 (R) - set release to argument (1-0f)
|
||||
* 0x07 (T) - set song speed to argument (1-0f)
|
||||
|
||||
* 0x08 (L) - set sample loop ( 00: off, otherwise: on )
|
||||
## Instruments
|
||||
|
||||
Instruments contain a sample and some default parameters for that sample. Everything is in the same format expected by the audio device.
|
||||
|
|
Reference in New Issue