From e29847b9178a8a45cca281761b98c29ede677c2b Mon Sep 17 00:00:00 2001 From: shigobu Date: Wed, 20 Nov 2024 23:57:40 +0900 Subject: [PATCH 1/3] =?UTF-8?q?AivisSpeech=E3=83=97=E3=83=AA=E3=82=BB?= =?UTF-8?q?=E3=83=83=E3=83=88=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- StyleRegistrationTool/View/ChangePortWindow.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/StyleRegistrationTool/View/ChangePortWindow.xaml.cs b/StyleRegistrationTool/View/ChangePortWindow.xaml.cs index 9ebc5c3..8168415 100644 --- a/StyleRegistrationTool/View/ChangePortWindow.xaml.cs +++ b/StyleRegistrationTool/View/ChangePortWindow.xaml.cs @@ -29,6 +29,7 @@ public ChangePortWindow(string appName, int port) portComboBox.Items.Add(new Model.NameAndPort("SHAREVOX", 50025)); portComboBox.Items.Add(new Model.NameAndPort("ITVOICE", 49540)); portComboBox.Items.Add(new Model.NameAndPort("COEIROINK v2 bridge", 50132)); + portComboBox.Items.Add(new Model.NameAndPort("AivisSpeech", 10101)); SelectedPreset = new Model.NameAndPort(appName, port); From 065b02243d2d800f57c9dc6eb1003ac1351cc84c Mon Sep 17 00:00:00 2001 From: shigobu Date: Thu, 21 Nov 2024 00:01:59 +0900 Subject: [PATCH 2/3] =?UTF-8?q?SpeakerNumber=E3=82=92unchecked=E3=81=A7?= =?UTF-8?q?=E4=BB=A3=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SAPIForVOICEVOX/VoiceVoxTTSEngine.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SAPIForVOICEVOX/VoiceVoxTTSEngine.cs b/SAPIForVOICEVOX/VoiceVoxTTSEngine.cs index c745671..cee6947 100644 --- a/SAPIForVOICEVOX/VoiceVoxTTSEngine.cs +++ b/SAPIForVOICEVOX/VoiceVoxTTSEngine.cs @@ -512,7 +512,10 @@ public void SetObjectToken(ISpObjectToken pToken) //初期化 //話者番号を取得し、プロパティに設定。 Token.GetDWORD(Common.regSpeakerNumber, out uint value); - SpeakerNumber = (int)value; + unchecked //オーバーフローのチェックを行わず、そのまま代入。 + { + SpeakerNumber = (int)value; + } Token.GetDWORD(Common.regPort, out value); Port = (int)value; From 7a61bafac25a5139cecbbd9c0f80575aa8384f48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=97=E3=81=94=E3=81=B6?= <32050537+shigobu@users.noreply.github.com> Date: Thu, 21 Nov 2024 00:58:35 +0900 Subject: [PATCH 3/3] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3f6fa5b..375c219 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,9 @@ Windows Defender にウイルスとして検知されてしまうと報告をう - COEIROINK (v.1.x.x系統) - LMROID - SHAREVOX +- ITVOICE +- COEIROINK v2(bridge使用) +- AivisSpeech ### スタイル登録ツールのポートの変更方法 スタイル登録ツールのポート変更ボタンを押します。ポート変更ボタンの場所は、以下の通りです。