Function

GetSpeechPitch

Gets a speech channel’s current speech pitch.

Declaration

OSErr GetSpeechPitch(SpeechChannel chan, Fixed *pitch);

Parameters

chan

The speech channel whose pitch you wish to determine.

pitch

On return, a pointer to the current pitch of the voice in the speech channel, expressed as a fixed-point frequency value.

Return Value

A result code. See Result Codes.

Discussion

Typical voice frequencies range from around 90 hertz for a low-pitched male voice to perhaps 300 hertz for a high-pitched child’s voice. These frequencies correspond to approximate pitch values in the ranges of 30.000 to 40.000 and 55.000 to 65.000, respectively.

See Also

Obtaining Information About Speech and Speech Channels

CopySpeechProperty

Gets the value associated with the specified property of a speech channel.

GetSpeechInfo

Gets information about a designated speech channel.

Deprecated
GetSpeechRate

Gets a speech channel’s current speech rate.

SpeechBusy

Determines whether any channels of speech are currently synthesizing speech.

SpeechBusySystemWide

Determines if any speech is currently being synthesized in your application or elsewhere on the computer.

SpeechManagerVersion

Determines the current version of the Speech Synthesis Manager installed in the system.