• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 589
  • Last Modified:

More than 2 independent output channels on soundcard

Hello,

given the 5.1 output of modern soundcards, is there any way to feed them with independent signal? I have made a program that serves as a 2-channel signal generator, feeding the left channel for example with sinus at 1kHz and the right channel with rectangular signal at 490Hz. Now, I would need to extend it so that it can generate at least 3 different output signals at the same time.

For reasons I cannot explain here, the solution could be even specific to a particular soundcard. Although a general solution is better, the only actual requirement is that it works for at least one type of an USB sound card and that the card should provide reasonable quality of output at low frequencies (<200Hz) and at least 44 kilosamples/second.

The task is to be solved under WinXP SP3 or Vista, C#, VB.NET or C++. If needed, I can even write a code that communicates directly to the driver, but I would like to avoid this.

Thanks for any help
0
bovlk
Asked:
bovlk
  • 3
  • 2
2 Solutions
 
isaackhaziCommented:
from a sound point of view all audio signals are always recorded in mono....not even stereo......
I DONT CLEARLY understand what you are trying to do. But anyways,

audio is always recorded in mono and then bounced or mixed into stereo. So whether you r feeding one channel or two channels with different sound doesnt make a difference.

Input channels are different from output channels. So even if you have a single channel you can always output that on numerous cahnnels.
0
 
bovlkAuthor Commented:
Exactly as you said. Audio is recorded in mono, but output can be multichannel, which I even confirmed by an actual oscilloscope. When sending sinus to the left output channel and rectangular to the right, I can see two different signal coming from the output of my soundcard. The question remains: can I output 3 or more different signals?
0
 
isaackhaziCommented:
do u have a sound card which is more than 2 channel...
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
bovlkAuthor Commented:
Yes, I have a 5.1 sound card.
0
 
bovlkAuthor Commented:
Thanks to MogalManic for pointing me to the APIs to use. Thanks to isaackhazi for reminding me that although I have a 7.1 sound card, it is possible that I will have to enable the 7.1 sound in its control panel - although I haven't tried the solution yet so I'm not sure if it is actually needed.
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now