Table of Contents

Method SetSpeechVolumeAsync

Namespace
Oscova.Agents.Avatar
Assembly
Oscova.Agents.dll

SetSpeechVolumeAsync(float)

Sets the speech playback volume. Values outside the valid range (0.0 to 1.0) are rejected by the avatar engine.

Task<AvatarSpeechVolumeResponse> SetSpeechVolumeAsync(float volume)

Parameters

volume float

Volume level between 0.0 (muted) and 1.0 (full volume). Note: Setting volume to 0.0 will disable lip sync. For lip sync to work, the volume must be greater than zero (recommended: 0.01).

Returns

Task<AvatarSpeechVolumeResponse>

Response indicating success, description, and the applied volume level.