Splits lines based on \N
It could be handy to have a method that analyzes the lines, searches for \N and splits those lines. It could even be done in the parsing phase, providing an additional parameter to control it.
This is especially useful when creating a karaoke effect, because \N currently is ignored.
Example:
START=0,END=40,TEXT={\k10}a {\k10}b\N{\k10}c {\k10}d
Can become:
START=0,END=20,TEXT={\k10}a {\k10}b
START=20,END=40,TEXT={\k10}c {\k10}d
Hi, Here is my script to do it.
My script only split the line.
Besides, I didn't follow your example. Here's how I handle it all.
Example:
START=0,END=40,TEXT={\k10}a {\k10}b\N{\k10}c {\k10}d
Become:
START=0,END=40,TEXT={\k10}a {\k10}b
START=0,END=40,TEXT={\k20}{\k10}c {\k10}d
Logically, there is a way to recalculate all the word, syl and char from the line, so I think that this script can be very useful.