---
title: audioTimePitchAlgorithm
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avaudiomixinputparameters/audiotimepitchalgorithm
---

# audioTimePitchAlgorithm

The processing algorithm used to manage audio pitch for scaled audio edits.

## Declaration

```swift
var audioTimePitchAlgorithm: AVAudioTimePitchAlgorithm? { get }
```

## Discussion

Discussion The supported constants are defined in Time Pitch Algorithm Settings. An invalidArgumentException will be raised if this property is set to a value other than the defined constants.

## See Also

### Getting the time pitch algorithm setting

- [AVAudioTimePitchAlgorithm](avfoundation/avaudiotimepitchalgorithm.md)
