Skip to content

Files

Latest commit

c3695f0 · Apr 2, 2025

History

History

MAUI

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 15, 2025
Mar 11, 2025
Aug 30, 2023
Mar 15, 2025
Aug 30, 2023
Mar 11, 2025
Aug 30, 2023
Aug 30, 2023
Mar 15, 2025
Mar 15, 2025
Apr 2, 2025
Aug 30, 2023
Aug 30, 2023
Apr 2, 2025
Mar 15, 2025
Aug 30, 2023
Mar 30, 2025

MAUI Sample

voicevox_core 0.16.0 を使用した MAUI サンプルです。

Usage

Requirements

  • .NET 9.0 SDK
  • .NET MAUI Workloads

Resources

Download models and dict.

$ download-osx-arm64 --only models dict -o ./examples/MAUI/voicevox_core

macOS

$ download-osx-arm64 --c-api-version 0.16.0 --onnxruntime-version voicevox_onnxruntime-1.17.3 -o ./examples/MAUI/voicevox_core

Android / iOS

Download voicevox_core and onnxruntime from the following URL.

and extract them to ./examples/MAUI/voicevox_core.

  • Android => ./examples/MAUI/voicevox_core/android/
  • iOS => ./examples/MAUI/voicevox_core/ios/

see: ./MAUI.csproj

Build and Run

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