 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Joe Gabriele Guest
|
Posted: Sun Mar 19, 2006 8:03 pm Post subject: Playing Multiple WAV files simultaneously |
|
|
Hello,
I am new at Multimedia with Delphi. Does anyone know if there is a way to
play two mono WAV files
simultaneously, one through the right channel and one through the left
channel using either Multimedia or
Directx? I have a SoundBlaster Live card running on an XP Pro system. I am
also using Delphi 7. Thanks.
Joe Gabriele |
|
| Back to top |
|
 |
Charles Hacker Guest
|
Posted: Mon Mar 20, 2006 2:03 am Post subject: Re: Playing Multiple WAV files simultaneously |
|
|
Multiple post, posted to many newsgroups!
Stick to one newsgroups, as per newsgroup rules. |
|
| Back to top |
|
 |
Tsviatko Jongov Guest
|
Posted: Tue Apr 04, 2006 7:03 am Post subject: Re: Playing Multiple WAV files simultaneously |
|
|
Hi,
There are two ways for doing this. The first way is to build DirectShow
transform filter with two input pins (two mono channels) and one output
pin (one stereo channel). This filter will simply multiplex the two
mono channels to one stereo. After this you'll need to build a graph
with two FileSource filters (loaded with the two mono wav files), two
WaveParsers, the new muxer that you have to build and Default
DirectSound Device filter.This filter is very easy to implement.
The second way is to use microsoft DirectSound API functions. You'll
need to write your self wave readers, again pcm multiplexor and then
stream buffers to the sound device.
I'm not sure, but I think there is another way - using mmsystem.pas
functions.
Best Reagards,
Tsviatko Jongov
tsviatko dot jongov dot com |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|