vgmrips / vgmtools

A collection of tools for the VGM file format
GNU General Public License v2.0
118 stars 18 forks source link

vgm2txt guessing vertical blank interrupt #3

Open ghost opened 7 years ago

ghost commented 7 years ago

would be great having vgm2txt guessing and logging vertical blank interrupt (50hz, 60hz, etc.), and having multiple guessing logs when the delay time is proportional to that

superctr commented 7 years ago

Use vgm_facc for that.

Den 22 juni 2017 2:10 em skrev "nitrofurano" notifications@github.com:

would be great having vgm2txt guessing and logging vertical blank interrupt (50hz, 60hz, etc.), and having multiple guessing logs when the delay time is proportional to that

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vgmrips/vgmtools/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGw8WmlNmFVRLBxra-yrjDIZctVElBXks5sGlnMgaJpZM4OCNK1 .

ValleyBell commented 7 years ago

Usually you either do frame-accurate 50 or 60 Hz logs - then it should be obvious due to 735 and 882 sample delays - or you log sample-accurate.
In the latter case, you often can't properly guess the timing, because the logs might use something like 59.97 Hz or some odd rates that you get from the YM2612/YM2151's built-in timers.

I also wouldn't know how to do the guessing properly. Especially with FM chips writing instrument data can take a very long time (up to 1/3th of a frame when you set instruments on 6 FM channels). And during that frame you can't do any guessing at all.