Start a docs directory; documentation still needs to be written

This commit is contained in:
Remy Oukaour
2017-12-11 21:25:36 -05:00
parent dc4357b7fa
commit 11b9bcb9e5
2 changed files with 438 additions and 0 deletions

93
docs/music_commands.md Normal file
View File

@@ -0,0 +1,93 @@
# Music Commands
## **`musicheader`** *n*, *index*, *address*
## **`cry_header`** *n*, *index*, *address*
## **`note`** *pitch*, *octave*
## **`sound`** *pitch*, *octave*, *intensity*, *frequency*
## **`noise`** *pitch*, *duration*, *intensity*, *frequency*
## `$D0``$D7`: **`octave`** *n*
## `$D8`: **`notetype`** *length*[, *intensity*]
## `$D9`: **`pitchoffset`** *octave*, *key*
## `$DA`: **`tempo`** *tempo*
## `$DB`: **`dutycycle`** *duty_cycle*
## `$DC`: **`intensity`** *intensity*
## `$DD`: **`soundinput`** *input*
## `$DE`: **`sound_duty`** *a*, *b*, *c*, *d*
## `$DF`: **`togglesfx`**
## `$E0`: **`slidepitchto`** *duration*, *octave*, *pitch*
## `$E1`: **`vibrato`** *delay*, *extent*
## `$E2`: **`unknownmusic0xe2`** *unknown*
## `$E3`: **`togglenoise`** *id*
## `$E4`: **`panning`** *tracks*
## `$E5`: **`volume`** *volume*
## `$E6`: **`tone`** *tone*
## `$E7`: **`unknownmusic0xe7`** *unknown*
## `$E8`: **`unknownmusic0xe8`** *unknown*
## `$E9`: **`tempo_relative`** *value*
## `$EA`: **`restartchannel`** *address*
## `$EB`: **`newsong`** *id*
## `$EC`: **`sfxpriorityon`**
## `$ED`: **`sfxpriorityoff`**
## `$EE`: **`unknownmusic0xee`** *address*
## `$EF`: **`stereopanning`** *tracks*
## `$F0`: **`sfxtogglenoise`** *id*
## `$F1`: **`music0xf1`**
## `$F2`: **`music0xf2`**
## `$F3`: **`music0xf3`**
## `$F4`: **`music0xf4`**
## `$F5`: **`music0xf5`**
## `$F6`: **`music0xf6`**
## `$F7`: **`music0xf7`**
## `$F8`: **`music0xf8`**
## `$F9`: **`unknownmusic0xf9`**
## `$FA`: **`setcondition`** *condition*
## `$FB`: **`jumpif`** *condition*, *address*
## `$FC`: **`jumpchannel`** *address*
## `$FD`: **`loopchannel`** *count*, *address*
## `$FE`: **`callchannel`** *address*
## `$FF`: **`endchannel`**