ailia_speech  1.3.0.0
How to import the Unity package and run the sample program

Required Unity version

Unity must be version 2021.3.10f1 or later.

How to import the Unity plugin

In your project, import ailia_speech.unity_package which is present in the unity folder.

Installation of Dependency Libraries from Package Manager

Install the ailia SDK from the Unity Package Manager. Please add the following URLs.

https://github.com/axinc-ai/ailia-sdk-unity.git
https://github.com/axinc-ai/ailia-audio-unity.git
https://github.com/axinc-ai/ailia-tokenizer-unity.git

Structure of the Unity plugin folder

The contents structure of the folder containing the Unity package for ailia Speech is stuctured the follwing way:

Folder Contents
ailia_speech Contains the interface for ailia Speech, the component which performs speech recognition
Resources Contains e.g. the image files used by the demo app
Standalone FileBrowser Contains additional components required to display dialogs to open files on Windows and macOS
StreamingAssets Contains AI model files and dictionary files
TextMeshPro Contains additional components required to draw text
Samples/Scripts/AiliaSpeechSample.cs Main sample file
Samples/Scenes/AiliaSpeechSample.unity Main sample scene

Where to place the license file

In order to use the evaluation version, a license file is required. Place the license file in the folder as indicated below:

Windows

Place the license file ailia.lic in the same folder as ailia.dll (e.g. for the sample app it is in Assets/Plugins/x86_64)

macOS

Place the license file ailia.lic in ~/Library/SHALO/

Linux

Place the license file ailia.lic in ~/.shalo/

How to run the sample app

Open the file AiliaSpeechScene.unity in Unity, then run it.