---
title: "init(channelLayout:orientation:)"
framework: phase
role: symbol
role_heading: Initializer
path: "phase/phaseambientmixerdefinition/init(channellayout:orientation:)"
---

# init(channelLayout:orientation:)

Creates an ambient mixer with the given channel layout and orientation.

## Declaration

```swift
init(channelLayout layout: AVAudioChannelLayout, orientation: simd_quatf)
```

## Parameters

- `layout`: The channel layout of input audio.
- `orientation`: A quaternion that describes the orientation of the speaker layout relative to the scene origin.

## See Also

### Creating an Ambient Mixer

- [init(channelLayout:orientation:identifier:)](phase/phaseambientmixerdefinition/init(channellayout:orientation:identifier:).md)
