jayasme / spotlightlyrics Goto Github PK
View Code? Open in Web Editor NEWAn LRC file parser for iOS
License: MIT License
An LRC file parser for iOS
License: MIT License
[00:12.00]This [00:12.50]is [00:13.00]the [00:13.50]first [00:14.00]line
[00:15.30]This [00:15.80]is [00:16.30]the [00:16.80]second [00:17.30]line
Enhanced LRC format is an extension of Simple LRC Format developed by the designer of A2 Media Player. It adds an extra Word Time Tag in the format: <mm:ss.xx>.
[mm:ss.xx] <mm:ss.xx> line 1 word 1 <mm:ss.xx> line 1 word 2 <mm:ss.xx> ... line 1 last word <mm:ss.xx>
[mm:ss.xx] <mm:ss.xx> line 2 word 1 <mm:ss.xx> line 2 word 2 <mm:ss.xx> ... line 2 last word <mm:ss.xx>
...
[mm:ss.xx] <mm:ss.xx> last line word 1 <mm:ss.xx> last line word 2 <mm:ss.xx> ... last line last word <mm:ss.xx>
Please refer to https://en.wikipedia.org/wiki/LRC_(file_format) to learn more.
I'll announce if I have any progressive work done.
抱歉~剛學swift,一直找不到錯誤的地方,已經斷點測試好幾次,感覺應該是歌詞有問題但也看不出來,歌曲輪播,特定歌曲才會,出現時間點是有問題的那個歌詞換下一首歌的瞬間
LyricsView.swift
if let lastIndex = lastIndex{
lyricsViewModels[lastIndex].highlighted = false <=====Thread 1:Fatal error:Index out of range
}
Hi, thanks for sharing this project. Here is just a small problem
The stop button on your Demo is just a pause, if I click start, it will resume.
How do I stop the whole lyrics and restart from the beginning?
Thank you very much
Hi,
Thanks for the update, however, the problem remains same, when I use the following code, it still does not start over from the beginning of the lyrics,
lyricsView.timer.seek(toTime: 0)
lyricsView.timer.play()
It just resumes where it paused. Please help on this issue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.