pokecrystal-board/docs/music_commands.md

94 lines
1.5 KiB
Markdown
Raw Normal View History

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