IAgentCharacter::GetTTSPitch
[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]
HRESULT GetTTSPitch(
long * pdwPitch // address of variable for character TTS pitch
);
Retrieves the character's TTS output pitch setting.
- Returns S_OK to indicate the operation was successful.
-
pdwPitch
-
Address of a variable that receives the character's current TTS pitch setting in Hertz.
Although your application cannot write this value, you can include pitch tags in your output text that will temporarily increase the pitch for a particular utterance. This method applies only to characters configured for TTS output. If the speech synthesis (TTS) engine is not enabled (or installed) or the character does not support TTS output, this method returns zero (0).