Skip to content

vgmfmprm

Technical discussion which is not directly related to VGM files. Talk about Hardware and Software.

Moderator: Staff

  • User avatar
  • dksrphm Offline
  • Posts: 7
  • Joined: 2018-02-25, 6:34:58

vgmfmprm

Post by dksrphm »

This tool extract FM Parameters for mml2vgm from VGM file.

GitHub: https://github.com/dksrphm/vgmfmprm
  • User avatar
  • dksrphm Offline
  • Posts: 7
  • Joined: 2018-02-25, 6:34:58

Post by dksrphm »

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.
  • User avatar
  • dksrphm Offline
  • Posts: 7
  • Joined: 2018-02-25, 6:34:58

Post by dksrphm »

This tool can extract parameters for below chip. (Because mml2vgm supports only them)
-YM2151
-YM2203
-YM2608
-YM2610b
-YM2612

I uploaded sources to GitHub.

Many similar tool are there already.
Silly code, but it shows useful info FOR ME.
Try this, if you need this...
  • Dekyo-NO Offline
  • Posts: 100
  • Joined: 2017-11-02, 3:58:27

Post by Dekyo-NO »

Thank you, this probably can be a big help for me! Specially when I plan to learn mml2vgm, which is a powerful music tool.
  • User avatar
  • mrparn Offline
  • Posts: 10
  • Joined: 2014-04-01, 15:44:03
  • Location: Brasília-DF / Brazil
  • Contact:

Post by mrparn »

This looks useful to me as well. Thank you!
  • lo zaffo Offline
  • Posts: 39
  • Joined: 2016-08-03, 22:36:09
  • Location: Italy

Post by lo zaffo »

Pretty amazing. Pieces are coming together and hopefully one day I will understand MML at last!
Thank You! :beer:
  • Dekyo-NO Offline
  • Posts: 100
  • Joined: 2017-11-02, 3:58:27

Post by Dekyo-NO »

@lo zaffo You can understand MML, but I'm very slow for MML. I wonder if I someday, can be more faster for MML. Maybe in a few more years? Who knows.
Post Reply