voicevox_core 0.16.0 を使用した MAUI サンプルです。
- .NET 9.0 SDK
- .NET MAUI Workloads
Download models and dict.
$ download-osx-arm64 --only models dict -o ./examples/MAUI/voicevox_core
$ download-osx-arm64 --c-api-version 0.16.0 --onnxruntime-version voicevox_onnxruntime-1.17.3 -o ./examples/MAUI/voicevox_core
Download voicevox_core
and onnxruntime
from the following URL.
- https://github.com/VOICEVOX/voicevox_core/releases/tag/0.16.0
- https://github.com/VOICEVOX/onnxruntime-builder/releases/tag/voicevox_onnxruntime-1.17.3
and extract them to ./examples/MAUI/voicevox_core
.
- Android =>
./examples/MAUI/voicevox_core/android/
- iOS =>
./examples/MAUI/voicevox_core/ios/
see: ./MAUI.csproj
iOS (on Device)
$ dotnet build -t:Run -f net9.0-ios -p:RuntimeIdentifier=ios-arm64 -p:_DeviceName=YOUR_DEVICE_UDID
iOS (on Simulator)
$ dotnet build -t:Run -f net9.0-ios -r iossimulator-arm64
See also: https://learn.microsoft.com/ja-jp/dotnet/maui/ios/cli?view=net-maui-9.0
Android
$ dotnet build -t:Run -f net9.0-android
macOS
$ dotnet build -t:Run -f net9.0-maccatalyst -r maccatalyst-arm64