Solved

Playing multiple wav files

Posted on 1997-08-28
5
499 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 330 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

707 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