必要な開発環境:
- C/C++ 開発環境
- gcc または clang
- CMake(バージョン 3.16 以降)
- Rust toolchain (edition 2021)
TTS のサンプルの実行には VOICEVOX CORE と ONNX Runtime, OpenJTalk の辞書 が必要です。
以下のコマンドにより音声ファイルが生成されます(macOS の場合、LD_LIBRARY_PATH
を DYLD_LIBRARY_PATH
に置き換えてください)。
$ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/path/to/onnxruntime/lib/" \
cargo run --example simple_tts -- \
<path to voicevox core library> \
<root dir of open_jtalk dictionary> \
<text>
MIT License