Suzuna — License Cleanup(販売前対応)
概要
BOOTH販売を見越したライセンス整理。 以下の4点を対応することで配布物をクリーンな状態にする。
対応タスク
1. guanguanV1.pth を配布物から除外
テスト用に使用していた権利元不明のRVCモデル。 販売版に同梱してはいけない。
対応内容
models/custom/guanguanV1.pthを.gitignoreおよび Tauriのバンドル対象から除外tauri.conf.jsonのバンドル設定からmodels/custom/*.pthを除外- READMEに「モデルはユーザー自身が用意するか、自作モデルを配置してください」と記載
2. infer/ にRVC MITライセンス文を同梱
RVC本体(Retrieval-based-Voice-Conversion-WebUI)はMITライセンスだが、
infer/ フォルダ内にLICENSEファイルが存在しない。
対応内容
infer/LICENSEを新規作成- 以下の内容を記載:
MIT License
Copyright (c) 2023 liujing04
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
参照: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE
3. F0推定アルゴリズムから pm(parselmouth)を除外
pm は praat-parselmouth(GPLv3+)に依存しており、
クローズド販売アプリに組み込むには重い条件が発生する。
pm を省いても rmvpe / harvest / crepe の3択が残り、
音質・変換精度への実害はほぼない(rmvpe推奨のため)。
対応内容
src/pages/ConvertPage.tsxのF0推定セレクトからpmを削除src/pages/TTSPage.tsxにも同様の選択肢があれば削除python/routers/convert.pyでf0_method="pm"が渡された場合は"rmvpe"にフォールバックする処理を追加(安全策)python/requirements.txtからpraat-parselmouthを削除(入っている場合)
4. THIRD_PARTY_NOTICES.md を作成
配布物に含まれるOSSライブラリ・モデルの出典をまとめる。
対応内容
- プロジェクトルートに
THIRD_PARTY_NOTICES.mdを新規作成 - 以下のカテゴリで記載:
# Third Party Notices
## RVC (Retrieval-based Voice Conversion)
- License: MIT
- Copyright: liujing04
- Source: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI
## hubert_base.pt / rmvpe.pt
- License: MIT
- Source: https://huggingface.co/lj1995/VoiceConversionWebUI
## AivisSpeech Engine(外部連携、同梱なし)
- License: LGPL-3.0
- Source: https://github.com/Aivis-Project/AivisSpeech-Engine
## npm dependencies
- React: MIT
- Vite: MIT
- Tauri JS API: MIT / Apache-2.0
- lucide-react: ISC
- zustand: MIT
## Python dependencies
- FastAPI: MIT
- PyTorch: BSD-3-Clause
- librosa: ISC
- scipy: BSD-3-Clause
- noisereduce: MIT
- soundfile: BSD-3-Clause
- numpy: BSD-3-Clause
完了条件
-
guanguanV1.pthがバンドル対象から除外されている -
infer/LICENSEが存在する - UIのF0推定選択肢に
pmが存在しない -
python/routers/convert.pyでpm→rmvpeフォールバックあり -
THIRD_PARTY_NOTICES.mdがプロジェクトルートに存在する