---
title: PHASEDistanceModelFadeOutParameters
framework: phase
role: symbol
role_heading: Class
path: phase/phasedistancemodelfadeoutparameters
---

# PHASEDistanceModelFadeOutParameters

A distance over which the framework fades out sound.

## Declaration

```swift
class PHASEDistanceModelFadeOutParameters
```

## Overview

Overview For spatial sound output, the framework stops playing a sound when its distance from the listener surpases cullDistance. The framework gradually fades out the sound’s volume as the distance between the source and listener approaches cullDistance. Likewise, the framework gradually fades in the sound as the distance between the source and listener approaches 0. A PHASEDistanceModelParameters object provides an instance of this class to a spatial mixer; for more information, see fadeOutParameters. Specifying a Maximum Distance That Sound Reaches The following code demonstrates a spatial mixer’s additional fade out. By setting fadeOutLength to 1.0, the framework begins to fade out a sound after its distance to the listener surpases 1.0.

## Topics

### Creating the Distance Model Fade-Out Parameters

- [init(cullDistance:)](phase/phasedistancemodelfadeoutparameters/init(culldistance:).md)

### Inspecting the Cull Distance

- [cullDistance](phase/phasedistancemodelfadeoutparameters/culldistance.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Distance Modeling

- [PHASEGeometricSpreadingDistanceModelParameters](phase/phasegeometricspreadingdistancemodelparameters.md)
- [PHASEEnvelopeDistanceModelParameters](phase/phaseenvelopedistancemodelparameters.md)
- [PHASEDistanceModelParameters](phase/phasedistancemodelparameters.md)
