Skip to content

Conversation

oxygen-dioxide
Copy link
Owner

No description provided.

RedBlackAka and others added 30 commits December 21, 2024 23:17
VoicevoxPhonemizer.csでは、変数名の変更やメソッド呼び出しの変更を行い、音声合成パラメータの管理を明確化しました。具体的には、`VoicevoxNote`の配列を`vnotes`から`vNotes`に、音声合成パラメータを`vvNotes`から`vsParams`に変更しました。

VoicevoxRenderer.csでは、音声合成プロセスの改善により、音声合成パラメータの生成ロジックを整理し、`Render`メソッド内の処理を`PhraseToVoicevoxSynthParams`メソッドに分離しました。これにより、コードの可読性とデータ処理の一貫性が向上しました。

VoicevoxUtils.csでは、音声合成に関連するユーティリティメソッドを追加し、音声合成パラメータのクローンやピッチのスムーズ化を実装しました。これにより、音声合成の精度が向上し、リクエスト処理が効率化されました。
新しい `F0Smoother.cs` クラスを追加し、音声信号のスムージング処理を実装しました。これにより、突然のゼロ値やジャギーを修正するメソッドが提供されます。

`VoicevoxRenderer.cs` では、音声信号のスムージング処理に `F0Smoother` クラスを利用するように変更し、表現曲線の取得を `PEXP` から `SMOC` に更新しました。

`VoicevoxUtils.cs` では、定数 `PEXP` を削除し、`SMOC` を追加してスムージング処理に関連する定数を整理しました。

これらの変更により、音声合成の滑らかさが向上することが期待されます。
`SimpleVoicevoxPhonemizer.cs` と `VoicevoxPhonemizer.cs` で、音節の母音拡張ノートを判定するメソッドを `VoicevoxUtils.IsSyllableVowelExtensionNote` に変更し、リリックの処理を統一しました。
`VoicevoxRenderer.cs` では音声合成パラメータの生成を改善し、トーンシフトの精度を向上させました。
`VoicevoxUtils.cs` に新たに `IsVowel` と `IsPau` メソッドを追加し、音素判定機能を強化しました。
全体的に可読性と保守性を向上させるためのリファクタリングを行い、エラーハンドリングやログ出力も改善しました。
A detailed description of the class `F0Smoother` has been added to `F0Smoother.cs`. This includes the purpose of the class, a link to the original Python implementation and copyright information.

Removed the `SmoothPitch` method from `VoicevoxUtils.cs`. This method had the ability to smooth the pitch and expressivity arrays, but was removed as it was no longer needed.
We can just search `$PATH`, which is more robust.
changes Starlight Fix code
rokujyushi and others added 30 commits July 19, 2025 21:22
#1612)

* Fixed a processing branch for phrases containing slur when selecting Simple Voicevox Japanese Phonemizer.

Added TODO

* Update OpenUtau.Core/Voicevox/VoicevoxRenderer.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Some comments deleted at Copilot's suggestion.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Maiko <maikotattun@yahoo.co.jp>
Co-authored-by: Maiko <maikotattun@yahoo.co.jp>
Co-authored-by: Maiko <maikotattun@yahoo.co.jp>
* New Crowdin translations by GitHub Action

* sync strings

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Added font settings for macOS

In the `BuildAvaloniaApp` method, we added code to specify a specific font family for macOS. This will use the fonts ‘Hiragino Sans, Segoe UI, San Francisco, Helvetica Neue’ to avoid text display corruption when Japanese is set.

* Update OpenUtau/Program.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix broken link to ENUNU wiki page in README.md

* Replace broken image link with text link in README.md
* Fixed a processing branch for phrases containing slur when selecting Simple Voicevox Japanese Phonemizer.

Added TODO

* Update OpenUtau.Core/Voicevox/VoicevoxRenderer.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Some comments deleted at Copilot's suggestion.

* 例外処理の強化とカスタム例外クラスの追加
f0リストの範囲外参照を修正

* Update of phoneme list in line with VOICEVOX engine update.

* Updating dictionary check processing for character processing

In `VoicevoxPhonemizer.cs`, we changed `IsPau` to `IsDicPau` and updated phoneme processing to be dictionary-based.
In `VoicevoxRenderer.cs`, we changed phoneme checking to `IsDicKana` and added new conditions for vowels and consonants.
In `VoicevoxUtils.cs`, the `IsVowel` and `IsPau` methods were added to implement dictionary-based phoneme checks. Additionally, the `IsConsonant` method was added to enable consonant checks.

* Corrected incorrect naming of cache files.
Removed code related to smoothing f0 during voice synthesis.

* Improvements to exception handling and error messages

We changed the generic `Exception` to `VoicevoxException` and strengthened specific error handling.
In the `PhraseToVoicevoxSynthParams` method, we changed it to throw a `MessageCustomizableException` for unsupported phonemes.
This improves the information provided when an error occurs and improves overall readability and maintainability.

* Remove unnecessary codes.

* Exception handling fixes and removal of unnecessary code

In F0Smoother.cs, error handling has been changed to use the Exception class. The logic in the RepairSuddenZeroF0 and RepairJaggyF0 methods has also been enclosed in try-catch blocks.

In VoicevoxConfig.cs, unnecessary using statements have been removed.

In VoicevoxRenderer.cs, error messages have been improved, and appropriate messages are now logged when errors occur.

* Remove code for test.

* Improved code formatting.

* Update OpenUtau.Core/ThirdParty/F0Smoother.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Improvements to exception handling

Changed from `throw e;` to `throw;` when re-throwing. This ensures that the stack trace is retained and error logging is more accurate.

* Update OpenUtau.Core/Voicevox/VoicevoxUtils.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update OpenUtau.Core/Voicevox/VoicevoxUtils.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update OpenUtau.Core/Voicevox/VoicevoxUtils.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update OpenUtau.Core/Voicevox/VoicevoxRenderer.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Exception handling was omitted by another renderer.

* The variable “e” was being used outside the catch block scope, so the relevant code has been removed.

* Fix Array.Fill usage for tailFrames in VoicevoxUtils

* Changes to Exception Handling

Within the `Render` method, the process of returning a `RenderResult` when an exception occurs has been removed.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Maiko <maikotattun@yahoo.co.jp>
* Add text to the Singer Setup Dialog

* Fixed a bug where no dialog appeared when the singer installation failed

---------

Co-authored-by: Maiko <maikotattun@yahoo.co.jp>
* install NSIS in github acitons

* Update build.yml
* Add Millefeuille and Marzipan Phonemizers - Take 2

Corrected an issue found in the pull request placed yesterday. Add Millefeuille (French) and Marzipan (German) phonemizers and lyric helper.

* Update FrenchMillefeuilleG2p.cs

add missing character
* Improved KO CV Phonemizer

* [KO CV]Fixed typo

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Maiko <maikotattun@yahoo.co.jp>
Also lays some groundwork for MIDI recording
* Add part merging in part context menu (only visual)

* Add part merging logic
* appimage

* Update build.yml

* Update OpenUtau.desktop

* Update build.yml

* Update build.yml

* Update build.yml

* diricon

* Update build.yml
Co-authored-by: Maiko <maikotattun@yahoo.co.jp>
* Improvements preferences and related to singer folders

* resolve conflicts

* OpenUtau/Strings/Strings.ja-JP.axaml: resolve conflict

* fix

* fix merging errors

---------

Co-authored-by: Maiko <maikotattun@yahoo.co.jp>
Co-authored-by: oxygen-dioxide <54425948+oxygen-dioxide@users.noreply.github.com>
Co-authored-by: unknown <1463567152@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.