?
Solved

Playing multiple wav files

Posted on 1997-08-28
5
Medium Priority
?
507 Views
Last Modified: 2010-04-06
Hi,
I need to create a multimedia presentation using Delphi3.
I have tried to play background music and while that is playing, start a wav of a voice but I either get a MIDI error or the voice never gets played. I have tried using 2 Media Player controls to solve this problem. Someone told me that I might have to "stream" the two wave files into the midi player yet I have no idea on how that is to be done.
I basically need source code(commented) that would play two wav files simultaneously. I have Sound Blaster 32Bit. Windows 95. Delphi 3.0.  Please e-mail me the answer in an arj or zip ONLY if it is not larget than 250K if it is, we will discuss some other means of transfer via the web.
Thank you.
Max Bolotnikov
maxcom@interserv.com

P.S. If my E-Mail gets screwed up I will need you to resend the file.
0
Comment
Question by:MAXcom
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 

Author Comment

by:MAXcom
ID: 1342842
Adjusted points to 333
0
 

Author Comment

by:MAXcom
ID: 1342843
Must also show (with source) how I can play avi files that contain sounds as well as background music at the same time.
0
 

Expert Comment

by:nir_l
ID: 1342844
I'm not sure how aidful my tip would be, but I can tell you how to mix WAV files. There's a microsoft free DLL that does just that. It's called WAVEMIX.DLL and it can play upto 8 mixed WAV files. I have the interface for this dll and I know of a shareware component which fully implemented its usage so you won't have to actually have the .DLL

Tell me if you find this aidful.
0
 

Author Comment

by:MAXcom
ID: 1342845
If you can tell me (explain) how to actually call the procedures from the DLL that would be great.
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 990 total points
ID: 1342846
Hi MAXcom,

There exists a component which is a translation of the Wavemix DLL. The component is freeware and with source! Believe you needed that? The component can play until 8 wave files simultaneously. Think that's enough, not?
You can find it on this address, but I'll also send a copy of the file to you e-mail address.

http://www.digiserve.com/cmab/download/dwavemix.zip

Hope to have helped you,
Have fun,
c.u. ZifNab;
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question