opm2mml - An MiOPMdrv .opm sound bank to MXDRV .mml converter

Started by exodusmodules, January 04, 2016, 01:38:07 PM

Previous topic - Next topic

exodusmodules

Hi guys,
I'm exodusmodules, and I'm a new forum user at nfggames blah blahbedy blah

Anyway, I recently coded a really neat tool in about 1.5 days called opm2mml for people who compose MXDRV MML tunes. I did it because I got tired of having to convert .opm presets to MXDRV voice definitions by hand.

It converts a valid MiOPMdrv .opm sound bank to an MXDRV mml file.

Note that the program is in Java, reason being because it's my strongest programming language.
If I have the time, I may port it to C++, for people who don't like Java for whatever reason.

Btw, I'm also working on an MXDRV mml tutorial/documentation doc, however school and other things have impeded my progress, so no ETA atm. But I plan to finish it very soon, so look out on the forums for it, if you'd like to begin composing MXDRV mdx tunes but need assistance!

EDIT:
I finished the documentation, it's available in this forum post:
http://nfggames.com/forum2/index.php?topic=6003.0

All that said, hope you go crazy with this tool!

eidis

 Hi Exodusmodules!

Welcome to the forum and what a great first post! Music composing on the X68000 is still one of the grey areas and a tutorial would be highly welcomed in the Wiki hall of fame. Best of luck and keep up the good work!

Keep the scene alive!
Eidis
X68000 personal computer is called, "X68K" or "no good good" is called, is the PC that are loved by many people today.

exodusmodules

Thank you! The x68k is in my top 5 classic home computers, and I love FM synthesis, so learning to compose for it was actually what got me interested in the system.

Anyway, I just realized I made a simple mistake, yet a somewhat egregious one in my code! I forgot to call bufferedReader.close() and bufferedWriter.close()! Here is a link to the updated one on Google Drive, so I won't have to keep uploading it if I ever update my code again! Possible memory leaks, yikes!

Program:
https://drive.google.com/open?id=0B-5MDOTTWQK9a0hhbFNFUlBXdDQ

Source:
https://drive.google.com/file/d/0B-5MDOTTWQK9TFRkaTVXeTc4SlU/view?usp=sharing

Pinwizkid

This is really cool! I will have to check it out.

For anyone interested in composing with the YM2151 (X68000 FM sound chip), I'd recommend checking out the VOPM VST plugin as it emulates the YM2151. Combined with a music tracking/composing software like Renoise, you can make some really authentic FM music.

VOPM - http://www.kvraudio.com/product/vopm-by-sam

Renoise - http://renoise.com/

Here are some pieces I wrote using the YM2151 plus some Sega Genesis drums:

http://www.brendanbailey.net/Dynamite_Force.mp3
http://brendanbailey.net/Castlevantasy.mp3
http://brendanbailey.net/Asteroid-Base.mp3

-BB