---
title: PHASEGroup
framework: phase
role: symbol
role_heading: Class
path: phase/phasegroup
---

# PHASEGroup

A container that shares audio parameters with a collection of sounds.

## Declaration

```swift
class PHASEGroup
```

## Overview

Overview With all the sounds it contains, a group shares settings like gain, playback rate, mute, and solo. Groups are nonhierarchical and don’t overlap — that is, each sound event associates with only one group. Apply Group Settings to Sounds You can apply settings to the sounds a group contains. For instance, an app can share volume settings with various sound effects and dialogue audio groups. The following example creates a group for background audio, such as environmental sound layers played with ambient music. By interpolating the group’s gain setting, the audio fade applies to every sound in the group.

## Topics

### Creating a Group

- [init(identifier:)](phase/phasegroup/init(identifier:).md)

### Identifying the Group

- [identifier](phase/phasegroup/identifier.md)

### Defining the Group

- [register(engine:)](phase/phasegroup/register(engine:).md)
- [unregisterFromEngine()](phase/phasegroup/unregisterfromengine().md)

### Conrolling Loudness

- [gain](phase/phasegroup/gain.md)
- [fadeGain(gain:duration:curveType:)](phase/phasegroup/fadegain(gain:duration:curvetype:).md)

### Adjusting Playback Speed

- [rate](phase/phasegroup/rate.md)
- [fadeRate(rate:duration:curveType:)](phase/phasegroup/faderate(rate:duration:curvetype:).md)

### Silencing Sounds

- [mute()](phase/phasegroup/mute().md)
- [unmute()](phase/phasegroup/unmute().md)
- [isMuted](phase/phasegroup/ismuted.md)
- [solo()](phase/phasegroup/solo().md)
- [unsolo()](phase/phasegroup/unsolo().md)
- [isSoloed](phase/phasegroup/issoloed.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

### Sound Grouping and Management

- [PHASEGroupPreset](phase/phasegrouppreset.md)
- [PHASEGroupPresetSetting](phase/phasegrouppresetsetting.md)
- [PHASEDucker](phase/phaseducker.md)
