• Welcome to Final Fantasy Hacktics. Please login or sign up.
January 21, 2022, 06:27:36 am


Use of ePSXe before 2.0 is highly discouraged. Mednafen/RetroArch is recommended for playing/testing, pSX is recommended for debugging.

MIDI to SMD v0.5: FFT Music Converter

Started by pokeytax, March 21, 2013, 07:38:09 pm


June 21, 2019, 02:18:59 pm #20 Last Edit: June 21, 2019, 04:22:32 pm by Basil
Hello again.

I had a problem running the forum last friday, it appears that problem has been solved.

Quote from: CONMAN on June 14, 2019, 02:48:22 pm
Thanks for the kind word Basil!  Music converting is a neglected aspect of fft modding.  It is very much a pain most of the time.  I would love to hear some more tracks that you have done.  I really should up load the better sounding tracks that I have done (I'm pretty sure I have a few I haven't bothered with).  Honestly I really haven't uploaded them because there seemed to be a lack of interest.

I always thought fft music quality was on another level, and besides the fact you can't add new tracks unless you replace it with existing ones made it less appealing. Anyways, i'll probably gonna start recording some videos in the next few days and i'll upload them as soon as i can.
  • Modding version: PSX



Five more songs i've uploaded early on the day, it took me few days to learn how to edit events script.

1) https://youtu.be/szobyjbyOYA

2) https://youtu.be/o1kN9C9jgLo

3) https://youtu.be/m6ULb6zGavc

4) https://youtu.be/b9fuCbOz2gw

5) https://youtu.be/BHiPhqFThPc

And there will be more!
  • Modding version: PSX


Nice Basil!  You surely had to adjust the song speed on at least some of these.  I was curious how frequently you had to pick new instruments with a hex editor on these songs.  I would often be purposefully choosing songs that were appropriately themed to increase the chances that the converter would kick out something usable. 
  • Modding version: PSX


July 09, 2019, 10:39:03 pm #23 Last Edit: July 12, 2019, 02:35:58 pm by CONMAN
I've enjoyed the tracks that you have shared Basil.  I honestly only got 8 or 9 adjusted to a level I found satisfactory.  I pretty much stopped playing with the converter once I had covered the random battles songs and a small handful more.  Mostly I just focused on battle themed songs, because that's where most time is spent in this game.   

The size of converted songs is the real killer for me.  Perhaps I could adjust some of the sizes using Xifanie's Iso and I just don't have a good enough grasp of it.   Something that I would like to do is change up a few of the songs that have incredibly small sizes.  Music#27 is the world map song.  That thing is like 1.5 freaking kilobytes!  The roster screen music is like 2.8K.  I almost never find a song that converts that small!  Typically I convert a song with midi->smd and then grab my hex editor, pull the relevant data and paste it into a new file to check the real size of a song and rarely do I find songs under 6K.

I feel like being able to change some of the itty bitty tunes that see the most use would go a really long way towards making a mod feel fresh.  I feel like the Jot5 modders probably feel the same.

Anyway, here is what I think is the best of my tunes.  They are marked where I replaced original tracks.  I don't have the pure converter data just on hand because I usually have to get each song a few listens and tweak it with a hex editor.  I could pull that up if someone really wants it.

I rather enjoy battle on the big bridge/Gilgamesh and the atma weapon song from ff6 (I think it is decisive battle).  Atma's theme is actually my ringtone on my phone! Huge impression on my childhood!   

Edit:  I almost triple posted, but I wanted to note that I tried again to mess with the sizes of songs with the iso editor and this time did it without borking my file.  Slightly increased the size of song 27 and decreased 28.  I now have to find a tiny little song to replace the shop song, but a success!

  • Modding version: PSX


July 12, 2019, 07:46:29 pm #24 Last Edit: July 12, 2019, 08:17:46 pm by Basil
Greeting Hackticians.  :lol:

I feel quite delighted that you enjoyed them CONMAN. In the past two weeks i had a chance to expirement with new songs, i couldn't finish most of them but i was able to comprehend basic stuff. It's worth noting that i'm using a midi editor software (you can find it here https://www.midieditor.org, there is so much you can do with this tool.) to edit midi files before i go through the converting process, i only use a hexeditor execlusively to past data from the generated files to the SMD files. By the way,  yesterday i came across your post and found that you already have a version of FF7 Weapon Ride theme done, i just want to say i'm working on a slightly better versions of that song plus the 7 songs that i've uploaded already which i'm going to finish them by the end of next week.


Now, with brief details i'm going to show you the result of the process i've went through to convert one of my favourite ost of all time.

Here is how the theme plays when you run it throught the converter without editing the song first:


Surely not the kind of osts that plays in a castle where time has froze :? :?! Moving on, i grabbed the midi file and made some adjustments, here is what came out:


I'm somewhat pleased with the result, still, someday ago, Nyzer pointed on my birth by sleep song that it plays faster than it should, which made me realize that 95% of the songs that i tried to convert plays faster than normal speed after conversion comparing to the originals, so i had to grab my midi file again and adjusted the speed level, here is the result:


Now this sounds more like the original, still not as good as when it played on the pipe organ  :cry: :cry: :cry:, but what can i say  :).

Here is a version plays even slower i uploaded for the sake of recording:


And here is birth by sleep from kingdom hearts played at low speed (thanks nyzer for the comment, i hope you enjoy this.):


Enjoy your weekend!

  • Modding version: PSX


Double posted when i shouldn't --__--
  • Modding version: PSX


  • Modding version: PSX & WotL
  • Discord username: Nyzer


That midi-editor is pretty cool.  I don't have a midi device for it to play on, but it is very useful for me to see what the actual instruments are and what order they play in.  This makes it much easier to edit the tunes where the converter made a terrible instrument choice.  It's still a little annoying that some songs call for instruments that simply aren't in found in the games selection.

:D You've got me having a lot more fun with importing music. When I have a couple more I really like I will post them here.
  • Modding version: PSX

Neophyte Ronin

If the FFT instrument set is insufficient, would porting another set from another similar game be feasible, for instance from Vagrant Story or even the PSX Doom games?

The MIDI converter sounds interesting.  I looked up some software (https://www.lunaverus.com/) called AnthemScore a free-30-day-trial-or-pay-$35 program designed to extrapolate sheet music from a recording.  Said sheet music can then be turned into a MIDI thanks to the simplicity of the format, allowing you to do your own scoring.  You can even make requests from a musician (such as Jon Babb, who has been on www.newgrounds.com since the mid-2000's) to provide tracks you can then turn into MIDI and finally to an SMD.

Just be sure that you have a good ear or vision of your preferred soundtrack so that it doesn't interfere with the experience of playing a mod that sounds uniquely you.


Quote from: Dollface on September 22, 2018, 12:00:40 pm
i'm new to this site, and my terrible english don't work(first problem for me), I don't understand Excel's use, XML's use... I read and read many times, but I don't understand.
Can you help me with this? (Video lessons)
  • Modding version: PSX
  • Discord username: Lucas de Gavina


I choose the file path, I run the 'Convert' macro, but the following message appears:
Run-time error '1004'
"Could not find C:\Users\** ** **\Desktop\MID to SMD v0.5.xls. Is it possible that it was moved, renamed or deleted?"
What should I do?
  • Modding version: PSX
  • Discord username: Lucas de Gavina


I've been poking around a lot at music/sound effects and such and found a tool that really breaks down how music is played by the game. https://github.com/vgmtrans/vgmtrans/wiki

I haven't messed around too much with this program.  It is supposed to translate out videogame music into midi files.  The one I tested came out terrible, but still pretty cool. Very nice to have a visual aid when messing with a song that didn't quite come out right.  I could have sworn that it picked up a variable that is not listed in our wiki! I'll be messing around with this for at least a couple days.
  • Modding version: PSX


I use excel 2007 and it does not open to convert MIDI to SMD.
I active in the tab enable macro...
  • Modding version: PSX


I use an older excel as well and I open the view tab, then hit Macro, and then run macro.
  • Modding version: PSX


November 11, 2021, 01:59:02 pm #34 Last Edit: November 12, 2021, 03:01:41 pm by CONMAN
I have been slowly trying to improve the instrument selection for the smd convertor tool created by Pokeytax.

The instrument page on the convertor tool has a description list that seemed to be checked by ear. I have updated this to the 128 "General MIDI Instrument List" for much easier comparison.  The A column simply listed midi numbers and the B column lists the selected instrument sounds.  The old instrument selection had many redundant and off sound selections.  Previously entire instrument midi groupings would direct to the same sound, ie all pianos selection converted to 16/17 "slap bass" or all guitar sounds were 5A synth strings.  These have quite a bit more variety in selection now.

I have edited abou 80-90 instrument selections. Unfortunately, lacking some proper instruments lead me to make some selection choices like these 3 guitars= high pitched bass guitar sounds.  Some sounds I really could not make a good selection for.  If you wanted a good sitar or ocarina sound you will have to settle.

Column "J" on this sheet has given me a pause.  This does not have a description. Based on the instrument selection, I believe this listing is the "General MIDI Drum Note Numbers."  This is 60 percussion sounds and they are grouped 27-87....https://soundprogramming.net/file-formats/general-midi-drum-note-numbers/ Not matching up well with the spreadsheet.  This will take further review.  Percussion sounds are listed on the general instrument list, but this looks like another round of sound selection.  I'm just not quite sure where to start with this one.

I'm going to upload the current excel sheet, but a few issues are simply not addressed with it's use.  I usually just make these adjustments with a hex editor.  Tempo is controlled by the variable A0. Usually setting this to ~AO66 will fix it pretty well some snes songs need to be pushed quite a bit lower or higher.  Pitch of certain notes can be far too high for the game instruments.  Commonly I will see a voice selection looking like this:  AC8E 9404  (ac=instrument, 94=octave) and simply change it out to AC8E 9402.

I've had one other issue that I simply haven't been able to fix and only occasionally pops up.  Sometimes I have had very quick notes not convert to play quick enough even with some tinkering.  I had a super fast bass for a dancing mad tune that should have played 1/24th of a note but I couldn't seem to shorten up with individual note adjustments. Might simply be misunderstanding on my part.
  • Modding version: PSX


I have done what I can with the percussion instrument edits. Previously a shocking number of them had Drumroll set as the default.  I could not find a good instrument for a number of them.

Wish I had done this earlier. I have spent way too much time messing around in a hex editor picking different instruments.  This at least should pick the right sound far more often.

Another thing that I didn't note in the previous post (a triple!), volume selection for certain instruments can be a bit lacking. 

Anyway, this is a step Instrument edit 1.2:

  • Modding version: PSX