Changes

Jump to: navigation, search

MGSDRV MML 11

10 bytes added, 05:15, 26 June 2018
Tone definition
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