Karaoke Templater is an Automation script that ships with Aegisub. Its primary purpose is to help creating karaoke effects with a specially designed template language. Karaoke Templater is already installed and ready to use along with Aegisub.
Plan more tutorials. Also actually write those above.
Also see the Karaskel section for more
information on what's in the
syl variables, and more.
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. Some of them are:
templatein there. Read the tutorials above for an introduction, or the reference below if you feel adventurous.
Aglobal is gone, but
sylare directly accessible. 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.
return falsehack to cancel execution of a template no longer works. Neither does having multi-statement Lua blocks and returning from them in general. For the first purpose the
fxgroupfunctionality has been introduced, and for your multi-statement needs code lines have been introduced.
line(for being-generated and original line) you now work with
orglinefor being-generated and original lines.
retimefunction has been introduced to make it much easier to control the start and end times of your generated lines.
|Overview:||Automation Manager • Running macros • Using export filters • Standard macros|
|Karaoke Templater reference:||Declaring
templates • Execution
order • Modifiers • Inline-variables ($-variables)
Code lines and blocks • Execution envirionment
|Lua API reference:||Registration • Subtitles object • Progress reporting • Dialogs • Misc. APIs|
|Lua Modules:||karaskel.lua • util • unicode • cleantags.lua • clipboard • re|
|Karaskel concepts:||Style tables • Dialogue line tables • Syllable tables • Inline effects • Furigana|