Aegisub icon indicating copy to clipboard operation
Aegisub copied to clipboard

[Feature Request] New multi-highlight syntax for furigana folowed by hiragana/punctuation highlight in Karaoke Templater

Open red5h4d0w opened this issue 4 months ago • 7 comments

Doing a lot of furigana karaoke subtitles recently, I came across a specific scenario that I needed to workaround not elegantly in order to get the desired display out of the Karaoke Templater. This scenario is when I need an highlight containing both a furigana and the following hiragana/punctuation (which is not furigana).

An example is this phrase:

image

Here I want the highlights

  1. 富|と
  2. #|み + 、
  3. 名|めい
  4. 声|せい + 、
  5. 力|ち
  6. #|か
  7. #|ら + 。

I couldn't find a syntax for highlights 2, 4 and 7 specifically, but I did a workaround to get to the right display by using zero duration syllables: {\k18}富|と{\k0}#|み{\k35}、{\k25}名|めい{\k0}声|せい{\k49}、{\k11}力|<ち{\k9}#|か{\k0}#|ら{\k14}。

This works for displaying {\k} syllable, but if I wanted to fill with {\kf}, this workaround would fail as #|み has a zero duration instead of wanted duration.

This also arises with some verbs when the following highlights are desired (ex: 立った):

  1. 立|た + っ

This Feature Request is then to ask for a new syntax for the Karaoke Templater (and implementation) that can help with those cases. This could be something like a reserved character ending the furigana part. Ideas I had were things like

  • marking end of furigana with a new symbol like + ex: {\k100}立|た+っ{\k100}た
  • changing meaning of pipe symbol as furigana toggle ex: {\k100}立|た|っ{\k100}た
  • marking end of kanji with a new symbol like + ex: {\k100}立+っ|た{\k100}た

Personally, I prefer this first idea, because it is less confusing than the second and this syntax could be used for broader, but unlikely scenarios (something like {\k100}立|た{\k100}ち+上|あ{\k100}が{\k100}る?)

red5h4d0w avatar Apr 23 '24 00:04 red5h4d0w