Outputting MIDI's in DOS

This is a discussion on Outputting MIDI's in DOS within the Game Programming forums, part of the General Programming Boards category; Okay, obviously I am trying to output MIDI's in DOS. Could someone please tell me how? And, if possible, could ...

  1. #1
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035

    Outputting MIDI's in DOS

    Okay, obviously I am trying to output MIDI's in DOS. Could someone please tell me how? And, if possible, could you show me how to output it in non-dos related operating systems like Windows 2000? thanks.

  2. #2
    Ethereal Raccoon Procyon's Avatar
    Join Date
    Aug 2001
    Posts
    189
    The Allegro library (for the DJGPP compiler only) has decent MIDI playing capability. I downloaded source code from another site that can also play MIDI and works with any compiler, but the sound quality is unbelievably bad.

    These are both DOS-based; I don't know of any Windows-based MIDI playing libraries myself.

  3. #3
    Former Member
    Join Date
    Oct 2001
    Posts
    955
    If you want DOS, use Allegro, if you want windows, you can use the winmm32 set of API's (VERY GOOD THOUGH), or you can use DirectMusic..


    Oskilian

  4. #4
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    hey procyon, where did you find that one graphics library 'with unbelievably bad sound'?

  5. #5
    Ethereal Raccoon Procyon's Avatar
    Join Date
    Aug 2001
    Posts
    189
    I'm pretty sure I got it from http://www.shd.cjb.net/. The information says it's for DJGPP only, though I *think* I got it to work with Borland.

    In any event, by unbelievably bad sound, I mean unbelievably bad sound - instruments weren't properly synchronized, the pieces played at about half normal speed, and the quality was distorted almost beyond recognition. Maybe it will work better with your sound card, of course, but it was an abomination on mine. So I'd highly recommend that you go for DJGPP/Allegro instead.

  6. #6
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    Well I guess I have my program working. I have Windows 2k(which isn't DOS based) so I can't hear it. I'll have to test it on my other computer....hey thanks for the link

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File systems?? (Winxp -> DOS)
    By Shadow in forum Tech Board
    Replies: 4
    Last Post: 01-06-2003, 09:08 PM
  2. winver, winminor, winmajor can it be found from dos?
    By ronin in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 10-02-2002, 11:32 AM
  3. real mode dos & win dos
    By scott27349 in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 08-19-2002, 07:15 AM
  4. DOS program versus DOS console program
    By scromer in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 01-10-2002, 01:42 PM
  5. Shut off DOS screen automatically to Windows
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 11-08-2001, 07:14 PM

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