Advertisement

audio files --> MID

Started by October 04, 2003 05:29 PM
7 comments, last by AnjinSan 21 years, 3 months ago
is this posible? and if yes what program would I use to make this conversion from audio track to MIDI format?
AFAIK this isn''t possible. Audio tracks record the sound waves. MIDI uses predefined notes and rythms to play a specified pitch of a specified instrument for a certain amount of time.
Advertisement
Hey
there are some programs out there which are able to convert audio to midi as long as the audio file is monophonic, that means it has just one voice. so you can''t convert rhtm guitar or piano songs. you can find a free program called WavGoodbye on my homepage: http://www.klangfarbe.de.ms/downloads_tools.html
It''s a german page, but you''ll find the program.

Jonas
Hmm I do not know if my music is monophonic I just know that it is only instrumental ( an orchestra ) and no voice.
What der_prophet means by just one voice is that there''s only one thing making noise, and that includes instruments as well as voice. It would be extremely hard to create a midi file from an orchestral work, because essentially that would mean transcribing the whole work without a score, and I''m sure not many people could do that. About all you can do is try and get a copy of the score, and then insert them in a MIDI notation program. I''m just going to make sure you realize that the quality of a MIDI is severely worse than say, and MP3 file, right? MIDI is basically like the conductor''s score, and the computer''s sound card (or software synth) decides how it sounds. Perhaps you can elaborate on your purpose?
Hi , thanks for the clarificatin , so it is not fesible to convert the audio file to midi ...
Well my purpose is to have music in my project and also to keep the size of the downloadable archive resonable small in order to be accesible for dial-up people.( under 2 mb , preferably under 1.5 mb ) and mp3''s are soooo big....
Is there any solution or I''ll have to do without music ?
Advertisement
Your best bet is to convert the files to ogg vorbis. Ogg is a little smaller than mp3, and really no noticable difference. You can experiment with different bit rates to see what sounds best for the size you want. The other option (which is a good option) is to include the mp3 files as a separate download from the main program, and have the program check to see if the music is there or not. Just make sure you have the right licensing to the music

[edited by - Puffy_Taco on October 6, 2003 8:06:13 PM]
The quality of MIDI depends on what''s playing the MIDI.

I do alot of my work in MIDI, so I got a SoundBlaser Live Platinum (when it was quite an uncommon peice of hardware) for it''s wavetable. Since then, most people have a Live or even Audigy card, so MIDI will sound pretty great. Also, if you use Direct Music, then you can use the built in wavetable, which isn''t as good, but is better than FM synth (which is crap). The best thing to do is check the user for a decent wavetable, if not use DX''s built in one (or give the user an option).

Of course, since then, I''ve got software to sample MIDIs much better (Reason, anyone?)


Anyway - just because you can''t convert, dosn''t mean that MIDI isn''t a bad choice for your game. You will need to get some program (or someone) to write your MIDI files.

Also, might I suggest MOD as an excelent format. It''s like MIDI (with notes, rather than a waveform), however the wavetable it custom and built into the file. It is usualy significantly smaller than Ogg or MP3. You can donload "ModPlug Tracker" for to write your mod files - good program.

And finaly - don''t use MP3, as there are tones of stupid licencing issues and Ogg is better quality anyway. Just make sure you don''t convert MP3->Ogg or anything, because you''ll loose alot of quality.


Basicly, here is what you''ve got (sizes for a normal-length song):
MIDI - instruments are fixed, quality depends on wavetable, which will depend on the user''s haredware (unless you use DX). Files are tiny (about 20-80k).
MOD - Same as MIDI, but define your own wave table. Can do some fancy effects too. Files are small (80k-1MB).
OGG - You can do whatever you want, you''ll need something to record to make the files though (unlike the others, where you just place notes). Files are large, depends on quality settings (2MB+)
MP3 - Don''t use if you can avoid it - like OGG only bigger files or lower quality.

Free Game: Yet Another Falling Block Game
There''s a program called IntelliScore that can convert WAV to MIDI, it can even convert polyphonic music. Of course it''s not perfect, but I was surprised by the results.

www.intelliscore.net

quote: my purpose is to have music in my project and also to keep the size of the downloadable archive resonable small in order to be accesible for dial-up people.( under 2 mb , preferably under 1.5 mb ) and mp3''s are soooo big....
Is there any solution or I''ll have to do without music ?


You can also get music that''s already in MIDI format. There are many MIDI files on the net that are royalty free, so you can use them in your game without problems.



Mariano Ruggiero
Lead Programmer
ONIRIC GAMES

This topic is closed to new replies.

Advertisement