---
title: volume
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnaudiosource/volume
---

# volume

The default playback volume for the audio source.

## Declaration

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

## Discussion

Discussion This property determines the default volume for when a source begins playing. To vary the volume during playback through an SCNAudioPlayer object, use the player’s audioNode property to access real-time audio controls.

## See Also

### Setting Default Playback Parameters

- [rate](scenekit/scnaudiosource/rate.md)
- [reverbBlend](scenekit/scnaudiosource/reverbblend.md)
- [loops](scenekit/scnaudiosource/loops.md)
- [shouldStream](scenekit/scnaudiosource/shouldstream.md)
