VGM-to-MIDI Converter (JavaScript based)
- neologix
- Posts: 60
- Joined: Tue Apr 24, 2007 11:32 am
- Location: New York, NY, USA
- Contact:
- neologix
- Posts: 60
- Joined: Tue Apr 24, 2007 11:32 am
- Location: New York, NY, USA
- Contact:
project updated! PLEASE RE-DOWNLOAD THE PROJECT.
http://spheredev.org/~neologix/beta/vgm2midi.zip
biggest change btwn this and the last one is the ability to convert ym2151 vgms.
that problem savvn had was a result of the code attempting to write an empty GD3 string to the midi file. the file he gave me also allowed me to fix another underlying bug that i had a feeling existed, but wasn't able to check properly: PAL vgms would sound sped up cuz the midi's resolution stayed at NTSC (30, aka 60/2) instead of changing for PAL (25, aka 50/2).
the method i used to fix the note dropping has introduced a random incorrect pitch issue. it usually happens w/a pitch bending note; "stage 1" of atomic runner chelnov has this prominently.
http://spheredev.org/~neologix/beta/vgm2midi.zip
biggest change btwn this and the last one is the ability to convert ym2151 vgms.
that problem savvn had was a result of the code attempting to write an empty GD3 string to the midi file. the file he gave me also allowed me to fix another underlying bug that i had a feeling existed, but wasn't able to check properly: PAL vgms would sound sped up cuz the midi's resolution stayed at NTSC (30, aka 60/2) instead of changing for PAL (25, aka 50/2).
the method i used to fix the note dropping has introduced a random incorrect pitch issue. it usually happens w/a pitch bending note; "stage 1" of atomic runner chelnov has this prominently.
- neologix
- Posts: 60
- Joined: Tue Apr 24, 2007 11:32 am
- Location: New York, NY, USA
- Contact:
AFAIK, the only way to get ym2151 vgm files is to convert *.cym dumps. *.cym files can be dumped from kawaks, mame (requires some specific instructions to enable which escape me ATM), callus (the originator of the format), and probably one or two other cps-1 emulators. run the cym file thru vgmtool's format converter and voila - a ym2151 format vgm. ATM, the only in_vgm that can play those vgms is pre-v2 in_vgm (until maxim gets some time or something).
IIRC, the currently available public vgmtool allows proper conversion (the resulting files are marked vgm version 1.10; my as of yet unreleased update marks them 1.50). if it doesn't, then i guess i'm gonna have to release my update rather incomplete sooner than i planned... :/
IIRC, the currently available public vgmtool allows proper conversion (the resulting files are marked vgm version 1.10; my as of yet unreleased update marks them 1.50). if it doesn't, then i guess i'm gonna have to release my update rather incomplete sooner than i planned... :/
- neologix
- Posts: 60
- Joined: Tue Apr 24, 2007 11:32 am
- Location: New York, NY, USA
- Contact:
percussion is primarily a DAC channel thing, and i have yet to even begin properly on THAT. psg noise channel should be fine, tho, and if one knows enough javascript there exists a boolean switch (which will be a checkbox in the official vgmtool) that lets one choose to put psg noise on a melody channel (as seashore or applause or something) instead of percussion channel.
- Dark Pulse
- Board Regular
- Posts: 141
- Joined: Wed Jun 28, 2006 2:16 am
- Location: Buffalo, NY, USA
- Contact:
-
- New Around Here
- Posts: 8
- Joined: Thu Feb 03, 2011 3:13 am