Author Topic: Stunts MIDI music  (Read 4916 times)

clvn

  • Stunts Fan
  • *
  • Posts: 19
    • View Profile
Stunts MIDI music
« on: May 31, 2010, 12:20:21 PM »
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

  • Stunts Maniac
  • *
  • Posts: 54
    • View Profile
Re: Stunts MIDI music
« Reply #1 on: June 01, 2010, 12:48:40 PM »
@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

  • Considering trying out spam
  • *******
  • Posts: 3409
  • Through the astral door - to soar
    • View Profile
    • The Southern Cross Stunts Trophy
Re: Stunts MIDI music
« Reply #2 on: June 01, 2010, 03:42:27 PM »
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

  • Stunts Maniac
  • *
  • Posts: 54
    • View Profile
Re: Stunts MIDI music
« Reply #3 on: June 02, 2010, 03:42:22 PM »
Quote
but 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

Quote
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

any ideas :-)

llm

  • Stunts Maniac
  • *
  • Posts: 54
    • View Profile
Re: Stunts MIDI music
« Reply #4 on: June 04, 2010, 04:46:56 PM »
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

  • Stunts Master
  • *
  • Posts: 161
    • View Profile
    • Stunts Tools
Re: Stunts MIDI music
« Reply #5 on: July 13, 2010, 10:17:00 AM »
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

  • Stunts Master
  • *
  • Posts: 161
    • View Profile
    • Stunts Tools
Re: Stunts MIDI music
« Reply #6 on: July 16, 2010, 01:15:58 PM »
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

  • Spam, egg, spam, spam, bacon and spam
  • *
  • Posts: 20048
  • Psycho
    • View Profile
    • UnskilledStunts Championship
Re: Stunts MIDI music
« Reply #7 on: April 17, 2011, 10:47:20 PM »

CTG

  • Spam, egg, spam, spam, bacon and spam
  • *
  • Posts: 20048
  • Psycho
    • View Profile
    • UnskilledStunts Championship
Re: Stunts MIDI music
« Reply #8 on: May 12, 2012, 05:58:29 PM »

Chulk

  • Trying out spam for the first time
  • ********
  • Posts: 3621
  • "Do, or do not. There is no try."
    • View Profile
Re: Stunts MIDI music
« Reply #9 on: May 14, 2012, 05:25:46 AM »
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
There's a General Custer for every urban tribe

CTG

  • Spam, egg, spam, spam, bacon and spam
  • *
  • Posts: 20048
  • Psycho
    • View Profile
    • UnskilledStunts Championship
Re: Stunts MIDI music
« Reply #10 on: July 31, 2012, 03:11:02 PM »
I would be glad to hear a Finntroll version.

CTG

  • Spam, egg, spam, spam, bacon and spam
  • *
  • Posts: 20048
  • Psycho
    • View Profile
    • UnskilledStunts Championship
Re: Stunts MIDI music
« Reply #11 on: November 03, 2014, 10:39:27 AM »
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

  • Stunts Master
  • *
  • Posts: 161
    • View Profile
    • Stunts Tools
Re: Stunts MIDI music
« Reply #12 on: November 03, 2014, 11:19:17 AM »
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

  • Spam, egg, spam, spam, bacon and spam
  • *
  • Posts: 20048
  • Psycho
    • View Profile
    • UnskilledStunts Championship
Re: Stunts MIDI music
« Reply #13 on: November 06, 2014, 08:57:18 AM »

dstien

  • Stunts Master
  • *
  • Posts: 161
    • View Profile
    • Stunts Tools
Re: Stunts MIDI music
« Reply #14 on: January 07, 2015, 10:12:02 AM »
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.