很高兴再一次发行仓库,这是我的礼物送给大家。
这个模块利用 typescript 构建,没有任何矫揉造作的封装整合之类,你可以通过es6 module的引入方法引入.
我曾尝试过 webpack 然苦其良久,于是这个库并没有执行。
这个库是我很久之前的愿望,终于得以实现。虽然不长,但是能用。
The content above is just some gossip by the author.
我有一个愿望,就是让他更加完美。就像那些真正的卡拉 OK 一样。
I once have a dream that there should be a true karaoke player, just like the true ones do.
那么我将维护一个类播放器元素,你全凭他的样子使用他。
So a player-alike karaoke element will be maintained, which is self-documented.
只有 released 版本可用!
The code of the branch isn't always available, for which you should only use the version newly released.
参见 test 。
lyric 的格式请浏览 src/caraoke.interface.ts
,这里不做讲究。
为避免一系列问题,test 中是没有具体音乐的,也没有具体歌词。
这里的 lyric 你可以寻求 kugou 这类平台的帮助,或者你可以等待数年,我可能发表 lyric editor 以提供可视化的 lyric 编辑。
谢谢。
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <[email protected]>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.