Changes

Jump to: navigation, search

MGSDRV MML 11

27 bytes added, 05:17, 26 June 2018
#title
Specifies title name of the data. Multiple lines are valid if you use with "{" and "}". Maximum length is 1k byte, including comments or others.
Example:#title { "Falcom Ys morning grow" "SCC is needed" }
If you want to use double quotation in strings, repeat twice. If "Object too big" error occurs when exceed 80 characters in the title, usually it can be avoided with allocating track buffer (and reduce it lesser than automatic allocated bytes) with #alloc.
Allocates track buffers. Usually, track buffer is automatically allocated (16k/ all tracks(=16 or 18) bytes) when the track is used first time. If you use many tracks to write MML in, allocate bytes with this command.
Example:#alloc 0=100; Allocates 100 bytes to track 0 #alloc { 3=100, 5=256 }
#alloc { 3=100,
5=256 }
;Allocates multiple track buffers at once
Specifies tone/noise mode for PSG. The range is 0-3 and 1 is used when it is omitted.
0 - no specification (and nothing changed) 1 - only tone 2 - only noise 3 - tone and noise
(2) Noise
;]
Defines emd end position of repetition.
;@<tone_number>
Writes data<d> to register<r>, which actually uses envelope. It is ignored for SCC.
;¥<n>
Adds <n> to current frequency. The range is -127 to 127. It rises frequency with positive number. Unit is the same as "¥" MML command.
Defines envelope data.
 Mode Mode ... same as@e. Noise Noise ... same as@e.
Up to about 10 is appropriate because if you set huge number to this parameter, sound ends in a moment (if you wish it on some purpose).
;RR
Speed of reducing volume from key off. RE is reduced from envelope volume which currently holded.
Defines tone data fir SCC. Data are hexadecimal(00-ff). Data should be 32 units and cannot be omitted.
Example:@s02 = { 7f7f7f7f 7f7f7f7f 7f7f7f7f 7f7f7f7f ;PSG 80808080 80808080 80808080 80808080 }
;@v<number> = { data ... }
Defines original tone of FM.
Example:@v15 = { ;BRASS
; TL FB
25, 7,
;@#<number> = <n>
Changes assigned ROM tone number of the tone. MGSC assigns 1-15 of ROM tone to @0-14. Tones after @15 is assigned 0(original tone) and definition of tone is valid when <number> is more than 15. @# changes ROM tone number assigned to each tones. The range of <n> is 0-15 and 0 means original tone(refer about other numbers).
 
==Comments==

Navigation menu