A C# wrapper for the ULCA Bhashini API.
This should work on any reasonably modern Unity version. Built and tested in Unity 6000.0.26f1 (Unity 6).
- Open project settings
- Select
Package Manager
- Add the OpenUPM package registry:
- Name:
OpenUPM
- URL:
https://package.openupm.com
- Scope(s)
com.uralstech
com.utilities
*
- Name:
- Open the Unity Package Manager window (
Window
->Package Manager
) - Change the registry from
Unity
toMy Registries
- Add the
UBhashini
,Utilities.Audio
* andUtilities.Encoder.Wav
* packages
- Open the Unity Package Manager window (
Window
->Package Manager
) - Select the
+
icon andAdd package from git URL...
- Paste the UPM branch URL and press enter:
https://github.com/Uralstech/UBhashini.git#upm
- Check the instructions for
Utils.Singleton
to install it.
Adding additional dependencies:
See the installation steps for the Utilities.Audio* and Utilities.Encoder.Wav* packages.
*Optional, but required if you don't want to bother with encoding your AudioClips into Base64 strings manually and for using the samples.
See https://uralstech.github.io/UBhashini/DocSource/QuickStart.html.
Made with the help of the great documentation by Himanshu Gupta!