从 MP3 中提取歌词
有人可以解释一下如何从 mp3 文件中提取歌词吗?我尝试过,但找不到任何用于此目的的文档。就像专辑封面一样,我们如何将其提取到文本文件中?在Java中可以吗?
Could someone explain how to extract the lyrics from an mp3 file?I tried but I can't get any documents for this purpose.Just like the album art, how can we extract it in to a text file? Is it possible in Java?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看看这个库:https: //web.archive.org/web/20170718142051/http://www.fightingquaker.com:80/myid3/
它应该做你需要的事情。
Take a look at this library: https://web.archive.org/web/20170718142051/http://www.fightingquaker.com:80/myid3/
It should do what you need.
MP3 不存储超出(乐器和)歌手声波的“歌词”。
如果您想要歌词,请考虑语音识别。很多歌手都会嘟哝着,祝你好运。
戴夫·牛顿指出:
因此,如果定义了这些内容,则 MP3 标签库可以提取它们。如果做不到这一点,请参见上文。
我怀疑音乐所有者在家中编码的 MP3 是否附有歌词。最近从 iTunes 购买的 MP3 可能是一个不同的故事。
MP3s do not store 'lyrics' beyond the sound wave of the (instruments and) vocalist.
If you want the lyrics, look to voice recognition. With the way many singers mumble, good luck with that.
Dave Newton points out:
So if those are defined, an MP3 tag library can extract them. Failing that, see above.
I doubt any MP3s encoded at home by owners of the music have lyrics attached. MP3s bought recently off iTunes might be a different story.