News:

Herr Otto Partz says you're all nothing but pipsqueaks!

Main Menu

Stunts MIDI music

Started by clvn, May 31, 2010, 12:20:21 PM

Previous topic - Next topic

clvn

Hi,

I wanted to share with you this zip of MIDI files converted from the original game files:

http://dl.dropbox.com/u/213479/stuntsmidi.zip

It is not a perfect conversion, things like modulation and pitch bend (?) are not converted. C++ source code for the converter is included.

There are also MIDI files from the game on this page: http://stunts.kalpen.de/specials.htm, however these are not related.

llm

@clvn
you can use dosbox to record the "original" midi-music - maybe that helps creating (finding) the correct values for the converter
http://ubuntuforums.org/showthread.php?t=458629

if someone wants to know why a conversion is needed
the target platforms for the port are windows and linux,... these do not allow direct control of the soundcard
so the music is needed in a more-up-to-date way for example, midi, wav,...

Duplode

Hello clvn and llm, long time no see! That is very cool... a while ago (in January, maybe) I did some "old-fashioned" (without using the disassembled code) experiments with the music tracks and found some of the basic things such as instrument codes, pitch and length of the notes. I still can't remember where I put the txt with the annotations, but anyway there shouldn't be much new stuff in it considering this midi converter works fine.

With the music being tractable already, the biggest challenge would be understanding the format used for the samples - which cover both the musical instruments and the engine sounds if I'm not mistaken.

llm

Quotebut anyway there shouldn't be much new stuff in it considering this midi converter works fine

clvn got still problems with the correct speed - as you can hear when listening to the midis in the zip-file

Quotethe biggest challenge would be understanding the format used for the samples - which cover both the musical instruments and the engine sounds if I'm not mistaken

any ideas :-)

llm

maybe it could help to have an good sounding midi (maybe an midi record of an roland mt32) to find out the right values by diffing to generated midi files

dstien

Nice work as usual, clvn! I'm a little late to the party, but I've finally taken a look on your converter. Attached is my updates with parsing of tempo, controllers, pitch and some meta events, corrected parsing of variable-length values (used for delta and note duration), and writing of track names.

The remaining unhandled codes used by the music files looks like loop markers.

I tried to read additional instrument settings from MTSKIDMS.VCE (commented out in the attached source), but the MT-32 patches just sounds awful, even on my 90s Roland GM module...

dstien

Did some more bikeshedding and attempts to parse voice properties again. Here's how the selection screen theme sounds now, converted to .mid and rendered through an MT-32 emulator:
http://surr.no/pub/2010-07-16-Stunts_MT-32_SLCT.oga

CTG


CTG


Chulk

Quote from: CTG on April 17, 2011, 10:47:20 PM
Another version:

http://www.youtube.com/watch?v=nhjOk3Zeq4I#noexternalembed
This one is great.

Also, if you happened to play Captain Tsubasa 2 on NES and remember it's awesome music (1 per important team), here's a guy playing them on guitar

http://www.youtube.com/watch?v=ZkpFCZQfEKE
Yes, it is me. No, I'm not back at racing (for now...)

CTG

I would be glad to hear a Finntroll version.

CTG

Quote from: Who's Online
CTG   10:33:23   Viewing Who's Online.
csaba   10:33:07   Viewing dstien's profile.
dstien   10:32:46   Viewing the topic Stunts MIDI music.

Csaba was also watching this topic a few minutes earlier. Strange. (Btw Csaba is a Hungarian name.)

dstien

The kms2mid converter was just discussed in #stunts@EFNet. It's reassuring that you keep a watchful eye on the forum traffic, CTG. :D

CTG


dstien

Stumbled upon the KMS article on the Videogame Music Preservation Foundation Wiki. Apparantly, KMS stands for "Kris' Music System" and is used by quite a few games. Would be interesting to see if these games share more similarities with Stunts.