We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OjtPhoneme.convert()
要望: OjtPhoneme.convert() の廃止
OjtPhoneme.convert() は音素表現の変換(sil→pau)を担う関数である。 __init__() ではなく関数として用意されており、任意タイミングの変換が想定されている。 しかし現在の実装では OjtPhoneme がインスタンス化される唯一の箇所 の直後で .convert() がコールされている。 すなわち現在のユースケースであれば __init__() 内で処理できる。
sil
pau
__init__()
OjtPhoneme
.convert()
また現在の _synthesis_impl は pau 前提のコードであるため、sil にしておけるメリットは無いにも関わらず変換し忘れるデメリットのみが存在している。
_synthesis_impl
上記の理由より、OjtPhoneme.convert() の廃止を提案します。
__init__
0.14.10
The text was updated successfully, but these errors were encountered:
いいですね、消しちゃいましょう!!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
内容
要望:
OjtPhoneme.convert()
の廃止OjtPhoneme.convert()
は音素表現の変換(sil
→pau
)を担う関数である。__init__()
ではなく関数として用意されており、任意タイミングの変換が想定されている。しかし現在の実装では
OjtPhoneme
がインスタンス化される唯一の箇所 の直後で.convert()
がコールされている。すなわち現在のユースケースであれば
__init__()
内で処理できる。また現在の
_synthesis_impl
はpau
前提のコードであるため、sil
にしておけるメリットは無いにも関わらず変換し忘れるデメリットのみが存在している。上記の理由より、
OjtPhoneme.convert()
の廃止を提案します。Pros 良くなる点
Cons 悪くなる点
実現方法
__init__
でのsil
-to-pau
変換実装.convert()
の廃止VOICEVOXのバージョン
0.14.10
OSの種類/ディストリ/バージョン
The text was updated successfully, but these errors were encountered: