Introduction
Overview
The TextToSpeech SDK provides the TextToSpeech API that allows infotainment apps running on Pleos Connect to integrate with the Pleos Voice Synthesis Platform (Speech Service). Text is sent to the platform and the synthesized voice result is delivered to the app; the app can play desired text as voice through the vehicle audio system. It offers APIs such as SDK initialization (initialize) and release (release), app registration (registerApp), event listener registration and removal (addEventListener, removeEventListener), audio attribute configuration (setAudioAttributes), voice play and stop (speak, stop), and language and speaker configuration (setLocale, setSpeakerType).
The package structure and API specifications can be found in the TextToSpeech API Reference.
Development Environment Setup
To use the TextToSpeech SDK, install the Pleos Connect Emulator in Android Studio, and then proceed with the AVD settings.