Solved

Audio Stream Editing & Broadcast

Posted on 2002-06-14
3
320 Views
Last Modified: 2012-05-04
I'm trying to build a proof-of-concept presentation tool in which the presenter can select from multiple available audio streams (including a microphone/line in/currently playing audio programs if I can capture their output somehow) and broadcast that combined stream to a small number of clients.

I have a low maximum number of clients (under 30) so I could just create one thread per client connection and pass it data that it streams to the client. That part I can deal with just fine. The part I have no clue how to address in .NET is the audio streams: Where to get them from, how to manipulate them (combine, fade, etc.) and then how to send it to the wave device once I'm done "processing" the stream.

I'm not against using DirectX from my managed code, but I'll need lots of details on how to make it well-behaved for I do need a stable implementation.

I know I can already implement all the other features required, but on the audio streaming part I'm stumped, so therefore 200 points up for grabs if someone can lead me to a solution in .NET/C# so that I can get this project going.

I'll give a 1000 points if you give & explain to me C# code for a complete implementation equivalent to NullSoft's ShoutCast.
0
Comment
Question by:ayrezyle
3 Comments
 
LVL 4

Accepted Solution

by:
DarthPedro earned 200 total points
ID: 7172936
I'm not sure if you found your answer to this yet, or even if you're interested any more.  But, here's a link to a good sample of using DirectX to do sound in a .NET Framework-based sample game.  It's pretty detailed code and has a DirectSoundClass that you should be able to add to your project directly (and it's all in C#).
http://www.gotdotnet.com/userfiles/edgecrush3r/Deviate.zip

To get DirectX component integrated into your .NET project, you need to add a reference to it in your WinForm project.  To do this, select the project and right click it.  Then, click the Add Reference item in the menu.  Then, click on the COM page tab.  Scroll down to the "DirectX 8 for Visual Basic Type Library" (don't let the name fool you; you need it for your C# project as well). Click OK and a new Interop.DxVBLib.dll item should have been added to your project.  The DirectSoundClass above uses this component to do the interoperability with DirectX.

Let me know if that helped at all, or if you need more information.
0
 
LVL 8

Expert Comment

by:zlatev
ID: 7964886
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- solved by DarthPedro


Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Zlatin Zlatev
0
 
LVL 1

Author Comment

by:ayrezyle
ID: 7965370
Not quite what I wanted, but fair is fair.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

806 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