Help with multi high-light

Discuss and get help for karaoke effect creation here

Help with multi high-light

Unread postby NoB » Sun Feb 12, 2017 4:25 am

Hello guys, I'm trying to do repeat the last sentence of two syllables, but only repeats the last syllable, it is possible to repeat the two without the need to put more syllables (tobe Instead tobe, tobe, tobe, tobe)?

My karaoke template:
Code: Select all
Comment: 1,0:00:00.00,0:00:00.00,Default,Entrada,0,0,0,template syl,!retime("start2syl",-300+($si-1)*20,0)!{\an5\be1\alpha&H55&\3vc(&H2306DC&,&H2306DC&,&H288FEE&,&H288FEE&)\pos($scenter,$smiddle)\fad(400,0)\fscx100\fscy100\c&HFFFFFF&}
Comment: 3,0:00:00.00,0:00:00.00,Default,Sílaba,0,0,0,template syl multi,!retime("syl",0,0)!{\an5\move($scenter,$smiddle,$scenter,$smiddle)\be1\1vc(&H2306DC&,&H2306DC&,&H288FEE&,&H288FEE&)\fscx145\fscy155\t(\fscx100\fscy100)}
Comment: 1,0:00:00.00,0:00:00.00,Default,Saída,0,0,0,template syl,!retime("syl2end",0,100-($syln-$si)*20)!{\an5\be1\1vc(&H2306DC&,&H2306DC&,&H288FEE&,&H288FEE&)\pos($scenter,$smiddle)\fad(0,300)}

My karaoke line:
Code: Select all
Comment: 0,0:01:01.02,0:01:06.30,Default,,0,0,0,karaoke,{\k24}{\k14}Fu{\k15}ri{\k16}so{\k19}so{\k16}gu {\k25}ryu{\k8}u{\k30}sei{\k24}gun {\k26}ni {\k18}no{\k40}ri {\k21}to{\k46}be {\k17}#{\k49}# {\k14}#{\k45}# {\k21}#{\k40}#
Posts: 15
Joined: Fri Sep 11, 2015 4:48 am

Re: Help with multi high-light

Unread postby jfs » Sun Feb 12, 2017 9:58 am

The # repetition thing is meant to be used specifically for kanji lyrics, where often one kanji covers multiple syllables. (E.g. 光/hikari written as {\k33}光{\k30}#{\k80}#.)

If you have entire phrases repeating as "echo", the best way is to have each repetition done on a new subtitle line.

In your case I'd do it as:
Code: Select all
Comment: 0,0:01:01.02,0:01:06.30,Default,,0,0,0,karaoke,{\k24}{\k14}Fu{\k15}ri{\k16}so{\k19}so{\k16}gu {\k25}ryu{\k8}u{\k30}sei{\k24}gun {\k26}ni {\k18}no{\k40}ri {\k21}to{\k46}be
Comment: 0,0:01:01.02,0:01:06.30,Echo,,0,0,0,karaoke,{\k0}Furisosogu ryuuseigun ni nori {\k341}{\k17}to{\k49}be
Comment: 0,0:01:01.02,0:01:06.30,Echo,,0,0,0,karaoke,{\k0}Furisosogu ryuuseigun ni nori {\k407}{\k14}to{\k45}be
Comment: 0,0:01:01.02,0:01:06.30,Echo,,0,0,0,karaoke,{\k0}Furisosogu ryuuseigun ni nori {\k466}{\k21}to{\k40}be

Note that I made the echo lines have a different style, I'm just calling it Echo here but it could really be anything you want.

Then I repeat all the text before the echoing phrase, but make sure to mark that up as zero duration. Instead I then sum up the total duration before each repetition and place into an empty-text syllable. This gives me two "empty" syllables at the start of each echo line: One zero-duration and one zero-text, and that makes me able to write a template that will just skip those entirely, only doing the echo part!
All the lines have exactly the same text, but timed differently, the result is that they also take up the same space when positions are calculated.

Then make a template for the echo like this:
Code: Select all
Comment: 3,0:00:00.00,0:00:00.00,Echo,Sílaba,0,0,0,template syl noblank,!retime("syl",0,0)!{\an5\move($scenter,$smiddle,$scenter,$smiddle)\be1\3c&HFFFFFF&\3a&H00&\1a&HFF&\shad0\fscx145\fscy155\t(\fscx100\fscy100\3a&HFF&)}

The really important part is the "noblank" modifier. That makes it skip the spacer text you don't actually want to repeat, and only generate output lines for the actual timed echo-syllables.

Another advantage of putting echoes on a separate timed line like this is that you can very easily make overlapping effects, like a second echo that begins before the first has finished.

Edit: From one of my own old effects:
Code: Select all
Dialogue: 0,0:01:08.54,0:01:15.26,hime op romaji,,0000,0000,0000,,{\k22}a{\k13}no{\k6} {\k16}hi{\k4} {\k16}to{\k5} {\k59}o{\k14}na{\k47}ji{\k132} {\k23}ha{\k32}ya{\k49}sa{\k5} {\k10}o{\k11} {\k34}ki{\k23}za{\k21}mu{\k0} {\k129}yo
Dialogue: 0,0:01:10.13,0:01:15.26,hime op romaji,,0000,0000,0000,,{\k22}{\-ghosthl}a{\k13}no{\k6} {\k16}hi{\k4} {\k16}to{\k5} {\k59}o{\k14}na{\k47}ji{\k132}{\-hidden} {\k23}ha{\k32}ya{\k49}sa{\k5} {\k10}o{\k11} {\k34}ki{\k23}za{\k21}mu{\k0} {\k129}yo

Note that this was done with "inline-fx" style markup instead. That's another possibility :)
(I programmed that effect in Auto3 and it also uses interstitial lines between the timed lines to specify extra effect properties like primary colors and exit style to use.)
Do not PM me asking for help with Aegisub, Automation, karaoke or anything like that, I won't reply.
Ask your questions in the public forums. Use the Search function, somebody probably asked the same question before.
All rights reserved to call you insults if you ask poorly thought out or redundant questions.
Experimenting is free and is a great way to learn things.
User avatar
Posts: 2921
Joined: Mon Dec 19, 2005 8:18 pm
Location: Denmark

Return to Karaoke

Who is online

Users browsing this forum: No registered users and 1 guest