对 java 的 MP3/声音库有什么好的建议吗? [英] Any good recommendations for MP3/Sound libraries for java?

查看:26
本文介绍了对 java 的 MP3/声音库有什么好的建议吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找图书馆:

  • 读取和写入元数据(例如 mp3 和所有中的 ID3v2 标签)
  • 将压缩后的音频数据转换为原始音频数据,如果可能,将原始音频数据转换为 mp3、ogg、aac ......
  • 以数字方式处理音频数据(能量、音色、梅尔频率倒谱系数 - MFCC、FFT、LPC、自相关、小波等)

我已经知道并且不满足于:

I already know and am not content with:

  • JMF:源自 Sun,读取 mp3 并将其转换为 WAV.但不读取元数据,也不提供任何高级数字处理功能.
  • FMJ:具有相同限制的 JMF 的替代实现.
  • jAudio:不稳定,虽然有潜力,但目前维护不善.
  • Marsyas:在数字处理方面正是我所希望的,但在 C++ 中.也许某些端口/集成已经可用?
  • JID3:元数据的 API,但似乎已死(最新版本 2005/12/10).
  • JLayer:用于阅读和播放的 API,也已死(最后更新 2004/11/28).
  • MetaMusic:程序的 API 很简洁,但没有官方的独立开源项目.因此没有社区、未来的支持和所有......
  • Light Dev:一些有趣的功能,但并不完整.
  • JMF: original from Sun, reads mp3 and turns it into WAV. But does not read meta data nor provide any advanced digital processing features.
  • FMJ: Alternative implementation to JMF with same limitations.
  • jAudio: Not stable and although potential, currently not well maintained.
  • Marsyas: In digital processing just what I had hoped for, but in C++. Maybe some port / integration already available?
  • JID3: API for meta data, but seems to be dead (last release 2005/12/10).
  • JLayer: API for reading and playing, also dead (last update 2004/11/28).
  • MetaMusic: API of the program is neat but no official standalone open source project. Therefore has no community, future support and all...
  • Light Dev: Some interesting features, but not at all complete.

这是我自己的一些调查结果.我将不胜感激所有的意见,建议,批评,...

This is what some of my own investigation has turned up. I would greatly appreciate all input, suggestions, critics, ...

推荐答案

JLayer 应该可以满足您的一切需求.它没有死,它只是稳定.作者很早以前就完成了,此后 MP3 格式没有太大变化.您会注意到他的 MP3SPI 代码库更新一些.MP3SPI 所做的是将 JLayer 的能力转换为 JavaSound API.因此,您可以使用任何 JavaSound 代码,将 MP3SPI 添加到类路径,并期望 MP3 文件将开始工作.它很漂亮.:)

JLayer should do everything you need. It's not dead, it's just stable. The author finished it up quite a long time ago and the MP3 format has not seen much change since. You'll notice that his MP3SPI codebase is a little more recent. What MP3SPI does, is that translates JLayer's abilities into JavaSound APIs. Thus you can take any JavaSound code, add MP3SPI to the classpath, and expect that MP3 files will start working. It's pretty nifty. :)

这篇关于对 java 的 MP3/声音库有什么好的建议吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆