More than 2 independent output channels on soundcard

Posted on 2009-02-10
Last Modified: 2013-12-08

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
Question by:bovlk
    LVL 8

    Expert Comment

    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.

    Author Comment

    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?
    LVL 8

    Assisted Solution

    do u have a sound card which is more than 2 channel...

    Author Comment

    Yes, I have a 5.1 sound card.
    LVL 21

    Accepted Solution


    Author Closing Comment

    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.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    26 Experts available now in Live!

    Get 1:1 Help Now