---
title: globalTuning
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avaudiounitsampler/globaltuning
---

# globalTuning

An adjustment for the tuning of all the played notes.

## Declaration

```swift
var globalTuning: Float { get set }
```

## Discussion

Discussion The tuning unit is cents, and defaults to 0.0. The range of valid values is -2400 to 2400 cents.

## See Also

### Getting and Setting Sampler Values

- [overallGain](avfaudio/avaudiounitsampler/overallgain.md)
- [stereoPan](avfaudio/avaudiounitsampler/stereopan.md)
- [masterGain](avfaudio/avaudiounitsampler/mastergain.md)
