Thread: Play Midi Files?

  1. #1
    Registered User
    Join Date
    Jan 2008

    Smile Play Midi Files?

    Anyone have a pointer to sample code to play a midi file? I used to use playMIDIFile but can't seem to get it to work any longer...


  2. #2
    Hardware Engineer
    Join Date
    Sep 2001
    On a Windows sytstem??? There might be some information on this page. A few years ago, I used the info from that site to write program that played a few MIDI notes, but I didn't try to play an existing MIDI file. (The sample code on that page uses C, but of course you can use the functions in C++ too.)

    (Assuming Windows) there is also a good reference at MSDN There are also lots of DirectX MIDI functions, but you might need to dig-around MSDN a bit more.

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. Help with loading files into rich text box
    By blueparukia in forum C# Programming
    Replies: 3
    Last Post: 10-19-2007, 12:59 AM
  3. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  4. Play .wav files?
    By Hydro in forum C++ Programming
    Replies: 6
    Last Post: 02-24-2002, 02:40 PM
  5. Making MIDI files.... HOW??!!
    By sean in forum A Brief History of
    Replies: 2
    Last Post: 11-08-2001, 05:46 PM