---
title: spectral
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avaudiotimepitchalgorithm/spectral
---

# spectral

A highest-quality time pitch algorithm that’s suitable for music.

## Declaration

```swift
static let spectral: AVAudioTimePitchAlgorithm
```

## Discussion

Discussion This is the most computationally intensive, and uses a variable rate from 1/32 to 32.

## See Also

### Constants

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