/* Karaoke effects */ kate { defs { timebase 0:2.0 define region "r1" { percent position 10 10 size 80 15 } define region "r2" { percent position 10 30 size 80 15 } define region "r3" { percent position 10 50 size 80 15 } define style "karaoke1" { text color 100 200 100 255 } define style "karaoke2" { text color 100 100 100 255 } } event { // 10 seconds 0:0.0 --> 0:5.00 region "r1" style { font size 16 } text "L'amour est enfant de bohème" // 0 2 6 0 3 7 0 3 4 7 simple_timed_glyph_marker { height from 24 to 40 pause for 0:1.0 glyph 2 at 1.246029 glyph 6 at 1.773831 glyph 10 at 2.337319 glyph 13 at 3.178846 glyph 17 at 3.417869 glyph 20 at 3.913005 glyph 24 at 4.434370 glyph 27 at 4.756512 } motion { semantics glyph pointer 1 bitmap curve { linear 9 points { 0 0 1 0 2 0 3 0 4 0 3 0 2 0 1 0 0 0 } } for 1 periodic } define local bitmap { source "ball_blue.png" offset 50% 50% } define local bitmap { source "ball_blue-0.92.png" offset 50% 50% } define local bitmap { source "ball_blue-0.75.png" offset 50% 50% } define local bitmap { source "ball_blue-0.57.png" offset 50% 50% } define local bitmap { source "ball_blue-0.5.png" offset 50% 50% } } event { // 10 seconds 0:5.0 --> 0:10.00 region "r2" text "Il n'a jamais, jamais\nconnu de loi" // 01 5 8 2 6 0 3 6 9 3 simple_timed_glyph_style_morph { from style "karaoke1" to style "karaoke2" pause for 0:1.0 glyph 1 at 1.297194 glyph 5 at 1.493468 glyph 8 at 1.896328 glyph 12 at 2.296618 glyph 16 at 2.485517 glyph 20 at 2.686412 glyph 23 at 2.889080 glyph 26 at 3.111066 glyph 29 at 3.544576 glyph 33 at 3.923537 } } /* simpler syntax - should be able to make templates */ event { // 10 seconds 0:5.0 --> 0:10.00 region "r3" simple_timed_glyph_style_morph { from style "karaoke1" to style "karaoke2" //pause for 0:1.0 "Il " at 1.3 "n'a " at 1.5 "ja" at 1.9 "mais, " at 2.3 "ja" at 2.5 "mais\n" at 2.7 "co" at 2.9 "nnu " at 3.1 "de " at 3.5 "loi" at 3.9 } } }