---
title: AVAudioTimePitchAlgorithm
framework: avfoundation
role: symbol
role_heading: Structure
path: avfoundation/avaudiotimepitchalgorithm
---

# AVAudioTimePitchAlgorithm

An algorithm used to set the audio pitch as the rate changes.

## Declaration

```swift
struct AVAudioTimePitchAlgorithm
```

## Topics

### Type properties

- [lowQualityZeroLatency](avfoundation/avaudiotimepitchalgorithm/lowqualityzerolatency.md)
- [spectral](avfoundation/avaudiotimepitchalgorithm/spectral.md)
- [timeDomain](avfoundation/avaudiotimepitchalgorithm/timedomain.md)
- [varispeed](avfoundation/avaudiotimepitchalgorithm/varispeed.md)

### Initializers

- [init(rawValue:)](avfoundation/avaudiotimepitchalgorithm/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting the time pitch algorithm setting

- [audioTimePitchAlgorithm](avfoundation/avaudiomixinputparameters/audiotimepitchalgorithm.md)
