jacquesh / foo_openlyrics

An open-source lyric display panel for foobar2000
MIT License
403 stars 24 forks source link

[Feature] Enhanced LRC support for Word-by-word synced lyrics #258

Open Rexadev opened 1 year ago

Rexadev commented 1 year ago

Also add support for https://en.wikipedia.org/wiki/LRC_(file_format)#A2_extension:_word_time_tag

Sample lyrics

[Verse 1]
[00:00.00]I <00:00.00> walk <00:00.38> a <00:00.52> lonely <00:00.95> road
[00:01.79]The <00:02.19> only <00:02.40> one <00:02.79>
[00:03.08]that <00:03.25> I <00:03.40> have <00:03.70> ever <00:03.90> known
[00:05.00]Don't <00:05.18> know <00:05.36> where <00:05.54> it <00:05.72> goes
[00:07.15]But <00:07.32> it's <00:07.60> home <00:07.91> to <00:08.08> me, <00:08.23> and <00:08.45> I <00:08.61> walk <00:08.81> alone

[Chorus]
[00:14.15]I <00:14.38> walk <00:14.57> this <00:14.72> empty <00:15.04> street
[00:18.17]On <00:18.38> the <00:18.51> Boulevard <00:18.89> of <00:19.05> Broken <00:19.35> Dreams
[00:20.69]Where <00:20.89> the <00:21.07> city <00:21.27> sleeps
[00:26.14]and <00:26.32> I'm <00:26.50> the <00:26.68> only <00:27.06> one, <00:27.24> and <00:27.45> I <00:27.61> walk <00:27.81> alone
[Intro]
[00:00.00]Look, <00:00.00> I <00:00.36> was <00:00.57> gonna <00:00.80> go <00:01.03> easy <00:01.30> on <00:01.49> you <00:01.70> and <00:01.93> not <00:02.13> to <00:02.30> hurt <00:02.51> your <00:02.71> feelings
[00:05.04]But <00:05.21> I'm <00:05.37> only <00:05.59> going <00:05.86> to <00:06.03> get <00:06.23> this <00:06.42> one <00:06.63> chance
[00:08.94]Something's <00:09.34> wrong, <00:09.55> I <00:09.72> can <00:09.93> feel <00:10.14> it
[Verse 1]
[00:11.84]Just <00:12.02> a <00:12.16> feeling <00:12.35> I've <00:12.56> got, <00:12.78> like <00:12.97> something's <00:13.18> about <00:13.38> to <00:13.56> happen, <00:13.80> but <00:13.99> I <00:14.16> don't <00:14.37> know <00:14.53> what
[00:15.72]If <00:15.88> that <00:16.06> means, <00:16.26> what <00:16.45> I <00:16.63> think <00:16.81> it means, <00:17.01> we're <00:17.20> in <00:17.39> trouble, <00:17.62> big <00:17.85> trouble, <00:18.09> and <00:18.32> if <00:18.53> he <00:18.71> is <00:18.88> as <00:19.05> bananas <00:19.25> as <00:19.42> you <00:19.60> say, <00:19.81> I'm <00:19.98> not <00:20.20> taking <00:20.39> any <00:20.59> chances
[00:21.30]You <00:21.47> are <00:21.63> just <00:21.83> what <00:22.02> the <00:22.17> doc <00:22.36> ordered

[Chorus]
[00:22.95]I'm <00:23.13> beginning <00:23.36> to <00:23.56> feel <00:23.77> like <00:23.98> a <00:24.12> Rap <00:24.29> God, <00:24.52> Rap <00:24.73> God
[00:25.04]All <00