Iphone - Writing a media player with lyrics

2019-03-31 18:40发布

问题:

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