======== Music ========
Music is stored in a sequence format very similar to MIDI.
===== List of sequences =====
^ ID ^ Name ^
| 0 | Title screen |
| 1 | Spiral mountain |
| 2 | Breegull Beach |
| 3 | Cliff Farm |
| 4 | Honey B's hive |
| 5 | Freezing furnace |
| 6 | Mini game |
| 7 | |
| 8 | Jiggywiggy's temple |
| 9 | Grunty industries (Freezing furnace fire side) |
| 10 | Mumbo's hut |
| 11 | Bad magic bayou |
| 12 | Underwater |
| 13 | Spiller's harbor |
| 14 | Battle |
| 15 | Quiz |
| 16 | Game over |
| 17 | Time travel |
===== Sequence commands =====
==== 00: Tempo change ====
''00 [XX XX XX]''
| X | Tempo time in microseconds |
----
==== 01: Rest ====
Rest with a value of 1 delays the music 1 frame from progressing.
''01 [XX]''
| X | Delay time in 8 bits |
----
==== 02: Rest ====
Rest with a value of 1 delays the music 1 frame from progressing.
''02 [XX XX]''
| X | Delay time in 16 bits |
----
==== 03: Rest ====
Rest with a value of 1 delays the music 1 frame from progressing.
''03 [XX XX XX]''
| X | Delay time in 24 bits |
----
==== 04: ?? ====
----
==== 05: Note on ====
Enables a note on a channel.
''[C]5 [NN] [VV]''
| C | Channel |
| N | Note on a scale from 0 to 127 |
| V | Volume |
----
==== 06: Note off ====
Disables a note on a channel.
''[C]6 [NN] [VV]''
| C | Channel |
| N | Note on a scale from 0 to 127 |
| V | Volume (usually 0x40) |
----
==== 07: Channel volume ====
Changes the volume of a channel. This command is very similar to controller events in MIDI. The second byte should tell what the command controls. But the only value that changes something is 0x07. The developers probably didn't care to change the structure of the MIDI when they converted MIDI to their format.
''[C]7 07 [VV]''
| C | Channel |
| V | Volume on a scale fom 0 to 255 |
----
==== 08: Instrument ====
Changes the instrument of a channel.
''[C]8 [II]''
| C | Channel |
| I | ID of an instrument |
----
==== 09: ?? ====
----
==== 0A: Pitch ====
Changes the pitch of a channel.
''[C]A [PP PP]''
| C | Channel |
| P | Pitch value |
----
==== 0B: End of track ====
End of the track. This is usually the point where it loops, or it waits until each channel is finished.
''0B''