Iphone - 编写带有歌词的媒体播放器

发布于 2024-09-27 06:13:06 字数 251 浏览 0 评论 0原文

我想编写一个简单的媒体播放器,它显示从网络检索到的歌词。

我知道 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

捎一片雪花 2024-10-04 06:13:06

稍微谷歌搜索一下,我发现了一些可能解决您的问题的选项:

  1. 首先, LyricWiki 仍然存在。它已移至lyrics.wikia.com。然而,由于许可的原因,他们的 API 似乎裁剪了歌词。
  2. LyricsFly
  3. 图表歌词。对我来说看起来最有希望,尽管我自己还没有实际尝试过任何服务。

我想听听哪一种最适合您,如果其中有的话。

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.

潇烟暮雨 2024-10-04 06:13:06

https://developer.musixmatch.com

它是官方授权的歌词 api

https://developer.musixmatch.com

it's an Official and Authorized lyrics api

白馒头 2024-10-04 06:13:06

同步歌词 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文