Midi/Wav/AVI Playing Routines
Posted
by Metal Boy
on January 30th, 2004
- Sound card detection ( Function HasSoundCard as Boolean )
- MID file player ( Sub PlayMidi (M$) , Sub StopMidi () )
- WAV file player ( Sub PlayWave (W$) , Sub PlayWaveAdv (AW$, FLG&) , Sub StopWave () )
- Play WAVs from RES file ( Sub PlayRESWave (RW$) )
- Stop all sound ( StopAllSound (Cancel%) )
The included project appears as below :
You can play WAV and MID simultaneously.
I will hopefully add more on to this file in the future. I hope to add features such as:
- Play MIDs from within RES file.
- Play multiple WAV files at once.
- Sound card recognition (AWE64, Turtle Beach, ESS, Adlib, SB16, etc.).
I hope that this program is simplistic enough for you to see how to use this module in your programs.

Comments
BTW
Posted by Brettink on 08/28/2009 03:08amThis code works with my Vista, i dont know how others cant use it with XP lol
ReplyThanks
Posted by Brettink on 08/28/2009 03:06amThank you, your code really helped me
ReplyXP problems
Posted by Legacy on 02/14/2003 12:00amOriginally posted by: sharon
dose anyone know why wont it run on XP ???
Reply
Midi/Wav/AVI Playing Routines
Posted by Legacy on 05/02/2002 12:00amOriginally posted by: Sangoku
Don't work with windows XP
Replyvery nice coding but needs little care
Posted by Legacy on 12/21/2001 12:00amOriginally posted by: msdhar
This is a nice programming one of i seen. very good
Replycoding but little cre needed when opening mutiple
wave and midies
Otherwise it is surly usefull for every one
thank you.
Re: Multiple waves!!
Posted by Legacy on 08/24/2000 12:00amOriginally posted by: T Haygood
Please,
If you do figure out how to play multuple .wav files- please let me know.
T. Haygood
Replyaudioguy@mindspring.com