Skip to content
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

ユーザーディレクトリにあるエンジンを検知して読み込めるようにする #922

Conversation

Hiroshiba
Copy link
Member

内容

ユーザーディレクトリ(%appdir%)にenginesディレクトリを追加し、その下にあるエンジンを読み込むようにします。

再現方法

1.シロワニさんのCOEIROINK試作エンジンをダウンロードして展開(ディレクトリ名はなんでもOK

2.展開した後、そのディレクトリにengine_manifest.jsonが必要なので、適当に↓を保存

{
  "manifest_version": "0.13.0",
  "name": "COEIROINK ENGINE",
  "uuid": "d9212658-962f-4918-80b2-310b7de70c41",
  "version": "999.999.999",
  "url": "https://github.com/shirowanisan/voicevox",
  "command": "run",
  "port": 50031,
  "icon": "icon.png",
  "default_sampling_rate": 24000,
  "terms_of_service": "engine_manifest_assets/terms_of_service.md",
  "update_infos": "engine_manifest_assets/update_infos.json",
  "dependency_licenses": "engine_manifest_assets/dependency_licenses.json",
  "downloadable_libraries_path": null,
  "downloadable_libraries_url": null,
  "supported_features": {
    "adjust_mora_pitch": {
      "type": "bool",
      "value": false,
      "name": "モーラごとの音高の調整"
    },
    "adjust_phoneme_length": {
      "type": "bool",
      "value": false,
      "name": "音素ごとの長さの調整"
    },
    "adjust_speed_scale": {
      "type": "bool",
      "value": false,
      "name": "全体の話速の調整"
    },
    "adjust_pitch_scale": {
      "type": "bool",
      "value": false,
      "name": "全体の音高の調整"
    },
    "adjust_intonation_scale": {
      "type": "bool",
      "value": false,
      "name": "全体の抑揚の調整"
    },
    "adjust_volume_scale": {
      "type": "bool",
      "value": false,
      "name": "全体の音量の調整"
    },
    "interrogative_upspeak": {
      "type": "bool",
      "value": false,
      "name": "疑問文の自動調整"
    }
  }
}

3.%appdata%/voicevox-dev/enginesの下にエンジンをディレクトリごと配置

関連 Issue

close #921

その他

@Hiroshiba
Copy link
Member Author

Hiroshiba commented Sep 4, 2022

@raa0121 さん、 @sevenc-nanashi さん、よかったらレビュー頂けると・・・! 🙏

Copy link
Member

@sevenc-nanashi sevenc-nanashi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

動かしてみましたが特に問題なさそうでした。
エンジンフォルダを開くボタンがあってもよさそう(これは別PRにて)

@Hiroshiba
Copy link
Member Author

ありがとうございます!!

エンジンフォルダを開くボタンがあってもよさそう(これは別PRにて)

仰るとおりですね!とりあえずタスクリストに追加してみます 🙏

Copy link
Contributor

@raa0121 raa0121 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

手元でも動きました。
問題ないと思います。

@Hiroshiba
Copy link
Member Author

マージします!

@Hiroshiba Hiroshiba merged commit 5482e27 into VOICEVOX:main Sep 8, 2022
@Hiroshiba Hiroshiba deleted the ユーザーディレクトリにあるエンジンを検知して読み込めるようにする branch September 8, 2022 13:03
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.

ユーザーディレクトリにあるエンジンを検知して読み込めるようにする
3 participants