I doubt you will find a component that provides that function out of the 
box, but you could use the excellent and free Audio Component Suite 
(ACS) write your own audio processor component which takes 2 input 
streams and outputs one stream.

http://www.compiler4.net/acs

You would need a little PCM knowledge and study some of the existing 
components such as TAudioMixer which combines 2 stereo inputs into 1 
stereo output.  But what you want to do is much easier.

However, there is alternative that will not require any coding.  You can 
put 2 Output and 2 Input and 2 TStereoBalance components on the form. 
Set the Input1 to the Left channel only, and Input 2 to the Right 
channel only.  The sound device will be receiving 2 inputs but it 
shouldn't matter.

I only just found out about this component last week and I really like 
how it works by chaining components together via the Input property.

If you want MP3 inputs, you will need to download this 3rd party 
component which uses DirectX9 to play any DirectShow supported audio 
format.
http://www.compiler4.net/acs/ACS_DX9.zip

Regards,
Ross.

----- Original Message ----- 
From: "Jeff Young" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, June 20, 2005 8:19 PM
Subject: Sending sound to specific channels of a sound card.


Hello all,
    I'm doing some research for an application that needs to output 
sound to
specific channels of a sound card. I'm looking for info on links,
components, etc to do this.

Basically it needs to output a signal from a specified source file to a
specified target channel on a sound card and another signal from a 
different
file to a different channel on the same card. Something akin to

SoundCard[0].Channel[0].Stream := TFileStream0;
SoundCard[0].Channel[1].Stream := TFileStream1;

would be too much to hope for...

But anything would be great.

Thanks for your input,

Jeff Young

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to