Voicevox の VST プラグイン。
エディタ側:https://github.com/sevenc-nanashi/voicevox/tree/add/vst
Issue:VOICEVOX/voicevox_project#45
- エディタをクローンして
npm run vst:serve
すると VST 用のエディタが立ち上がります - Release ビルドするときはエディタを
npm run vst:build
し、dist
内をresources/editor
にコピーしてください cargo xtask
に色々置いてあります
❯ cargo xtask build --help
Usage: xtask.exe build [OPTIONS]
Options:
-r, --release Releaseビルドを行うかどうか。
-l, --log logs内にVST内のログを出力するかどうか。
-d, --dev-server-url <DEV_SERVER_URL> 開発用サーバーのURL。デフォルトはhttp://localhost:5173。
-h, --help Print help
-V, --version Print version
依存:
- NSIS(3.09 で動作確認)
❯ cargo xtask generate-installer --help
Usage: xtask.exe generate-installer
Options:
-h, --help Print help
-V, --version Print version
❯ cargo xtask generate-bridge --help
Usage: xtask.exe generate-bridge
Options:
-h, --help Print help
-V, --version Print version
❯ cargo xtask generate-licenses --help
Usage: xtask.exe generate-licenses
Options:
-h, --help Print help
-V, --version Print version
❯ cargo test
❯ cargo xtask watch-log
sequenceDiagram
participant daw as DAW(VST3ホスト)
participant cpp as VVVST(C++)
participant rust as VVVST(Rust)
participant vue as Voicevox Editor
daw->>cpp: 音声取得(run)
cpp->>rust: plugin_run
rust->>cpp: 書き込んで返す
cpp->>daw: 波形送信
daw->>cpp: 再生情報
opt 再生情報が変更されたら
cpp->>rust: plugin_run
rust->>vue: 情報送信
Note over vue: UIロックとか再生位置移動とか
end
opt エディタのフレーズが更新されたら
vue->>rust: タイミング、SingingVoiceKey
rust->>vue: 不足しているSingingVoiceKeyの一覧
vue->>rust: SingingVoice
Note over rust: wavパース&再サンプル->ミックスダウン作成 @ 別スレッド
end