ddddxxx / LyricsX

🎶 Ultimate lyrics app for macOS.
Mozilla Public License 2.0
4.67k stars 387 forks source link

【Questions】"Furigana" are sometimes wrong in Japanese lyrics #438

Open 11Rick23 opened 3 years ago

11Rick23 commented 3 years ago

I had a few questions I wanted to ask, and I couldn't find anywhere but here to ask questions about LyricsX. I'm sorry if this was the wrong place to ask questions.

LyricsX has a function to automatically generate Furigana for Japanese Kanjis, and they are usually correctly displayed. This is what I'm talking about: https://github.com/ddddxxx/LyricsX/issues/183

However, Japanese lyrics sometimes have some special way of reading Kanjis, which would make Furiganas incorrect.

Is there any way to create a custom Furigana for a lyric?

ddddxxx commented 3 years ago

So automatic Furigana annotation is an experimental feature for reasons...

The LRCX file format does support custom Furigana. Actually that's one of the reasons I created this file format. It looks like this:

[00:23.180]あの蒼ざめた海の彼方で
[00:23.180][fu]<あお,2,3><うみ,6,7><かなた,8,10>
[00:29.200]今まさに誰かが
[00:29.200][fu]<いま,0,1><だれ,4,5>

Ideally the automatic Furigana annotation should work like this:

  1. Fetch lyrics from the internet or local file.
  2. Generate Furigana if there isn't one.
  3. Send lyrics object (with generated Furigana) to display.
  4. Rendering, exactly base on received lyrics.
  5. Save lyrics file (with Furigana).

However I haven't had time to implement them. Currently it works like this:

  1. Fetch lyrics from the internet or local file.
  2. Send lyrics object to display。
  3. Generate Furigana while rendering, even if the original lyrics object already contains Furigana.
  4. Save lyrics file (without Furigana).

There really isn't anything you can do. Even if you add Furigana manually, LyricsX still simply drop it. I'll get to it, sometimes.

11Rick23 commented 3 years ago

I see. It's a little bit disappointing to know that you can't add custom Furigana 😖 I hope this Furigana feature will become an official one in the near feature 😀

I love this app by the way, thank you very much for creating this fantastic app!