vgmrips

The forum about vgm files
It is currently 2019-03-21, 4:17:16

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2019-02-18, 22:38:20 
Offline

Joined: 2019-02-16, 17:36:05
Posts: 5
Hi there , so i have a couple of questions about vgm reverse engineering.

First of all is there a tool to export every channel of vgm/vgz track to audio stems , other than rymcast.

RYMcast works for the most part , but there are still some issues.

For example when i convert vgm to midi (using vgm2midi tool) and export stems using rymcast.
for some reason they dont line up well in my DAW.
You can see it here
Image

Here are settings for conversion in vgm2midi
Image

Is there any other Vgm to midi tools and vgm to Audio stems? I only found Vgm2midi and RYMcast that do the job, but the syncing part is not good.

For some reason i cant post url's , so thats the only way to show you guys what i mean.

Thanks! :D


Top
 Profile  
 
 Post subject:
PostPosted: 2019-02-19, 22:59:53 
Offline

Joined: 2019-02-16, 17:36:05
Posts: 5
So essentially what i wanna do here , is to lineup midi and audio wav export files. For some reason if i play them simultaneously they dont sync up ,in the begining it sounds kinda close and fine but after a while it sounds out of sync. :)


Top
 Profile  
 
 Post subject:
PostPosted: 2019-02-20, 21:52:42 

Contributors Contributors
Offline
User avatar

Joined: 2018-02-19, 16:38:39
Posts: 7
For audio conversion, why just not use VGMPlay? You can individually mute the audio channels in the config file and enable write to .wav only.

Besides, why not just cut up the audio / delay manually?

_________________
Find me on other platforms:


Top
 Profile  
 
 Post subject:
PostPosted: 2019-02-23, 10:30:57 
Offline

Joined: 2019-02-16, 17:36:05
Posts: 5
DeltaRazero wrote:
For audio conversion, why just not use VGMPlay? You can individually mute the audio channels in the config file and enable write to .wav only.

Besides, why not just cut up the audio / delay manually?


regarding Vgmplay , i agree thats a valid option too.
But in my case its much faster to click on a button in rymcast to quickly export each channel , rather than change 6 times an ini file and rename each file to corresponding channel afterwards. I am sure there is an easier way to export tracks with vgmplay using some kind of a batch script or something similar. If you know it , please share :roll:

But personally think rymcast is a really handy tool.


Relating sync issue , i found out that the problem is not because of a silence in the begining of a wav exports , even if i manually correct it , eventually it will go out of sync .
Maybe because vgm2mid converting it to 120 bpm

Image


Top
 Profile  
 
 Post subject:
PostPosted: 2019-02-23, 13:37:16 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Reverse engineers Reverse engineers
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 3067
Location: Germany
Sorry for being late.

I just did a quick check and compared the MIDI (from vgm2mid) with a WAV log from VGMPlay.
The last note on the 2nd PSG channel begins at 28:3:039 (bar:measure:tick) in the MIDI when converted with BPM set to 120 (default). This is at 55.0406 seconds. (The previous MIDI tick is at 55.0396 s.)
In the WAV log made with VGMPlay, the same tone begins at sample 2427276, which is at 55.0403 seconds.
So I think that vgm2mid's timing is pretty accurate here.

I intentionally did NOT use the YM2612 channels for comparison, because 1. FM envelopes take some time to be visible and 2. DAC conversion isn't very good either.
But for PSG channels it is easy: All commands have an instant effect.

Maybe RYMCast's export isn't accurate and that's the reasons it desyncs compared to the MIDI?
Having vgm2mid set to 120 BPM is definitely safe. (VGMs don't have any tempo information, so it doesn't matter what BPMs you set. MIDIs store "microseconds per quarter" though, so some BPMs cause rounding errors.)


Top
 Profile  
 
 Post subject:
PostPosted: 2019-02-24, 6:12:48 
Offline

Joined: 2019-02-16, 17:36:05
Posts: 5
Thank you for the answer.

Is there a quick and easy way to export each channel to wav from a vgm file using VGMplay.
I know i can change ini one by one and drag and drop a vgm file on a VGMplay .exe. But its kinda tedious if i wanna log each channel and chip.

I am sure there is something that could automate the process and even rename each wav coresponding to its channel and chip. :D


Top
 Profile  
 
 Post subject:
PostPosted: 2019-02-27, 9:11:47 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Reverse engineers Reverse engineers
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 3067
Location: Germany
I'm afraid there is no "easy" way to do this just with VGMPlay. There are no commandline options to control channel muting right now.
You might be able to automate parts of the process with .bat or .sh scripts though.

Maybe a decent alternative would be to using kode54's Multidumper.


Top
 Profile  
 
 Post subject:
PostPosted: 2019-02-28, 9:34:56 
Offline

Joined: 2019-02-16, 17:36:05
Posts: 5
Thanks ! :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
[ Time : 0.143s | 16 Queries | GZIP : On ]