Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple audio outputs in .Net

Tags:

c#

.net

audio

I am looking to build a PC box that can play up to 16 audio files(mp3/wav) out to 16 analog devices(think of it as 16 sets of speakers). There will be a one to one relationship for audio file to analog output. The solution that is being presented to be hardware wise is to use multiple sound cards, so my question is, is there a library available that will let me play an audio file to a specific sound card / channel?

like image 378
Robin Robinson Avatar asked Apr 02 '09 18:04

Robin Robinson


3 Answers

Yes, the BASS library can do this. http://www.un4seen.com

C# wrappers are also available, a commercial one:
Bass.NET
and an excellent alternative open source C# wrapper for Bass:
ManagedBass by Mathew Sachin

like image 57
Magnus Johansson Avatar answered Oct 12 '22 23:10

Magnus Johansson


I found this one while I was looking as well. http://www.alvas.net/alvas.audio.aspx

like image 43
Robin Robinson Avatar answered Oct 12 '22 22:10

Robin Robinson


FMOD should do what you're looking for. It's also an extremely fast, solid and popular library overall.

like image 42
DNS Avatar answered Oct 13 '22 00:10

DNS