Captionテキストの対応 - #11
Open
35noitamina wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要・変更点
Irodori-TTS-Serverで音声以外にテキストで声色を指定する機能を追加します。
既存のパラメータに加え、
caption,text,caption_scale,speaker_scaleを追加します。それぞれの機能は以下の通りです。
caption:caption:{}の形式でテキストによるキャプションを指定します。(任意)以降はcaption内に記述します。
text:テキストによる指示内容を指定します。(必須)caption_scale:テキストによる指示の影響を設定します。(任意)speaker_scale:元音声からの影響を設定します。(任意)背景
Irodori-TTS-Serverを使用する際微調整をしたいと思った時や明示的にプロンプトを書くことができず、Irodori-TTSを開きなおす必要がありました。
また、Irodori-TTSをCLIから実行してもモデルロードに時間がかかってしまいます。
そのためサーバーのAPIから操作できるように機能を追加しました。
例
音声のみ生成
speech.wav
音声+テキスト生成
.speech.wav
テキストのみ生成
speech.wav