This repository has been archived on 2024-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
negromate_origins/web/negromateweb/templates/karaoke.ass

10 lines
1.2 KiB
Plaintext

[Script Info]
Title: Template negro mate
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,code once,function char_counter(ref) ci[ref] = ci[ref] + 1; return "" end
Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,code line all,ci = {0,0}; delay = 800; delay_2 = 300
Comment: 1,0:00:00.00,0:00:00.00,Default,,0,0,0,template char,!char_counter(1)!!retime("start2syl",-1500+(ci[1]-1)*50,0)!{\an8\alpha&HAF\fscx50\fscy50\bord1\3c&HFFFFFF&\1c&HFFFFFF&\blur1\t(!$scenter-$lleft+200!,!$scenter!,\fscx120\fscy120\alpha&0&)\pos($scenter,$smiddle)\fscx100\fscy100\shad0}
Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,template syl,!retime("syl",0,0)!{\an2\pos($center, !$smiddle - 5!)\fscx100\fscy100\c&HFFFFFF&\3c!_G.ass_color(_G.HSV_to_RGB(360*(syl.i/$syln)*$kdur,1,1))!\blur5\bord2\t(0,!$dur*0.5!,\frz!math.random(-30,30)!)\t(!$dur*0.5!,$dur,\frz0)\t(0,300,\3c!_G.ass_color(_G.HSV_to_RGB(360*(syl.i/$syln)*$kdur,1,1))!\c&HFFFFFF&\bord5\blur6)\t(300,$dur,\c\3c!_G.ass_color(_G.HSV_to_RGB(360*(syl.i/$syln)*$kdur,1,1))!\3c!_G.ass_color(_G.HSV_to_RGB(360*(syl.i/$syln)*$kdur,1,1))!\bord2\blur1)}