Jump to content


Photo
* * * * - 1 votes

MIDI to ORG Converter


Old topic!
Guest, the last post in this thread is over 60 days old. Posting in this thread will be considered a bump, so please make an attempt to be courteous if you go ahead with it.

If the last post is over 6 months old, it may instead be a better idea to start a new topic. If you aren't sure about what to do, feel free to ask a staff member for help, or try to locate a 'general questions'-type thread if it exists in this (sub-)forum.


  • Please log in to reply
12 replies to this topic

#1 30 June 2012 - 12:33 AM

Carrotlord Offline
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: 28 Jan 2010
Location: LocationInternet
Posts: 1,374
Age: 20
 

Are you bad at composing? Do you need a quick way to make music for your mod? Here it is: a MIDI file to Org file converter!

Download Midi2Org 1.2
Download Midi2Org 1.1
Download Midi2Org 1.0

This one is written mainly in C++. If you want to see me in the process of coding it up, watch this video:
http://www.youtube.c...h?v=kZzUsOe1Prw

Edited by Carrotlord, 02 July 2012 - 10:11 PM.


#2 30 June 2012 - 02:59 AM

HaydenStudios Offline
Pretty much the closest I can get to being understood 100%
Bobomb says: "I need a hug!"
Join Date: 31 Dec 2011
Location: LocationUnited States
Posts: 830
Age: 16
 

This is very early in production I assume? LOL
One thing that was a bit inconvenient about this was that it doesn't seem to like midis whose file names have spaces in them. So I had to change the file name of the midi to get this to work. I don't mean to be rude, but the results are so poor that I'm almost convinced this is a joke. You're probably aware of this, but in all of the outputted org files, the first musical track uses Wave-04, the next two use Wave-06, and the last five all use Wave-00. And there are no drum tracks. As well as every note being one unit long. This altogether makes for a rather earsplitting song. In the download below, there is a midi of the Halo theme, an org file produced by me hand copying the notes, and the output with your application. Included in the download is also the same thing for the Mighty Morhpin Power Rangers theme:

http://www.mediafire...8g991u4708dqc9e

Although this might be a joke, I almost want to say it's actually almost doing what it's supposed to, and the outputted orgs vary from midi to midi, as well as in the halo theme, there was a tiny bit of resemblance between one of the actual tracks, and one of the tracks in the outputted midi.

P.S. Sorry if this really was a joke and I was way too thick to realize that, and that it's rediculous that I actually freaking made a serious reply to this.

Edited by HaydenStudios, 30 June 2012 - 03:17 AM.

Spoiler

TUIPMU92_zps98dfcbb2.png

I'd be really great at procrastinating if I ever got around to it.


#3 30 June 2012 - 04:27 AM

Carrotlord Offline
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: 28 Jan 2010
Location: LocationInternet
Posts: 1,374
Age: 20
 

This is very early in production I assume? LOL
One thing that was a bit inconvenient about this was that it doesn't seem to like midis whose file names have spaces in them. So I had to change the file name of the midi to get this to work. I don't mean to be rude, but the results are so poor that I'm almost convinced this is a joke. You're probably aware of this, but in all of the outputted org files, the first musical track uses Wave-04, the next two use Wave-06, and the last five all use Wave-00. And there are no drum tracks. As well as every note being one unit long. This altogether makes for a rather earsplitting song. In the download below, there is a midi of the Halo theme, an org file produced by me hand copying the notes, and the output with your application. Included in the download is also the same thing for the Mighty Morhpin Power Rangers theme:

http://www.mediafire...8g991u4708dqc9e

Although this might be a joke, I almost want to say it's actually almost doing what it's supposed to, and the outputted orgs vary from midi to midi, as well as in the halo theme, there was a tiny bit of resemblance between one of the actual tracks, and one of the tracks in the outputted midi.

P.S. Sorry if this really was a joke and I was way too thick to realize that, and that it's rediculous that I actually freaking made a serious reply to this.


It is not true that every note is one beat long. You must have chosen some odd MIDIs.
For a reasonable comparison, look at the following two files s_uta.mid and s_uta.org

http://www.mediafire...p46w6lls4b936u3

The org was created with Midi2Org. Notice that the corresponding notes are all the same pitch, and have varying lengths. The only issue is that rests in the MIDI do not show up in the org, which is a bug I'll fix later. Also, in MIDIs with lots of tracks, drum tracks in the org are indeed created.

So, looking at the above song comparison alone, the Midi2Org program does a reasonable job and is therefore definitely not a joke. If you believe that the outputted .org files are of poor quality, feel free to write your own conversion program.

#4 30 June 2012 - 04:47 AM

HaydenStudios Offline
Pretty much the closest I can get to being understood 100%
Bobomb says: "I need a hug!"
Join Date: 31 Dec 2011
Location: LocationUnited States
Posts: 830
Age: 16
 

It is not true that every note is one beat long. You must have chosen some odd MIDIs.
For a reasonable comparison, look at the following two files s_uta.mid and s_uta.org

http://www.mediafire...p46w6lls4b936u3

Ah. Yeah, I probably was using some odd midis. All the extra tracks must have complicated things.

Also, in MIDIs with lots of tracks, drum tracks in the org are indeed created.

Really? For the ones I tried, no drums showed up at all.

So, looking at the above song comparison alone, the Midi2Org program does a reasonable job and is therefore definitely not a joke.

Yeah, sorry, it's just that a midi to org converter sounded just too good to be true, and the coincidental misfortune I had with the midis I used made it kinda seem like a joke to me.
Spoiler

TUIPMU92_zps98dfcbb2.png

I'd be really great at procrastinating if I ever got around to it.


#5 30 June 2012 - 08:42 PM

Carrotlord Offline
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: 28 Jan 2010
Location: LocationInternet
Posts: 1,374
Age: 20
 

Updated to 1.1.

This time the program can read rests correctly, which actually makes a big difference in song quality.
http://www.mediafire...56jvahrdonx2l2e

#6 01 July 2012 - 11:48 AM

DoubleThink Offline
It doesn't matter
"Life begins and ends with Nu."
Join Date: 20 Aug 2006
Location: LocationCaught between interests
Posts: 2,196
Age: 22
 

I would love to use this, but currently transcribing music from MIDIs to ORGs is the only way I'm learning anything :koron:

Edited by DoubleThink, 01 July 2012 - 11:48 AM.

I'm an admin
 
Quickie Mod Guide [Update List]
 

Soon Google will purchase Twitter and Facebook, and combine them with YouTube to form the ultimate social networking site: YouTwitFace


#7 01 July 2012 - 07:33 PM

cultr1 Offline
ℒℯ
"Life begins and ends with Nu."
Join Date: 05 May 2009
Location: Locationle
Posts: 2,148
Age: 18
 

This is really helpful, I can now turn sheet music into orgs in a few minutes instead of a few hours D:
thank you so much Carrotlord, this makes my life way easier.

Can it deal with triplets yet? Like changing the time signature in the org to facilitate them? That would be incredibly helpful, especially given the midi I'm jonesing to convert.

#8 02 July 2012 - 06:49 AM

GIRakaCHEEZER Online
Lvl 1
"Life begins and ends with Nu."
Join Date: 28 May 2008
Location: LocationPMMM MMO
Posts: 2,653
Age: 21
 

When I used it, it turned my midi into ear rape. It seems to interpret quarter notes as 1 tick, when they should at least be 4. Also all my notes were in 1 track but it only got 1 note when sometimes there were 4 playing at once.

I do not foresee this being greatly successful.
Posted Image
Posted Image
Spoiler

#9 02 July 2012 - 09:35 PM

Jaco909 Offline
Novice Member
"Fresh from the Bakery"
Join Date: 25 Jun 2012
Location: LocationDetroit
Posts: 2
Age: 18
 

I can see where this project is going, and hope that you are successful in making this program a success. There aren't many MIDI / ORG converters out there (if any), and this would greatly help the CS modding community. :)

....And now for the criticism. :sue:

Honestly, not many people use MIDI files. I couldn't even find an MIDI file anywhere on my PC to test this with. And most of the MP3/WAV to MIDI converters I've seen are crap. This fact alone is a pretty big problem.

....And there's a few errors. :(

I found a site that has a huge collection of MIDI files. I downloaded a song from there (I_Gotta_Feeling by Black Eyed Peas) to test this out.
Site:
Song:
Spoiler

(The song is renamed to feeling.mid)
I placed the file into the same folder as the program and ran it. Entered song name (with .mid on end). Crashed (at the same point as the image below).
I closed the program, deleted the two (.dat) files it had created and instead made a (.dat) version of the song using the Midi2Text.jar included in the file. I placed it next to the song and re-ran the program. The image below is what happened.
Spoiler

The program crashes at the exact same point as before. However, after clicking "Don't Send", the program continues to run. The image below shows what happens.
Spoiler

In the end, no ORG file is created.
Ya' might want to fix that. ;)

...That's about it.
Imagine a gigantic cyborg, vaporizing people with one hand and spewing Plasma bolts with the other, and at any moment it may go crazy and target everyone as enemies.
Sometimes, I'm glad I'm not a Komato.
Posted Image

#10 02 July 2012 - 10:12 PM

Carrotlord Offline
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: 28 Jan 2010
Location: LocationInternet
Posts: 1,374
Age: 20
 

New download link

I had to hack the executable to fix it. I don't guarantee this will correctly convert the MIDI you chose, but at least it shouldn't crash anymore.



Old topic!
Guest, the last post in this thread is over 60 days old. Posting in this thread will be considered a bump, so please make an attempt to be courteous if you go ahead with it.

If the last post is over 6 months old, it may instead be a better idea to start a new topic. If you aren't sure about what to do, feel free to ask a staff member for help, or try to locate a 'general questions'-type thread if it exists in this (sub-)forum.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users