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

# audioTimePitchAlgorithm

The processing algorithm used to manage audio pitch at different rates.

## Declaration

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

## Discussion

Discussion The default value on iOS is lowQualityZeroLatency; on macOS, the default is timeDomain. The device automatically mutes audio when timebase is not supported by AVAudioTimePitchAlgorithm. Modifying this property while timebase is not 0.0 may cause the rate to briefly change to 0.0.

## See Also

### Configuring time and pitch

- [AVAudioTimePitchAlgorithm](avfoundation/avaudiotimepitchalgorithm.md)
