---
title: stereoPan
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avaudiounitsampler/stereopan
---

# stereoPan

An adjustment for the stereo panning of all the played notes.

## Declaration

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

## Discussion

Discussion The default value is 0.0, and the range of valid values is -100.0 to 100.0.

## See Also

### Getting and Setting Sampler Values

- [globalTuning](avfaudio/avaudiounitsampler/globaltuning.md)
- [overallGain](avfaudio/avaudiounitsampler/overallgain.md)
- [masterGain](avfaudio/avaudiounitsampler/mastergain.md)
