tags:

views:

4554

answers:

4
+5  Q: 

C# Audio Library

I am looking to develop an audio player in C#, but was wondering what libraries are available for playback. I am looking for a free library that allows for an extensive list of audio formats to be played (for example mp3, wma, wav, ogg, etc.) Thats pretty much the basic functionality I would need. But if I could get picky, a library that can convert audio files between the formats would be handy. Doing a google search I came across the alvas.audio library, but it wasn't free. The VLC library would be nice too, but I couldn't get it to work, and I'd prefer to just package my application with a dll instead of having my users have the VLC software installed on their machine as well.

Thanks for any tips or advice on this.

+4  A: 

Bass Audio Library is one option.

Joel Coehoorn
Thank you for the link. I will definitely look into this.
Nick
I was successful making a toy audio player myself with this library. It's pretty easy to use.
Nick
+2  A: 

You will want to take a look at DirectShow. DirectShow is an unmanaged library which depends on the codecs installed on the user's system for which you can create render graphs. DirectShow is free and usually installed on most Windows machines.

There is a managed wrapper for DirectShow titled DirectShow.NET, which you can find here:

http://directshownet.sourceforge.net/

casperOne
I will look into this as an option. Thank you for the information.
Nick
+3  A: 

NAudio is an open source .NET audio library that can play back WAV files, using ACM codecs installed on your computer for decompression purposes. It also has preliminary support for MP3 file playback (works good with CBR, not always so reliably with VBR). It can't do WMA and OGG yet though.

Mark Heath
A: 

Alvas.Audio

Alex