summaryrefslogtreecommitdiff
path: root/docs/music_commands.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/music_commands.md')
-rw-r--r--docs/music_commands.md93
1 files changed, 93 insertions, 0 deletions
diff --git a/docs/music_commands.md b/docs/music_commands.md
new file mode 100644
index 000000000..f757a3bd5
--- /dev/null
+++ b/docs/music_commands.md
@@ -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`**