BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Playing Multiple WAV files simultaneously

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Multimedia
View previous topic :: View next topic  
Author Message
Joe Gabriele
Guest





PostPosted: Sun Mar 19, 2006 8:03 pm    Post subject: Playing Multiple WAV files simultaneously Reply with quote



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





PostPosted: Mon Mar 20, 2006 2:03 am    Post subject: Re: Playing Multiple WAV files simultaneously Reply with quote



Multiple post, posted to many newsgroups!

Stick to one newsgroups, as per newsgroup rules.
Back to top
Tsviatko Jongov
Guest





PostPosted: Tue Apr 04, 2006 7:03 am    Post subject: Re: Playing Multiple WAV files simultaneously Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.