Pages: 1 2 [3]   Go Down
  Print  
Author Topic: A bit more of talentless work ;)  (Read 10102 times)
0 Members and 2 Guests are viewing this topic.
NewRisingSUn
Senior Member
*
Offline Offline

Posts: 634


View Profile
« Reply #40 on: February 15, 2009, 03:15:51 PM »

That's because the XMI file itself is screwy. Smiley It seems the author edited it on another system (probably Mac or Atari), then just transfered the data without any sync to a PC by setting the recording computer's tempo to 100.01 and then just recording it, no matter what the original tempo was, THEN converted it to XMI. It's the same thing with Wing Commander 1 MIDI files, and Realms of Arkania II's XMIs.

Therefore, I suggest to test your converter, you use XMI files from some other game. Try this file from Ultima 8 --- it has tempo changes within the file and lots of volume slides, mercilessly exposing any error in your tempo handling. If you do it properly though, it's guaranteed to fall into the measure-beat grid.
« Last Edit: October 22, 2011, 07:26:13 PM by NewRisingSUn » Logged
Zemus
Senior Member
*
Offline Offline

Posts: 1,366


View Profile WWW
« Reply #41 on: February 15, 2009, 08:02:48 PM »

Haha, that broke everything. It works fine if I ignore the old tempo events and just convert it to 60bpm though.
Logged
Zemus
Senior Member
*
Offline Offline

Posts: 1,366


View Profile WWW
« Reply #42 on: February 17, 2009, 10:22:46 PM »

Still super-horrible. Guess I have to go through each calculation to see where it goes wrong. Someday...
Logged
NewRisingSUn
Senior Member
*
Offline Offline

Posts: 634


View Profile
« Reply #43 on: February 18, 2009, 05:35:48 AM »

I can also give you the source to my program, which does it right, kind of as a cheat sheet.
Logged
Zemus
Senior Member
*
Offline Offline

Posts: 1,366


View Profile WWW
« Reply #44 on: February 18, 2009, 12:32:16 PM »

If you would, that'd be great. Smiley

Logged
Pages: 1 2 [3]   Go Up
  Print  
 
Jump to: