Thread: How are MIDIs created?

  1. #1
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002

    How are MIDIs created?

    Are they created when someone records a song/effect etc? I've heard they can't be converted, so is that a popular save style? Will average recording software have an option to save as MIDI?
    Stan The Man. Beatles fan

    When I was a child,
    I spoke as a child,
    I thought as a child,
    I reasoned as a child.
    When I became a man,
    I put childish ways behind me"
    (the holy bible, Paul, in his first letter to the Cor. 13:11)

  2. #2
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    midi is not a "recorded" format. think about it like sheet music. It just lists a bunch of notes with pitches, durations, volume, etc. without any recorded data at all (the instrument sounds are stored on your computer completely separate from midi files, so you'll find that people with different sound cards and instrument sets can have completely different sounding instruments). no, you're not going to find "recording" software that saves to midi (assuming you are refering to recording IE with a microphone or via line-in). there are various programs which attempt to take wav files and tries to analyze them and make midis (think about it like transcribing a song you hear on a CD to sheet music), but all of that software tends to have pretty poor results when you have more than one instrument. The way you create midi's are either with your mouse on a keyboard (usually with a sheet music or piano roll display), or you can use a midi instrument IE a midi piano which streams midi data as you play notes. some of the better midi sequencers are Cubase, Cakewalk, and DirectMusic Producer (though DirectMusic outputs to proprietary formats).

    EDIT: also, this is better off in another forum, not C++
    Last edited by Polymorphic OOP; 01-05-2004 at 06:51 PM.

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    MIDI is used because it is very efficient. It doesn't take much processor power or databus bandwidth, since you are essentially only sending a little set-up information and musical notes to the sound card. This makes MIDI ideal for games where you want to utilize most of the processing power for the graphics.

    When you play a wave file or an mp3, you are sending thousands of samples per second thru the data bus. MP3 files have to be decoded. So, they require processing by the CPU. The down-side of MIDI is that it will sound different on different sound cards, and you can't generate realistic vocals.

    Although you can't convert a wave or mp3 to MIDI, you can go the other way and record MIDI output to a wave or mp3.

    Here's a site with lots of MIDI info.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 10
    Last Post: 04-28-2009, 04:18 AM
  2. Replies: 3
    Last Post: 02-20-2009, 12:46 AM
  3. Dynamically adding method to created controls
    By earth_angel in forum Windows Programming
    Replies: 4
    Last Post: 06-26-2005, 07:11 PM
  4. Question about atheists
    By gcn_zelda in forum A Brief History of
    Replies: 160
    Last Post: 08-11-2003, 11:50 AM
  5. What Major Games Have Any of You Created
    By TechWins in forum Game Programming
    Replies: 3
    Last Post: 01-05-2002, 05:14 PM