如何在iPhone上以卡拉OK风格显示歌词? [英] How do you display song lyrics in Karaoke style on the iPhone?

查看:175
本文介绍了如何在iPhone上以卡拉OK风格显示歌词?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在创建一个播放音乐的应用程序。我想添加一个功能,在音乐播放时显示音乐歌词,标记的文本的当前位置与歌曲中的当前位置相匹配。弹跳球效果,就像你在歌曲播放时在每个卡拉OK屏幕上看到的。
我一直在寻找扩展我的caf文件,添加字符串块,然后再读出来。这是正确的方法吗?有人知道更好,更容易/正常的方式来实现我的目标吗?
由于我不知道如何同步一切,我会很乐意的任何建议,代码示例或有用的意见。

I am currently creating an app that plays music. I would like to add a feature that shows the music lyrics while the music plays, with the current position of the text marked to match the current position in the song. The Bouncing Ball effect, just like you see on every Karaoke screen as the song plays. I have been looking into extending my caf files, adding "string chunks" and then reading them out again. Is this the correct way to do this? Does anybody know of a better/easier/normal way to achieve my goal? As I am not sure how I would synchronize everything, I would be happy for any suggestions, code examples or helpful comments. Maybe somebody has done this before and would be happy to advise me.

预先感谢提供的任何信息。

Thanks in advance for any information offered.

Alan

推荐答案

这些日子里的大多数卡拉OK应用程序都使用.Kar文件扩展名。它是一个略微butchered MIDI文件与一些注释,它的文件大小相当小。

Most Karaoke apps these days use the .Kar file extension. It's a slightly butchered MIDI file with some annotations and it's pretty small in file size.

我不知道你会开始阅读它。您可以问这些人: http://www.ikaraokeapp.com/

I have no idea where you'd start to read it though. You could ask these guys: http://www.ikaraokeapp.com/

最小的开发者很乐意帮助别人。

Most little devs are happy to help others out.

这篇关于如何在iPhone上以卡拉OK风格显示歌词?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆