开发者

So I want to make a basic music visualizer in C# as practice. Is there a library that lets me handle sound files easily in C#?

What is a sound library I can use to easily manipulate sound files (mp3, ogg, wav, etc.).

I'm doing this as a leasure project and a开发者_高级运维s such I'm more than willing to read a bit because I want this to be a little learning experience.

Any help, SO? :D


If you need more than just .wav files, as it appears you do, and you're using .NET 3.0 or higher, have a look at:

MediaPlayer Class

It's basically a wrapper around Windows Media Player, and will let you do in code most (if not all) of what WMP can do.

If you're still in .NET 2.0, have a look at the Windows Media Player SDK, which is a significantly uglier wrapper around Windows Media Player. See this answer.


SoundPlayer class for wav. At the bottom of that documentation there is a link to a page explaining how to also play mp3 and wma.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜