版本
menu

警告:某些受保护的信息未予显示。
若为特定平台授权用户,请确保登录相应的帐户。

ReadSpeaker speechEngine

The ReadSpeaker speechEngine plug-in provides text-to-speech support for your Wwise projects. This plug-in uses a proprietary text-to-speech engine optimized for performance and memory footprint, which ensures smooth integration and efficient resource usage. It processes text and generates audio on the device in real time to support dynamic dialogue, narration, reading of GUI elements, and so on.

The ReadSpeaker speechEngine plug-in provides the following features and benefits:

  • Enhances accessibility in your games by providing narration of on-screen UI elements.

  • Prototypes voice acting during early stages of development.

  • Supports speech-enabled in-game chat messages in multiplayer games and more.

  • Reads AI-generated text and dialog aloud with effectively zero latency.

  • Makes localization easy with the many included languages, each recorded by native speaking voice actors.

Voices are recorded and processed only by ReadSpeaker, using full-disclosure contracts with the voice actors.

Installation

Install the speechEngine plug-in through the Audiokinetic Launcher. See Installing Plug-ins for more information.

After installing the plug-in, add it to your project as a child in the Containers hierarchy. You can also add it as a sound source, or link the speechEngine objects to events, game syncs, and so on, as you would with any other object.

RTPC

RTPCs are supported for the Speed, Pitch, Pause, and Comma Pause voice parameters. Due to limitations in the DSP model, changes are not observable in real time but can be adjusted between calls.

Dependencies

If your application links statically to the speechEngine plug-in, it must also link to the libvtapi library that is distributed with the plug-in. For example, for the Windows 64-bit vc170 platform, it is located at SDK\x64_vc170\Release\lib\libvtapi.lib

To load the plug-in during runtime, the dependent DLLs listed below must be on a path that the system's DLL load operation can locate:

  • * vt_[lang].dll

Sending text during runtime

To send text to the plug-in from the game runtime, you can use the AK::SoundEngine::SendPluginCustomGameData function.

Use the parameters for Company and Plug-in IDs to locate the plug-in in runtime:

in_uCompanyID = 312
in_uPluginID = 1
[备注]备注

The text must use UTF-8 character encoding.

For a complete example in C++, refer to DemoSpeechEngine.cpp as part of the IntegrationDemo project.

局限性

Only one speechEngine voice can be played at one time.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅