====== MML Commands ======
===== Command Chart =====
| **Command** | **Description** | **Example** | **FF6 Command** |
| a,b,c,d,e,f,g | [[ff3:ff3us:music:mmlcommands#notes|Note]] | d, d32 | 00-B5 |
| 1,2,4,8,16,32,64 | [[ff3:ff3us:music:mmlcommands#notes|1/n Note]] | a8, a16, a32 | 00-B5 |
| + | [[ff3:ff3us:music:mmlcommands#notes|Sharp Note]] | a+, a+8 | |
| - | [[ff3:ff3us:music:mmlcommands#notes|Flat Note]] | a-, a-8 | |
| @xx | [[ff3:ff3us:music:mmlcommands#instrument|Set Channel Instrument]] to xx | @16, @0x10 | DC |
| $ | [[ff3:ff3us:music:mmlcommands#jump|Jump]] to $, the Channel will restart there when hitting ";" | | F6 xxxx |
| oxx | [[ff3:ff3us:music:mmlcommands#octave|Set Octave]] to xx | o5 | D6 xx |
| %xx | [[ff3:ff3us:music:mmlcommands#volume|Set Song Volume]] to xx | | F4 xx |
| %bxx,yy | [[ff3:ff3us:music:mmlcommands#echo feedback|Set Echo Feedback]] to yy over xx frames | | F7 xx yy |
| %cxx | [[ff3:ff3us:music:mmlcommands#noise clock|Set Noise Clock]] to xx | | CF xx |
| %fxx,yy | [[ff3:ff3us:music:mmlcommands#filter|Set Filter]] | | F8 xx yy |
| %kxx | [[ff3:ff3us:music:mmlcommands#transpose|Set Transpose]] to xx | | D9 xx |
| %vxx | [[ff3:ff3us:music:mmlcommands#echo|Set Song Echo Volume]] to xx | %v28 | F2 xx |
| %d1 | [[ff3:ff3us:music:mmlcommands#drum roll|Enable Drum Roll]] | | E6 |
| %d0 | [[ff3:ff3us:music:mmlcommands#drum roll|Disable Drum Roll]] | | E7 |
| %e1 | [[ff3:ff3us:music:mmlcommands#echo|Enable Echo]] | | D4 |
| %e0 | [[ff3:ff3us:music:mmlcommands#echo|Disable Echo]] | | D5 |
| %p1 | [[ff3:ff3us:music:mmlcommands#pitch modulation|Enable Pitch Modulation]] | | D2 |
| %p0 | [[ff3:ff3us:music:mmlcommands#pitch modulation|Disable Pitch Modulation]] | | D3 |
| kxx | Add xx to [[ff3:ff3us:music:mmlcommands#transpose|Transpose]] | | DA xx |
| m | Disable [[ff3:ff3us:music:mmlcommands#vibrato|Vibrato]] | | CA |
| mxx,yy | [[ff3:ff3us:music:mmlcommands#pitch|Change Pitch]] to yy with [[ff3:ff3us:music:mmlcommands#envelope|Envelope]] Duration xx | | C8 xx yy |
| mxx,yy,zz | Enable [[ff3:ff3us:music:mmlcommands#vibrato|vibrato]] with [[ff3:ff3us:music:mmlcommands#delay|Delay]] of xx, [[ff3:ff3us:music:mmlcommands#cycle duration|Cycle Duration]] of yy and amplitude of zz | | C9 xx yy zz |
| p | Disable [[ff3:ff3us:music:mmlcommands#pan sweep|pan sweep]] | | CE |
| pxx | [[ff3:ff3us:music:mmlcommands#pan sweep|Set Channel Pan]] to xx | | C6 xx |
| pxx,yy | [[ff3:ff3us:music:mmlcommands#pan sweep|Set Channel Pan]] to xx with [[ff3:ff3us:music:mmlcommands#envelope|Envelope]] yy | | C7 xx yy |
| pxx,yy,zz | [[ff3:ff3us:music:mmlcommands#pan sweep|Enable Pan Sweep]] with delay of yy and [[ff3:ff3us:music:mmlcommands#cycle duration|Cycle Duration]] of zz | | CD yy zz |
| v | [[ff3:ff3us:music:mmlcommands#tremolo|Disable Tremolo]] | | CC |
| vxx | [[ff3:ff3us:music:mmlcommands#volume|Set Channel Volume]] to xx | v127, v0x7F | C4 xx |
| vxx,yy | [[ff3:ff3us:music:mmlcommands#volume|Set Channel Volume]] to yy with an [[ff3:ff3us:music:mmlcommands#envelope|Envelope]] of xx | | C5 xx yy |
| vxx,yy,zz | [[ff3:ff3us:music:mmlcommands#tremolo|Enable Tremolo]] with a [[ff3:ff3us:music:mmlcommands#delay|Delay]] of xx, [[ff3:ff3us:music:mmlcommands#cycle duration|Cycle Duration]] of yy and [[ff3:ff3us:music:mmlcommands#amplitude|Amplitude]] of zz | | CB xx yy zz |
| r | [[ff3:ff3us:music:mmlcommands#rest|Rest]]. The length of the rest is specified in the same way as note length | r8 | B6-C3 |
| txx | [[ff3:ff3us:music:mmlcommands#tempo|Set Tempo]] to xx bpm | t30 | F0 xx |
| > | [[ff3:ff3us:music:mmlcommands#octave|Increment Octave]] | | D7 |
| < | [[ff3:ff3us:music:mmlcommands#octave|Decrement Octave]] | | D8 |
| l | Apply length to a series of [[ff3:ff3us:music:mmlcommands#notes|notes]] | l8 gab | |
| ; | End of [[ff3:ff3us:music:mmlcommands#channel|channel]] | | EB |
| [xx | [[ff3:ff3us:music:mmlcommands#loop|Loop]] start. Loop xx times | [8a1] | E2 xx |
| ] | [[ff3:ff3us:music:mmlcommands#loop|Loop]] end | [8a1] | E3 |
| ^ | Sustained [[ff3:ff3us:music:mmlcommands#note|note]] or [[ff3:ff3us:music:mmlcommands#rest|rest]] | d1^8 | |
| . | [[ff3:ff3us:music:mmlcommands#note|Sustain a note]], as an example d1. equals d1^2, d1.. equals d1^2^4, etc. | d1.. | |
| , | [[ff3:ff3us:music:mmlcommands#argument|Command Argument]] separator (for 2 and more arguments) | | |
===== Details =====
==== Amplitude ====
==== Channel ====
==== Command ====
The things this page is about dummy!
==== Command Argument ====
==== Cycle Duration ====
==== Delay ====
==== Drum Roll ====
==== Envelope ====
==== Echo ====
==== Echo Feedback ====
==== Filter ====
==== Instrument ====
==== Jump ====
==== Loop ====
==== Noise Clock ====
==== Note ====
==== Octave ====
==== Pan Sweep ====
==== Pitch ====
==== Pitch Modulation ====
==== Rest ====
==== Tempo ====
==== Transpose ====
==== Tremolo ====
==== Vibrato ====
==== Volume ====