Iphone - Writing a media player with lyrics

回眸只為那壹抹淺笑 提交于 2019-12-21 05:42:09

问题


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.


回答1:


A little Googling and I found a few options that might solve your problem:

  1. First, LyricWiki does still exist. It's moved to lyrics.wikia.com. It seems that their API, however crops the lyrics, due to licensing.
  2. LyricsFly
  3. ChartLyrics. Looks the most promising to me, though I haven't actually tried any of the services myself (yet).

I'd like to hear which works for you the best, should any of them.




回答2:


https://developer.musixmatch.com

it's an Official and Authorized lyrics api




回答3:


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



来源:https://stackoverflow.com/questions/3913512/iphone-writing-a-media-player-with-lyrics

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!