是否有跨平台 Java 包可以播放、搜索和变调 MP3、WAV、OGG、MOD、S3M、IT、XM 和 MIDI?
或者,如果不是所有这些,至少是 MP3、WAV、OGG 和 MIDI,最好是 noarch(适用于 32 位和 64 位版本)我尝试使用 Audiere 的 Java 绑定,但它们是 32 位的,这将是一个痛苦必须在所有版本和平台中编译它(加上我不熟悉编译)
Or if not all of those, at least MP3, WAV, OGG, and MIDI, and preferably noarch (works on 32 bit and 64 bit builds) I tried using Audiere's Java bindings, but they are 32 bit, and it would be a pain to have to compile it in all builds and platforms (plus I'm not familiar with compiling)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试 JavaZoom。使用它们您可以处理 MP3 和 OGG 文件。我认为默认情况下Java应该能够处理WAV文件(因为它们没有以任何方式压缩),但我不确定,因为我从未使用Java来播放WAV文件(仅MP3文件)。但不确定 MIDI。
还有 JMF(Java 媒体框架),但这要求您在客户端计算机上安装该框架,然后才能使用它的功能。使用 JavaZoom,您所需要做的就是将它们的 jar 包含在您的项目中。我一直在寻找处理 MP3 文件播放的替代项目,但似乎 JavaZoom 和 JMF 是唯一不错的替代方案。
Try JavaZoom. With them you can handle MP3 and OGG files. I thought Java by default should be able to handle WAV file (as they are not compressed in any way), but I'm not sure since I've never used Java to play WAV files (only MP3 files). Not certain about MIDI though.
There's also the JMF (Java Media Framework), but that requires you to install the framework on client computers before you can use it's features. With JavaZoom, all you need to do is to include their jars in your project. I've been looking high and low for alternative projects which deals with playback of MP3 files, but it seems like JavaZoom and JMF are the only decent alternatives out there.