Converting from MIDI to WAV/DLLs

This is a discussion on Converting from MIDI to WAV/DLLs within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I can easily get the format for MIDI files and make those, but is there anyway of converting MIDI files ...

  1. #1
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913

    Converting from MIDI to WAV/DLLs

    I can easily get the format for MIDI files and make those, but is there anyway of converting MIDI files to WAV files? Are there any programs that make WAVs directly, but in an instrumental form like MIDI? What about making your own sound effects?

    Also (and this is completely unrelated), I've never used DLL's. I can probably figure out how to link it to my program using my Windows compiler, but there's another side to the story: DOS. I'm using SDL. I don't think I'll be needing any of the features of Windows, since I'l be designing my own API, so can I use SDL in DOS? And I know Turbo C++ 3.0 (for DOS) has a linking program - does it cover DLL's too? Thanks if you can help.

  2. #2
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    CDEX from www.download.com

  3. #3
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    You writing an OS or what?

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    Running Dlls through a DOS compiler will probably be too difficult....

    The Windows Loader does a lot of work to allow your app to use dlls...and you would have to simulate all that yourself as your app will be loaded differently to Win32 Apps....also your dll would undoubtably need at least kernel32.dll and probably more in the address space (which again wouldnt work on DOS as it doesnt use a linear address space).....Also, if your app is 16bit, you would then be confronted with using a 32bit dll ........

    My advice...get a new compiler...and fast!!!

  5. #5
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Ride-or-die - Thanks!

    BMJ - No. The other day I was trying to think of ideas for my next prog, and I realized that there're tonnes of flight sims, but I don't think I've ever seen a realistic (as in, based on actual Apollo, etc... mission as opposed to stuff that happenned a long time ago in a galaxy far far away). So I decided to do just that. I'll be making it based on all the manned mission ups until the space shuttle. With 107 or something space shuttle missions, at that point I'll probably just make some generic missions.

    Fordy - OK thanks! Any suggestions? Preferably free downloads.

  6. #6
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    Originally posted by Sean
    Fordy - OK thanks! Any suggestions? Preferably free downloads.
    www.bloodshed.net

  7. #7
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Uh... Interesting name for a compiler...

    I looked up CDEX and it's actually for converting CD audio to MIDIs MP3s, and WAVs - I need the MIDI to WAV conversion. I did however find in the same search, a program that did just that - so thanks anyway.

    To change the question but not the subject - I'm using SDL for my program, and I'm still learning SDL - I only just downloaded all the documentation. Is it possible to write from the program directly to the audio device? I was wanting to get some background noises - just some static or something. I was also wandering if there're progs that can help you make synthesized WAV sounds - like a sonic boom or something - I need all this stuff for things like reentry. Another thing I'm looking at, is those programs that are passed a sentence, and they turn it into a voice that reads it. I noticed that sounded a lot like a radio transmission. Anybody know where I can get a small, shareware copy of a prog like this?

  8. #8
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    I looked up CDEX and it's actually for converting CD audio to MIDIs MP3s, and WAVs - I need the MIDI to WAV conversion. I did however find in the same search, a program that did just that - so thanks anyway.


    Long as it worked out for ya.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to play midi music from resource without directX
    By alaphate in forum Windows Programming
    Replies: 0
    Last Post: 03-12-2009, 08:49 AM
  2. Guitar Hero ALSA MIDI output
    By redxine in forum Linux Programming
    Replies: 0
    Last Post: 01-24-2009, 10:03 PM
  3. Intercept the MIDI Out
    By MattMik in forum C++ Programming
    Replies: 2
    Last Post: 10-18-2007, 02:05 AM
  4. Converting from Screen to World Coordinates
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 05-11-2004, 12:51 PM
  5. Playing a Midi. (win32 console) (MSVC++)
    By knave in forum Windows Programming
    Replies: 3
    Last Post: 05-17-2003, 10:40 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21