

We only used one in this tutorial, this template line type, or template class, is called a line template. It's called this because it creates one line of styled karaoke from one line of timed karaoke. So, the template line text in the Effect field means this is a template line of line class.The second word in the Effect field of a template line tells what template class it is. The main text for a template line is called the template text. In line templates, every \k tag is replaced with the template text.

These are short words that start with a dollar-sign, like $start, $end, $mid and $kdur. Variables are replaced with the information they store for every syllable that's replaced. $start gets replaced with the start time of the syllable. This is in milliseconds from the start of the line, ie.
AEGISUB TEMPLATE LIKE THAI KARAOKE CODE
a time code suitable for putting into the \t, \move and \fade tags. Similarly, $end is the end time of the syllable, also in milliseconds.Ī bit more special is $mid, this is the midway time of the syllable, the time right in the middle of $start and $end. Here, we used it to grow each syllable taller the first half of its duration, and back to normal height for the second half. This is the original time from the \k tag, and is almost only useful for putting back into a \k tag, like we did here.By Anonymous reviewed on FebruThe $kdur variable, however is in centiseconds.
AEGISUB TEMPLATE LIKE THAI KARAOKE FREE
Check the tutorials or read the reference to learn about it all.!! Just remember this one: there is the most interesting feature that will really help you out to perfectly and easily adjust the couple of texts i n a line (or lines) you've just created (or if you are to modify.) The best of best free advanced subtitle editor/maker.

For the first purpose the fxgroup functionality has been introduced, and for your multi-statement needs code lines have been introduced. Neither does having multi-statement Lua blocks and returning from them in general. The return false hack to cancel execution of a template no longer works.The escaped Lua code is no longer run in the true global environment but instead in its own environment, so clashes between your templates and Karaoke Templater itself is much less probable. The A global is gone, but line and syl are directly accesible.Instead of using percent-signs to write Lua code blocks you use exclamation marks.Read the tutorials above for an introduction, or the reference below if you feel adventurous. You can also put much more than just template in there. You no longer declare template lines in the Actor field but in the Effect field instead.If you have used the multi-template script from Aegisub 1.10 you should recognise several similar concepts in the karaoke templater, but there are also several pitfalls. Contents of the code block/line execution environmentĪlso see the Automation 4 a section for more information on what's in the line and syl variables, and more.Rules for when and in what order templates are run.
