This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
banjo_kazooie_gruntys_revenge:music [2016/10/18 23:16] jesse [Sequence commands] add commands |
banjo_kazooie_gruntys_revenge:music [2025/10/18 21:21] (current) |
||
|---|---|---|---|
| Line 68: | Line 68: | ||
| ---- | ---- | ||
| + | |||
| + | ==== 05: Note on ==== | ||
| + | |||
| + | Enables a note on a channel. | ||
| + | |||
| + | ''[<color darkred>C</color>]5 [<color darkgreen>NN</color>] [<color darkblue>VV</color>]'' | ||
| + | |||
| + | | <color darkred>C</color> | Channel | | ||
| + | | <color darkgreen>N</color> | Note on a scale from 0 to 127 | | ||
| + | | <color darkblue>V</color> | Volume | | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== 06: Note off ==== | ||
| + | |||
| + | Disables a note on a channel. | ||
| + | |||
| + | ''[<color darkred>C</color>]6 [<color darkgreen>NN</color>] [<color darkblue>VV</color>]'' | ||
| + | |||
| + | | <color darkred>C</color> | Channel | | ||
| + | | <color darkgreen>N</color> | Note on a scale from 0 to 127 | | ||
| + | | <color darkblue>V</color> | 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. | ||
| + | |||
| + | ''[<color darkred>C</color>]7 07 [<color darkgreen>VV</color>]'' | ||
| + | |||
| + | |||
| + | | <color darkred>C</color> | Channel | | ||
| + | | <color darkgreen>V</color> | Volume on a scale fom 0 to 255 | | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== 08: Instrument ==== | ||
| + | |||
| + | Changes the instrument of a channel. | ||
| + | |||
| + | ''[<color darkred>C</color>]8 [<color darkgreen>II</color>]'' | ||
| + | |||
| + | |||
| + | | <color darkred>C</color> | Channel | | ||
| + | | <color darkgreen>I</color> | ID of an instrument | | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== 09: ?? ==== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== 0A: Pitch ==== | ||
| + | |||
| + | Changes the pitch of a channel. | ||
| + | |||
| + | ''[<color darkred>C</color>]A [<color darkgreen>PP PP</color>]'' | ||
| + | |||
| + | |||
| + | | <color darkred>C</color> | Channel | | ||
| + | | <color darkgreen>P</color> | 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'' | ||