Library for Unity to use Koeiromap
日本語ドキュメント(Japanese Documents Available).
Since it is very difficult to find the ideal voice by changing each parameter in Koeiromap, we are developing the following tool "KoeiromapIndex" to support finding the ideal voice.
You can change the parameters and play any voice on the following screen from the demo page.
Table of Contents
- Open the Package Manager
- Click the
+
button in the top left corner - Select
Add package from git URL...
- Add URL for
https://github.com/ayutaz/koeiromap-unity.git?path=Assets/KoeiromapUnity/Scripts
- Click
Add
- Download the latest release from the releases page
- Import the package into your project
- Unity 2021.3.x or later
- UniTask
var voiceParam = new VoiceParam
{
text = "Hello",
speaker_x = 2.0f,
speaker_y = 2.0f,
style = "talk",
seed = "1234567890",
};
var voice = await Koeiromap.GetVoice(voiceParam, _cancellationTokenSource.Token);
_audioSource.clip = voice.audioClip;
_audioStringData = voice.audioBase64;
_audioSource.Play();
See NOTICE.