How can i make the lyrics enhanced. #21
Replies: 6 comments 3 replies
-
hi @nischaldoescode sorry for my late response. is the lyric text inside the brackets? if yes, it looks like you have the wrong lrc format because usually the brackets are used to wrap the timestamp or metadata and then followed by the lyric line like:
for a more complete reference about the lrc file format you can read it from here. and liricle is a library to parse & run lrc file not to create them. but you can use online tools like lrcgenerator. cheers 🍻 |
Beta Was this translation helpful? Give feedback.
-
Not it's on normal format where
The time is only in brackets
Something like this
[00:00:10] (Something text)
…On Thu, 9 Jan 2025, 6:45 pm mcanam, ***@***.***> wrote:
hi @nischaldoescode <https://github.com/nischaldoescode> sorry for my
late response. is the lyric text inside the brackets? if yes, it looks like
you have the wrong lrc format because usually the brackets are used to wrap
the timestamp or metadata and then followed by the lyric line like:
[ar:Chubby Checker oppure Beatles, The]
[al:Hits Of The 60's - Vol. 2 - Oldies]
[ti:Let's Twist Again]
[00:12.00] Line 1 lyrics
[00:17.20] Line 2 lyrics
for a more complete reference about the lrc file format you can read it
from here
<https://en.wikipedia.org/wiki/LRC_(file_format)#:~:text=LRC%20(short%20for%20lyrics)%20is,lyrics%20synchronously%20with%20a%20song.>
cheers 🍻
—
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3Y4E4ESXQPQ52SBD54WRUL2JZZALAVCNFSM6AAAAABUUOBRDWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNZYGY2TENI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Eventually I did get the data, I wanted to get the whole text data and do
something according to the timestamp
…On Sat, 11 Jan 2025, 6:57 am mcanam, ***@***.***> wrote:
ah ok, do you mean to get the word data without using enhanced lrc? if you
just want to get the word data or string, you can split the lyric line per
word manually using the javascript String function .split(' '). but, if
you want to get the word data along with the timestamp without enhanced lrc
this will be a bit more complicated task without machine learning or AI.
because you have to know when and where the word was said in the song. and
calculate it with just one lyric line timestamp, i think it will be very
difficult to do.
—
Reply to this email directly, view it on GitHub
<#21 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3Y4E4AVF7HSCOTPLJGSEL32KBXRJAVCNFSM6AAAAABUUOBRDWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOBQGM4TEMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello, I was wondering if you could add and make it easier for normal .LRC
file where a user doesn't need enhanced one ?.
And if you add styling like scaling the text, colours ?. If so that would
be so much helpful.
Will be waiting for your response.
Thank you.
…On Sat, 11 Jan 2025, 10:02 am Nischal Sharma, ***@***.***> wrote:
Eventually I did get the data, I wanted to get the whole text data and do
something according to the timestamp
On Sat, 11 Jan 2025, 6:57 am mcanam, ***@***.***> wrote:
> ah ok, do you mean to get the word data without using enhanced lrc? if
> you just want to get the word data or string, you can split the lyric line
> per word manually using the javascript String function .split(' '). but,
> if you want to get the word data along with the timestamp without enhanced
> lrc this will be a bit more complicated task without machine learning or
> AI. because you have to know when and where the word was said in the song.
> and calculate it with just one lyric line timestamp, i think it will be
> very difficult to do.
>
> —
> Reply to this email directly, view it on GitHub
> <#21 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/A3Y4E4AVF7HSCOTPLJGSEL32KBXRJAVCNFSM6AAAAABUUOBRDWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOBQGM4TEMY>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
So I don't have knowledge regarding the library thing. I would love to add
something.
Styling component. At least you can add docs regarding how to add styling
to it ?.
Let's assume a user can itself define the styling component and you don't
need to. Is that possible?.
…On Sun, 12 Jan 2025, 1:18 pm mcanam, ***@***.***> wrote:
sorry, maybe the explanation was a bit unclear, so it was a bit confusing
😢 but actually, liricle automatically supports both formats.
and liricle is a headless library, meaning it doesn't have a UI component.
you can imagine it like a vehicle engine, where users are free to choose or
create their own chassis. the demo page is actually just to show how
liricle works. but it seems like many people misunderstood 😆. i apologize,
i'll fix this right away.
—
Reply to this email directly, view it on GitHub
<#21 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3Y4E4FEDYSPGPWOSWM6WET2KIM4PAVCNFSM6AAAAABUUOBRDWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOBRGA2TENQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
That's great but what I am trying to say is,
What if we add a class to the text corresponding to the timestamp, meaning
the active and inactive.
Something like, using an active keyword defined in the library itself and
further styling we can apply ?.
Let's suppose there is an .LRC file
Which contains,
[00:00:10] (Something Text)
[00:00:20] (Something Text)
So, what I am trying to say is, for the time of 10 it will have active
state and
For other text it will have inactive.
I just hope you got my English.
I am so bad at this, I am So So Sorry.
Hope I can contribute more. Actually I want to learn the library thing, I
actually want to contribute to it. Any guides ? For contributing.
Thank you for such an amazing library.
…On Sun, 12 Jan 2025, 7:11 pm mcanam, ***@***.***> wrote:
of course! i've created a new example for styling in the examples folder.
you can check it out and feel free to play around with the css.
https://github.com/mcanam/liricle/tree/main/examples/styling
—
Reply to this email directly, view it on GitHub
<#21 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3Y4E4FVVNNIJOQJNOML6Q32KJWILAVCNFSM6AAAAABUUOBRDWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOBRGE4TENQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just wanted to know, coz the liricle.data keeps returning null. So, is there any way ?.
My .lrc file is on
[00:00.00]
[00:10.60][Text data]
or is there a way to get the text value without having the enhanced lrc ?.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions