Thread: how do u play midi files in msvc?

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    221

    how do u play midi files in msvc?

    i know u can play wav files with the function PlaySound() and including windows.h
    im sure there's a function to play midi files... ive searched the msdn library and cant find it... any help?


    orr... does playsound play midis as well?

  2. #2
    Registered User
    Join Date
    Sep 2002
    Posts
    417
    Go into help and look in the index for midi. Make sure its set to vc++ documentation.

    Audio Samples

    Click to open or copy the files for the Audio samples.

    Sample Description
    ACMAPP Displays wave file format, and plays, records, and converts wave files. Demonstrates how to use the Audio Compression Manager API's in Windows. Can be used as an ACM driver test.
    IDFEDIT MIDI IDF (Instrument Definition File) editor.
    LOWPASS Low-pass filter for waveform audio.
    MCIAPP MCI test application.
    MCIPLAY Simple video playback application. Uses MCIWnd.
    MCIPUZZL Application lets you make a 15-square puzzle of a playing video sequence. Shows how to use installable draw procedures.
    MIDIMON Sample that displays textual listing of MIDI input messages.
    MIDIPLYR Sample MIDI player.
    MIXAPP Sample mixer application.
    MMCAPS Sample that shows the multimedia capabilities of the hardware.
    REVERSE Simple application that will play a waveform in reverse.
    SOUNDAPP Simple application showing the SndPlaySound API.
    WAVEFILE Sample AVIFile file handler for waveform audio files. To install, execute dseqfile.reg and copy dll to system dir. Can be used with AVIEDIT or AVIVIEW.


    See also, in the Video Samples section:

    LANGPLAY Plays back multi-audio stream AVI files. MULTILNG.AVI is an example file found on the CD.

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398

    Smile Here's a link

    I just found aweb site with lots of MIDI information.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to play play and stop wav files
    By cnu_sree in forum Linux Programming
    Replies: 4
    Last Post: 08-14-2006, 11:11 PM
  2. Playing/stopping midi files
    By Dark Nemesis in forum C++ Programming
    Replies: 1
    Last Post: 11-18-2003, 02:09 PM
  3. I Need To Know Some Things That I Can Put Into A Batch File
    By TheRealNapster in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 10-20-2003, 08:12 PM
  4. Using c++ standards
    By subdene in forum C++ Programming
    Replies: 4
    Last Post: 06-06-2002, 09:15 AM
  5. reinserting htm files into chm help files
    By verb in forum Windows Programming
    Replies: 0
    Last Post: 02-15-2002, 09:35 AM