Play Midi Files?

This is a discussion on Play Midi Files? within the C++ Programming forums, part of the General Programming Boards category; Anyone have a pointer to sample code to play a midi file? I used to use playMIDIFile but can't seem ...

  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    1

    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...

    Thanks

  2. #2
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    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, 01:40 PM
  5. Making MIDI files.... HOW??!!
    By sean in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 11-08-2001, 04:46 PM

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