You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a bit new to lrc files, but essentially the audio file i am using is from the music video and it has an intro which the lrc doesnt account for. If possible I would like to shift all the time stamps a certain amount without have to edit each line directly.
The text was updated successfully, but these errors were encountered:
You can use the offset option, which will apply to all lyrics and be calculated separately from the offset tag value inside each lyrics:
varlrc=newLyric({offset: 150,// offset time(ms), default is 150 ms// ...})
But currently this option does not provide a method to update it, you can use lrc.offset = <new offset value> to update it, and then re-call lrc.play(<current time>)
Thanks for the response. What was happening for me, when setting the offset to say 10000ms, it would start the lines at [00:10.61] and ignore all the lines before it. I would want [00:10.61] to be [00:20.61]
In what scenario do you have to do this? Does this seem to want to intercept the lyrics of some time?
For this situation, I think it should provide a Hook method similar to afterParse. It is called after parsing the original lyrics. You can modify the parsed lyrics then return.
I'm a bit new to lrc files, but essentially the audio file i am using is from the music video and it has an intro which the lrc doesnt account for. If possible I would like to shift all the time stamps a certain amount without have to edit each line directly.
The text was updated successfully, but these errors were encountered: