什么是最好的实惠C ++库音频? [英] What are the best affordable c++ audio libraries?
问题描述
我在找一个C ++的音频库,可以播放MP3和混合音频。我可以在这上面花一些钱,但我在一个有点紧张的预算,所以越少越好。它真正需要的只是Windows和Mac OS X上运行虽然Linux和嵌入式设备是一大利好。任何人都知道一个好的图书馆的还是两个?
I'm looking for a c++ audio library that can play mp3s and mix audio. I can spend some money on it, but I'm on a somewhat tight budget, so the less the better. It really needs to just run on Windows and Mac OS X although Linux and embedded devices are a big plus. Anyone know of a good library or two?
谢谢!
推荐答案
从游戏开发的世界,你会发现很多好的库。显然,混合不告诉你想要做什么,但在很多比赛我们混合曲目和声音来获得某种氛围,所以我想这可能是对您有用:
From the game development world, you'll find a lot of good libraries. Obviously "mixing" doesn't tell what exactly you want to do but in a lot of games we mix tracks and sound to get some kind of ambiance so I guess it can be useful for you:
更新:FMOD现在有一个免费的独立许可证
UPDATE: fmod now have a free indie license.
- FMOD http://www.fmod.org/ :可能是价格昂贵,即使他们有一个散(想想独立)的许可。但是,它肯定在同行业中的标准,因为它是uncontestably非常强大。
- Irrklang http://www.ambiera.com/irrklang/:已被使用,由几个独立游戏开发商建议。它的价格便宜,即使你买最贵的版本。
- 低音 http://www.un4seen.com/ :在使用中几场比赛的质量这么好,但比Irrklang更exepensive虽然比FMOD便宜。
- 蛤蜊 http://clam-project.org/ :这是更自由,灵活的previous库,但也可能是您的需求,太灵活了。
- CAudio https://github.com/wildicv/cAudio : OpenAL的包装用C ++接口和增加高杆的结构,它可能不适合您的需求,要看,而且我不知道该库的质量;也许值得一试,因为它是所有最开放源码。
- FMOD http://www.fmod.org/ : might be expensive even if they have a "casual" (think "indie") license. However, it's certainly the "standard" in the industry because it's uncontestably very powerful.
- Irrklang http://www.ambiera.com/irrklang/ : have been used and recommended by several indie game developers. It's cheap, even if you buy the most expensive version.
- Bass http://www.un4seen.com/ : used in several games so good quality, but more exepensive than Irrklang while cheaper than FMOD.
- Clam http://clam-project.org/ : this is more free and flexible that the previous libraries but also might be too flexible for your need.
- CAudio https://github.com/wildicv/cAudio : wrapping OpenAL with a C++ interface and adding higher lever constructs, it might not fit your need, depends, but also I'm not sure of the quality of the library; maybe worth a try as it's the most open-source of all.
如果你没有时间pssed(或者想帮助)$ P $,还有的 格纹/音频,一个有前途的软件音频处理库,它仍然是一个进展中的工作而是由的 SourceSelf (此役使用播放器的声音般,您的支持语音输入)。
If you are not pressed by time (or want to help), there is also Plaid/Audio, a promising software audio processing library which is still a work in progress but is extracted from the engine used by SourceSelf (a game which use player's sounds -like, your voice- as input).
这篇关于什么是最好的实惠C ++库音频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!