<!--
{
  "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/PHASESoundEvent/init(engine:assetIdentifier:mixerParameters:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "PHASE"
    ],
    "preciseIdentifier" : "c:objc(cs)PHASESoundEvent(im)initWithEngine:assetIdentifier:mixerParameters:error:"
  },
  "title" : "init(engine:assetIdentifier:mixerParameters:)"
}
-->

# init(engine:assetIdentifier:mixerParameters:)

Creates a sound event node with the given asset and mixer parameters.

```
init(engine: PHASEEngine, assetIdentifier: String, mixerParameters: PHASEMixerParameters) throws
```

## Parameters

`engine`

The object that controls this class’s associated audio output.

`assetIdentifier`

The identifier for the sound event asset from which to create the node.

`mixerParameters`

A dictionary of spatial mixer parameters to enable. The keys match available identifiers of the object’s spatial 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)