---
title: "GetSpeechPitch(_:_:)"
framework: applicationservices
role: symbol
role_heading: Function
path: applicationservices/1464774-getspeechpitch
---

# GetSpeechPitch(_:_:)

Gets a speech channel’s current speech pitch.

## Declaration

```swift
func GetSpeechPitch(_ chan: SpeechChannel, _ pitch: UnsafeMutablePointer<Fixed>) -> OSErr
```

## 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

Return Value A resultcode. See Result Codes.

## Discussion

Discussion Typical voice frequencies range from around 90 hertz for alow-pitched male voice to perhaps 300 hertz for a high-pitched child’svoice. These frequencies correspond to approximate pitch valuesin 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(_:_:_:)](applicationservices/1459075-copyspeechproperty.md)
- [GetSpeechRate(_:_:)](applicationservices/1460797-getspeechrate.md)
- [SpeechBusy()](applicationservices/1464581-speechbusy.md)
- [SpeechBusySystemWide()](applicationservices/1460113-speechbusysystemwide.md)
- [SpeechManagerVersion()](applicationservices/1462334-speechmanagerversion.md)
