Iphone - 编写带有歌词的媒体播放器
我想编写一个简单的媒体播放器,它显示从网络检索到的歌词。
我知道 LyricWiki 曾经是这样的来源,但现在不复存在了。 是否有我可以使用的新 API 或歌词源? 当我得到歌词后,如何将它们与歌曲同步?
我知道 MPMediaItem 类具有 MPMediaItemPropertyLyrics 但这对我来说显然还不够,因为这仅适用于 Itunes 中的歌曲,并非所有歌曲都有可用的歌词。
我将不胜感激任何可以用来解决此问题的帮助或链接。
I want to write a simple media player which displays lyrics that are retrieved from the web.
I know once LyricWiki was such a source, but now no longer exists.
Does a new API or source for lyrics exist that I can use ?
When I do get the lyrics, how do I sync them with song ?
I know the MPMediaItem class has the MPMediaItemPropertyLyrics but this is cleary not enough for me cause this is only for songs from Itunes and not all of them have lyrics available.
I would appreciate any help or links that can I use to sort this issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
稍微谷歌搜索一下,我发现了一些可能解决您的问题的选项:
我想听听哪一种最适合您,如果其中有的话。
A little Googling and I found a few options that might solve your problem:
I'd like to hear which works for you the best, should any of them.
https://developer.musixmatch.com
它是官方授权的歌词 api
https://developer.musixmatch.com
it's an Official and Authorized lyrics api
同步歌词 api 很昂贵。以下工作可以完成,但不知道它们有多贵。
http://www.lyricfind.com
http://developer.echonest.com/sandbox/lyricfind.html
The synced lyrics api are expensive. following do the job but dont know how expensive they are.
http://www.lyricfind.com
http://developer.echonest.com/sandbox/lyricfind.html