View difference between Paste ID: AfTJEXEm and TjptnAbk
SHOW: | | - or go back to the newest paste.
1
              mml2mid Command Chart
2-
              mml2mid コマンド早見表
2+
3
4
a                  La
5
b                  Ti
6
c                  Do
7
d                  Re
8
e                  Mi
9
f                   Fa
10
g                  So
11
h                  #german definition line starts here
12
i                  --
13
j                  --
14
kn1(,n2,n3)      Velocity, change value, switch
15
krn1(,n2)          random velocity, type
16
ln                 Sound Length. Initial value is 4. l8. and l%5 also possible.
17
m                  --
18
n                  --
19
on                 Octave. Initially 4. o4's c is SMF note number 60.
20
pn1(,n2,n3)        Panpot, change value, switch
21
qn1,n2             Gate time, minimum sound length.
22
r                  rest
23
s                  Release omitted features like Control Change once.
24
tn                 You set the tempo between 1-65535. Initial value undefined.
25
u                  --
26
vn                 Volume. Range 1-127.
27
wn                 Key-off velocity. Initially 0.
28
xnn                Hexadecimal specified value.
29
yn1,n2             Control Change. Range for n1 and n2 between 0 and 127.
30
zn                 Variable z0-z255
31
32
33
An1(,n2)           Polyphonic Key pressure
34
BSn                Bend. Range is 0-127. (same as ~n)
35
BRn                Bend Range.
36
BTn1,n2            Beat. Numerator is n1, denominator is n2. (Ex. BT6,8 = 6/8 time.)
37
BWn                2-byte bend. Range 0-16383. BS64 = BW8192, BS127=BW16383.
38
Cn                 MIDI channel. Range 1-16. Track name written in Cn "..."
39
C                  Character representing the current MIDI channel.
40
Dn                 Detune. n's value is between -64 and 63
41
En                 Expression.
42
EEn1,n2,n3,n4....  Output data directly to SMF
43
EXn1,n2,n3,n4....  Exclusive. Automatic checksum calculation for values included in {...}
44
FBn1,n2,n3,n4....  Envelope (Bend)
45
FWn1,n2,n3,n4.... Envelope (2-byte bend)
46
FEn1,n2,n3,n4....  Envelope(Expression)
47
FPn1,n2,n3,n4....  Envelope(Panpot)
48
FVn1,n2,n3,n4....  Envelope(Volume)
49
FCn1,n2,n3,n4....  Envelope(Cutoff frequency)
50
FRn1,n2,n3,n4....  Envelope(Resonance)
51
FMn1,n2,n3,n4....  Envelope(Modulation)
52
FAn1,n2,n3,n4....  Envelope(After-touch)
53
FTn1,n2,n3,n4....  Envelope(Tempo)
54
Gn                 Channel Pressure (0 <= n <=127)
55
Hn1,n2             Bank Change.(Same as y0,n1 y32,n2)
56
IBn1,n2,n3,n4(,n5) Amplitude Modulation (Bend)
57
IWn1,n2,n3,n4(,n5) Amplitude Modulation (2-byte Bend)
58
IEn1,n2,n3,n4(,n5) Amplitude Modulation (Expression)
59
IPn1,n2,n3,n4(,n5) Amplitude Modulation(Panpot)
60
IVn1,n2,n3,n4(,n5) Amplitude Modulation(Volume)
61
ICn1,n2,n3,n4(,n5) Amplitude Modulation(Cutoff Frequency)
62
IRn1,n2,n3,n4(,n5) Amplitude Modulation(Resonance)
63
IMn1,n2,n3,n4(,n5) Amplitude Modulation(Modulation)
64
IAn1,n2,n3,n4(,n5) Amplitude Modulation(After-touch)
65
ITn1,n2,n3,n4(,n5) Amplitude Modulation(Tempo)
66
Jn                 Specify scale by number, ignoring scale of later. Reset with J0.
67
Kn1(,n2)           Key-on, velocity
68
KI                 Key signature(minor)
69
KJ                 Key signature (major)
70
L                  --
71
Mn1,n2             Delay time (n1) with modulation (n2)
72
MOF                MONn is the same as Mn1,n2 command. Reset with MON0
73
MONn               Unconditional modulation. Range is 0-127。
74
Nn1,n2,n3          NRPN command. n1...MSB, n2...LSB, n3... data
75
O                  --
76
P                  Damper Pedal (Control Change value 64) turn on.
77
Qn                 Designate Gate Time ratio. Initially 8.
78
R                  Roland-style Channel.
79
RT                 Specify Track Rhythm part.
80
S                  Shows the current number of steps (at compile time).
81
TCn                Specifies Cutoff frequency (0<=n<=127)
82
TRn                Specifies Resonance (0<=n<=127)
83
UBn1,n2,n3,n4....  2nd Envelope (Bend)
84
UWn1,n2,n3,n4....  2nd Envelope (2-byte Bend)
85
UEn1,n2,n3,n4....  2nd Envelope (Expression)
86
UPn1,n2,n3,n4....  2nd Envelope (Panpot)
87
UVn1,n2,n3,n4....  2nd Envelope (Volume)
88
UCn1,n2,n3,n4....  2nd Envelope (Cutoff Frequency)
89
URn1,n2,n3,n4....  2nd Envelope (Resonance)
90
UMn1,n2,n3,n4....  2nd Envelope (Modulation)
91
UAn1,n2,n3,n4....  2nd Envelope (Aftertouch)
92
UTn1,n2,n3,n4....  2nd Envelope (Tempo)
93
Vn                 [(n] and [)n]  specify default value for n. Initially 4.
94
WT"...."           Text description. Can be used for memos.
95
WI"...."           Instrument name description.
96
WL"...."           Lyrics description.
97
WM"...."           Marker. Rehearsal Marks and Section Name.
98
WC"...."           Cue point Memo
99
X                  Turns Damper Pedal off.
100
Y                  --
101
Z{...}             Variable operation command. Assigned value, addition, subtraction.
102
103
104
#title "....."     Title
105
#copyright "....." Copywrite
106
#timebase n        Timebase
107
#include "....."   Files to include
108
#swap<>          Raise > and Lower < the octave.
109
#swap()            Raise ) and Lover ( velocity
110
#german            Use German Note names. h is Ti. b is Ti flat.
111
# 数 "名前"        Use external preprocessor
112
-                  Flat
113
+                  Sharm
114
*                  Natural
115
$n                 Macro. $0a-$9a, ..., $0z-$9z
116
&                  Continue the previous sound (No key-off)
117
<                  Lower Octave by 1.
118
>                  Raise Octave by 1.
119
(n                 Lower velocity by n. (default value of n specified with Vn)
120
)n                Raise velocity by n. (default value of n specified with Vn)
121
[...]n             Repeat '[]' the specified number of times.
122
:                  Exits loop of '[]'.
123
@n                 Program Change. Range is 0-127
124
@+n                Increase Program Change value by n.
125
!                  Ignore all track data after this point.
126
/*                 */This is a comment/*
127
;                  After this, the rest of the line is considered a comment.
128
_n                 Modulation
129
__n                Relative Modulation
130
&n                 Specify [n] note length
131
%n                 Specify sound length Clock Speed.
132
|                  Bar line. Treated the same as blank and TAB
133
=n                 Performance Switch. =1 skips performance. =0 is return.
134
~n                 Bend. Same as BSn.
135
?                  Designates Track Wild Card('?'is designated by 'A'-'Z')
136
\                  Line Wrapping