This tool extract FM Parameters for mml2vgm from VGM file.
GitHub: https://github.com/dksrphm/vgmfmprm
vgmfmprm
Technical discussion which is not directly related to VGM files. Talk about Hardware and Software.
Moderator: Staff
Tool output example:
> vgmfmprm.exe OutRun_MagicalSoundShower.vgm
YM2151[4] samples:321 @0 // YM2151 Ch4 uses tone id @0 at VGMsample#: 321
'@ M 0 // FM tone parameters of @0 in mml2vgm format.
AR DR SR RR SL TL KS ML DT1 DT2 AME
'@ 031,018,007,008,012,043,000,010,004,000,000,
'@ 031,017,000,008,015,042,001,001,007,000,000,
'@ 031,009,000,008,015,025,001,000,004,000,000,
'@ 031,009,000,008,015,000,001,000,004,000,000,
ALG FB
'@ 001,006
YM2151[5] samples:402 @1 // YM2151 Ch5 uses tone id @1 at VGMsample#: 402
'@ M 1 // FM tone parameters of @1 in mml2vgm format.
AR DR SR RR SL TL KS ML DT1 DT2 AME
'@ 029,006,005,004,005,045,001,005,000,000,000,
'@ 029,007,006,005,004,047,001,003,002,000,000,
'@ 030,007,006,006,004,033,001,001,003,000,000,
'@ 029,006,008,007,003,014,001,001,007,000,000,
ALG FB
'@ 003,006
:
YM2151[6] samples:483 @1 // YM2151 Ch6 also uses tone id @1 at VGMsample#: 483
:
These outputs can use in mml2vgm.
> vgmfmprm.exe OutRun_MagicalSoundShower.vgm
YM2151[4] samples:321 @0 // YM2151 Ch4 uses tone id @0 at VGMsample#: 321
'@ M 0 // FM tone parameters of @0 in mml2vgm format.
AR DR SR RR SL TL KS ML DT1 DT2 AME
'@ 031,018,007,008,012,043,000,010,004,000,000,
'@ 031,017,000,008,015,042,001,001,007,000,000,
'@ 031,009,000,008,015,025,001,000,004,000,000,
'@ 031,009,000,008,015,000,001,000,004,000,000,
ALG FB
'@ 001,006
YM2151[5] samples:402 @1 // YM2151 Ch5 uses tone id @1 at VGMsample#: 402
'@ M 1 // FM tone parameters of @1 in mml2vgm format.
AR DR SR RR SL TL KS ML DT1 DT2 AME
'@ 029,006,005,004,005,045,001,005,000,000,000,
'@ 029,007,006,005,004,047,001,003,002,000,000,
'@ 030,007,006,006,004,033,001,001,003,000,000,
'@ 029,006,008,007,003,014,001,001,007,000,000,
ALG FB
'@ 003,006
:
YM2151[6] samples:483 @1 // YM2151 Ch6 also uses tone id @1 at VGMsample#: 483
:
These outputs can use in mml2vgm.