<!--
{
  "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/PHASEListener",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PHASE"
    ],
    "preciseIdentifier" : "c:objc(cs)PHASEListener"
  },
  "title" : "PHASEListener"
}
-->

# PHASEListener

A central point of reference that defines the location within the scene that’s most audible to the user.

```
class PHASEListener
```

## Overview

PHASE requires an instance of this class to play ambient or spatial audio. To output sound through an ambient mixer or spatial mixer, the app adds an instance of this class to a sound event by using [`PHASEMixerParameters`](/documentation/PHASE/PHASEMixerParameters).

For an example that demonstrates listeners, see [Playing sound from a location in a 3D scene](/documentation/PHASE/playing-sound-from-a-location-in-a-3d-scene).

## Topics

### Creating a Listener

[`init(engine:)`](/documentation/PHASE/PHASEListener/init(engine:))

Creates a listener with the given engine.

### Adjusting Loudness

[`gain`](/documentation/PHASE/PHASEListener/gain)

Modifies the volume of all audio playback for the listener’s mixers.



---

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)