Difference between revisions of "NRTDRV MAN EN SYNTAX MMLCOMMAND"
(Created page with "==MML command list== These commands below are calud in MML tracks. ------------------------------------------------------------------------------ ===a-g<len> === Scale notes...") (Tags: Mobile edit, Mobile web edit) |
(No difference)
|
Revision as of 19:20, 24 July 2018
Contents
- 1 MML command list
- 1.1 a-g<len>
- 1.2 r<len>
- 1.3 +
- 1.4 -
- 1.5 =
- 1.6 ^
- 1.7 &
- 1.8 (
- 1.9 )
- 1.10 o<num>
- 1.11 >
- 1.12 <
- 1.13 l<len>
- 1.14 t<num>
- 1.15 C<num>,<num>
- 1.16 q<num>
- 1.17 Q<num>
- 1.18 QM<num>
- 1.19 @<inst>
- 1.20 @P<inst>
- 1.21 @E<inst>
- 1.22 @TD<num>
- 1.23 v<num>
- 1.24 V<num>
- 1.25 v+<num>
- 1.26 v-<num>
- 1.27 vi<num>
- 1.28 vr<num>
- 1.29 VOP<num>
- 1.30 P<num>
- 1.31 PP<num>,<num>,…
- 1.32 PV<num>,<num>,…
- 1.33 N<num>
- 1.34 s<num>
- 1.35 m<num>
- 1.36 p<num>
- 1.37 pn<num>
- 1.38 <str>_<str><len>,<num>
- 1.39 G<num>,<num>
- 1.40 D<num>
- 1.41 K<num>
- 1.42 FO<num>
- 1.43 R<num>,<num>
- 1.44 DR<num>
- 1.45 x<num>,<num>,…
- 1.46 y<num>,<num>(,…>)
- 1.47 yDM<num>,<num>(,…)
- 1.48 yTL<num>,<num>(,…)
- 1.49 yKA<num>,<num>(,<num>)
- 1.50 yAD<num>,<num>(,<num>)
- 1.51 yDR<num>,<num>(,<num>)
- 1.52 yDS<num>,<num>(,<num>)
- 1.53 ySR<num>,<num>(,<num>)
- 1.54 ySL<num>,<num>(,<num>)
- 1.55 z<num>,<num>,…
- 1.56 <str>,<str>
- 1.57 <str>0<str>
- 1.58 @v
- 1.59 @V
- 1.60 [<num> 〜 / 〜 ]<num>
- 1.61 L
- 1.62 '<track> 〜 '
- 1.63 |
- 1.64 j
- 1.65 @L<inst>
- 1.66 I
- 1.67 I@
- 1.68 IP
- 1.69 IV
- 1.70 *
- 1.71 ‾<str>
- 1.72 **
- 1.73 HL
- 1.74 HM<num>,<num>
- 2 •HP<num> =
MML command list
These commands below are calud in MML tracks.
a-g<len>
Scale notes
r<len>
Rests
+
Sharp (an accidental sign if it is after the scale, a signature before the scale). *See note 1.
-
Flat (an accidental sign if it is after the scale, a signature before the scale). *See note 1.
=
Natural (an accidental sign if it is after the scale, a signature before the scale). *See note 1.
^
Tie (It is valid only after scale or note value).
&
Slur. *See note 2.
(
Legato on (starts slur). *See note 2.
)
Legato off (ends slur). *See note 2.
o<num>
Octave (0-9). *See note 3.
>
Relative octave up (revert by #OCTA_X)
<
Relative octave down (revert by #OCTA_X)
l<len>
Default note value.
t<num>
Tempo (1-999)
C<num>,<num>
CTC0/3 time constant (0-255)
q<num>
Gate time 1 (1- #Q_MAX/QM value) defines length of sound. *See note 4.
Q<num>
Gate time 2 (0-255) define shorten counts. *See note 4.
QM<num>
Defines denominator of q command.(4-255). 255 is special mode.
@<inst>
Selects tone (0-9999, or tone name itself).
@P<inst>
Same as above [for PSG only]
@E<inst>
Same as @P [for PSG only]
@TD<num>
Select definition number of Tone Doubler (0-15) [OPM only]
v<num>
Volume 1 (0-appropriate value) *See note 5.
V<num>
Volume 2 (0-127) *See note 6.
v+<num>
Relative volume up (1-appropriate value or vi when omitted). Values are same as v command.
v-<num>
Relative volume down (1-appropriate value or vi when omitted). Values are same as v command.
vi<num>
Default volume when definition is omitted (1-appropriate value, default is 1).
vr<num>
Volume when rest (0-appropriate value). See note 5.
VOP<num>
Target operator of volume commands(0=career, 1-15=OP value)[for OPM only]
P<num>
OPM pan pot / PSG tone/noise definition. See note 7.
PP<num>,<num>,…
Define pattern pan pot. See note 25.
PV<num>,<num>,…
Define pattern volume. See note 26.
N<num>
Noise frequency (0-31 or 255). See note 9.
s<num>
Select hardware envelope shape (0-15) [for PSG only]
m<num>
Select hardware envelope loop (0-65535) [for PSG only]
p<num>
Value type portamento (speed with 1-255, 0 is off)
pn<num>
Start note of portamento (note with 1-120, 0 is off).
<str>_<str><len>,<num>
Music scale type portamento (smoothly sound between two)
G<num>,<num>
Glide (start note -8192-8191, additional difference 1-256) *Off with G0.
D<num>
Detune (-128-127 or -16354-16383)
K<num>
Transposition (-128-127) *See note 11.
FO<num>
Fade out (0-15). See note 12.
R<num>,<num>
PSG release rate (0-31), release level (0-15).
DR<num>
Self delay (converts rest to note same as 1-3 preceding, 0 is off).
x<num>,<num>,…
Binary embedded (data, data ... ). *255 bytes maximum.
y<num>,<num>(,…>)
Writes 1 bytes to register (resister number, data). *See note 22.
yDM<num>,<num>(,…)
DT1/MUL value direct setting [for OPM only] *See note 23.
yTL<num>,<num>(,…)
TL value direct setting [for OPM only] *See note 23. *VOP recommended.
yKA<num>,<num>(,<num>)
KS/AR value direct setting [for OPM only] *See note 23.
yAD<num>,<num>(,<num>)
AME/DR value direct setting [for OPM only] *See note 23.
yDR<num>,<num>(,<num>)
Same as above.
yDS<num>,<num>(,<num>)
DT2/SR value direct setting [for OPM only] *See note 23.
ySR<num>,<num>(,<num>)
Same as above.
ySL<num>,<num>(,<num>)
SL/RR value direct setting [for OPM only] *See note 23.
z<num>,<num>,…
Continuous writing to resisters (register number, data ...) *See note 13.
<str>,<str>
Tone doubler scale setting [for OPM only] *See note 27.
<str>0<str>
Same as above.
@v
OPM table settings [only for OPM]
@V
Same as above.
[<num> 〜 / 〜 ]<num>
Repeat settings (2-255, 2 is set if omitted). Maximum 5 level nesting.
L
Loop pointer "<str>"<len>,<len>. Arpeggio.
'<track> 〜 '
Track nesting (only valid within specified track).
|
Mandatory key off.
j
Fast forwarding (cueing to the point if this sign).
@L<inst>
Displaying lyrics ( when the command executed).
I
Disable tone, volume and sound location. *See note 15.
I@
Disable @ command *See note 15.
IP
Disable P command. *See note 15.
IV
Disable volume command. *See note 15.
*
Stops track. *See note 16.
‾<str>
Restarts track. *See note 16.
**
Ends track (ends compile for target track).
HL
Hardware LFO [only for OPM] *See note 17.
HM<num>,<num>
Hardware LFO, PMS/AMS specification for each tracks (PMS=0-7, AMS=0-3)
•HP<num> =
Hardware LFO, PMS specification for each tracks(0-7).
HA<num>
Hardware LFO, AMS specification for each tracks(0-3).
HS<num>
Hardware LFO, resets phase when key on (0=no, 1=yes).
HR
Phase reset.
SP
Software LFO(vibrato). *See note 18.
SA
Software LFO(tremolo). *See note 18.
SSP
Software LFO(vibrato) non-synchronized mode with key on. *See note 24.
SSA
Software LFO(tremolo) non-synchronized mode with key on. *See note 24.
SRP
Stops software LFO (vibrato).
SRA
Stops software LFO (tremolo).
SR
Stops software LFO (both).
!<str>
Driver macro [for OPM only].
?<str>
Driver macro [for PSG only].
$<str>
Compiler macro.
{ 〜 }
Linefeed valid area. *See note 19.
:
Separate sign (processed same as space character internally).
;
One line comment (valid till linefeed).
/* 〜 */
Specifies comment area. *See note 20.
-<num> contains numerics. Refer "Numeral expressions" for details. -<len> contains note value. Refer "note value" for details. -<str> contains strings.