什么是用于.NET的最好的音频COM pression库?最好的、音频、NET、COM

2023-09-03 02:54:35 作者:不再联系

我在寻找的.NET一个很好的音频COM pression库。任何使用MP3是(因为发牌的问题)了。基本上,我只需要能够融为一体preSS经常WAV音频数据转换成某种格式,并DECOM preSS回WAV。 preferably的code将所有的.NET(C#或VB.NET),但我不认为这是可能的。应当要么是无损或相对无损(不如192的MP3,preferably),用一个COM pression比率至少一样好4:1。我想preFER一个缓冲的API,但基于文件的API就OK了。

I'm looking for a good audio compression library for .NET. Anything using MP3 is out (because of the licensing issue). Basically I just need to be able to compress regular WAV audio data into some format, and decompress back to WAV. Preferably the code would be all .NET (C# or VB.NET), but I don't think this is likely. It should either be lossless or relatively lossless (as good as 192 MP3s, preferably), with a compression ratio at least as good as 4:1. I'd prefer a buffer-based API, but a file-based API is OK too.

有谁知道这样的事?

推荐答案

你有没有想过使用WMA?如果你使用托管C ++或C ++ / CLI它很容易编写各地的Windows Media Format SDK的托管包装。这个组件可以很容易地使用更高级别VB.Net或C#组件。只要你安装了WMP它甚至不需要任何额外的依赖的优势。

Have you thought about using WMA? If you use managed C++ or C++/CLI it's very easy to write a managed wrapper around the Windows Media Format SDK. This assembly can then be easily used by a higher level VB.Net or C# assembly. As long as you have WMP installed it even has the advantage of not requiring any additional dependencies.