Solved

Audio Stream Editing & Broadcast

Posted on 2002-06-14
3
324 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Raise the IQ of Your IT Alerts

From IT major incidents to manufacturing line slowdowns, every business process generates insights that need to reach the people required to take action. You need a platform that integrates with your business tools to create fully enabled DevOps toolchains.

You need xMatters.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

696 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