-
Notifications
You must be signed in to change notification settings - Fork 16
Streamで音声データを出力するAPIを追加 #10
New issue
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
Draft
ray45422
wants to merge
18
commits into
ksasao:master
Choose a base branch
from
ray45422:feature/export
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
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
CeVIOとVOICEBOX以外は未実装
Codeer.Friendly.Windows.NativeStandardControlsの追加と関連パッケージの更新
パラメータに "export=true" を追加することで音声ファイルを取得できるようにした
未所持のため未検証
Owner
|
ご提案ありがとうございます。ぜひ対応させていただきたいと思います。未実装・未テストのものについてもこちらで対応可能です。 |
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.
概要
音声データをストリームで取得できるようにしました
ISpeechControllerにExportToStreamメソッドを追加しました
動機
録音の場合長いテキストのときに時間がかかってしまいます
音声保存インターフェースを使用することで音声合成時間+αの時間で音声データを取得することができます
注意点
VOICEROID2の実装
GUI操作で音声保存ダイアログを操作したりしていてかなりトリッキーです
私の環境では動いていますが他の環境で動かない可能性があると思います
確認環境は日本語版Windows 10 Pro/VOICEROID2 Editor 2.0.5.0, 2.1.1.0です
日本語版以外のWindowsではおそらく動作しません(ファイル保存ダイアログのボタンを見つけられない)
音声出力までに時間がかかるため、私の環境では合成に約2秒以上必要なテキスト(200文字程度)でないと最終的な処理時間が短くなりませんでした
パッケージの更新
Codeer.Friendly.Windows.NativeStandardControlsの追加にあたって依存パッケージが更新されています
未実装の音源
音街ウナTalkは所持していないため実装されていません
未テストの音源
CeVIO AIを所持していないためテストできていません
APIはドキュメントを見る限りCeVIOと同様だったのでそのまま実装しています
テスト環境
Windows 10 Pro 222H2 64bit
A.I.VOICE
GUMI
VOICEROID+
京町セイカ
東北きりたん
東北ずん子 EX
民安ともえ EX
VOICEROID2(32,64bit)
琴葉 茜
琴葉 葵
紲星あかり
結月ゆかり
桜乃そら
GynoidTalk(32bit)
鳴花ヒメ
鳴花ミコト
CeVIO(CS6 32bit)
さとうささら
すずきつづみ
タカハシ
ONE
IA
CeVIO(CS7 64bit)
さとうささら
すずきつづみ
タカハシ
SAPI5
Microsoft Haruka Desktop
VOICEVOX
Ver.0.13.3の音源全て
もし興味がありましたら調整や追加実装を手伝っていただけるとありがたいと思っています。