<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PHASE",
  "identifier" : "/documentation/PHASE/PHASESpatialPipeline",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PHASE"
    ],
    "preciseIdentifier" : "c:objc(cs)PHASESpatialPipeline"
  },
  "title" : "PHASESpatialPipeline"
}
-->

# PHASESpatialPipeline

An object that specifies the volume of optional environmental effects.

```
class PHASESpatialPipeline
```

## Overview

The [`PHASESpatialMixerDefinition`](/documentation/PHASE/PHASESpatialMixerDefinition) class contains an instance of this class, [`spatialPipeline`](/documentation/PHASE/PHASESpatialMixerDefinition/spatialPipeline), to add optional sound layers to the output.

On top of the original audio signal designated by [`directPathTransmission`](/documentation/PHASE/PHASESpatialPipeline/Flags-swift.struct/directPathTransmission), this class optionally includes audio layers for environmental effects, such as [`earlyReflections`](/documentation/PHASE/PHASESpatialCategory/earlyReflections) or [`lateReverb`](/documentation/PHASE/PHASESpatialCategory/lateReverb), in the output.  To control the amount of volume that either audio layer possesses in the mixer’s output, adjust the [`sendLevel`](/documentation/PHASE/PHASESpatialPipelineEntry/sendLevel) for the layer’s respective [`PHASESpatialPipelineEntry`](/documentation/PHASE/PHASESpatialPipelineEntry) member in the [`entries`](/documentation/PHASE/PHASESpatialPipeline/entries) dictionary.

## Topics

### Creating a Spatial Pipeline

[`init(flags:)`](/documentation/PHASE/PHASESpatialPipeline/init(flags:))

Creates a spatial pipeline with the specified flags.

[`PHASESpatialPipeline.Flags`](/documentation/PHASE/PHASESpatialPipeline/Flags-swift.struct)

Sound resonance options for a spatial pipeline.

### Inspecting Effects

[`flags`](/documentation/PHASE/PHASESpatialPipeline/flags-swift.property)

A collection of environmental effects to include in the output.

[`entries`](/documentation/PHASE/PHASESpatialPipeline/entries)

Audio layers for environmental effects to add to the output.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)