ff3:ff3us:doc:asm:codes:music_codes

This is an old revision of the document!


00-0D       Play note, C
0E-1B       Play note, C#
1C-29       Play note, D
2A-37       Play note, D#
38-45       Play note, E
46-53       Play note, F
54-61       Play note, F#
62-6F       Play note, G
70-7D       Play note, G#
7E-8B       Play note, A
8C-99       Play note, A#
9A-A7       Play note, B
A8-B5       Continue last note
B6-C3       Rest
C4 xx              Set volume of channel to xx (00-7F), higher values == greater volume.
C5 ss xx           Fade volume to xx at speed ss
C6 xx              Pan song left->right as xx (00-7F) increases
C7 ss xx           Pan slide
C8 tt pp           Portamento: pp == increase in pitch
C9 ss tt dd        Vibrato: ss == speed, tt == time until vibrato, dd == depth
CA                 Vibrato off
CB ss tt dd        Tremolo: ss == speed, tt == time until tremolo, dd == depth
CC                 Tremolo off
CD xx yy           Pan repeatedly back and forth at speed xx (00-FF), higher values == slower panning.
CE                 Disable pan loop
CF xx
D0
D1
D2
D3                 
D4                 
D5                 
D6 oo              Set octave to oo
D7                 Raise octave by 1
D8                 Lower octave by 1
D9 xx              Set transpose
DA xx              Increment transpose
DB xx             
DC ss              Change channel's sample to ss
DD xx
DE xx              Disables DF.
DF xx
E0 xx
E1
E2 nn              Begin loop: nn == number of iterations - 1 (max nesting == 4)
E3                 End loop
E4                 ???
E5                 Nothing?
E6                 
E7                 Nothing?
E8 xx              ??? Set length of next note
E9 xx
EA xx
EB                 End of channel
F0 xx              Set tempo to xx (00-FF), higher values == faster tempo.
F1 ss xx           Fade tempo to xx at speed ss
F2 xx              Set echo to xx
F3 ss xx           Fade echo to xx at speed ss
F4 xx              
F5 nn aaaa         When this instruction has been executed nn times, break out of most recent loop and goto $aaaa
F6 aaaa            Goto $aaaa
F7 xx yy
F8 xx yy
F9
FA
FB
FC xx yy
  • ff3/ff3us/doc/asm/codes/music_codes.1459664906.txt.gz
  • Last modified: 5 years ago
  • (external edit)