A C# wrapper for the ULCA Bhashini API.
This should work on any reasonably modern Unity version. Built and tested in Unity 2022.3.29f1.
- 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.Encoder.Wav
and *Utilities.Audio
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
*Adding additional dependencies:
Follow the steps detailed in the OpenUPM installation method and only install the *Utilities.Encoder.Wav
and *Utilities.Audio
packages.
*Optional, but required if you don't want to bother with encoding your AudioClips into Base64 strings manually, or, if you want to use the samples.
Made with the help of the great documentation by Himanshu Gupta!