---
title: PHASEGroupPreset
framework: phase
role: symbol
role_heading: Class
path: phase/phasegrouppreset
---

# PHASEGroupPreset

A collection of settings for groups.

## Declaration

```swift
class PHASEGroupPreset
```

## Overview

Overview Group presets pair groups with audio settings that your app can apply to specific sounds at a particular time in your app’s life cycle. This class enables many predefined group settings to take effect all at once. Toggle Between Group Presets The group preset’s utility materializes when you switch between settings. The following example creates two group presets: one for an in-game experience and another for a menu that displays when the user pauses the app.

## Topics

### Creating a Group Preset

- [init(engine:settings:timeToTarget:timeToReset:)](phase/phasegrouppreset/init(engine:settings:timetotarget:timetoreset:).md)

### Applying Settings

- [settings](phase/phasegrouppreset/settings.md)

### Fading Between Settings

- [timeToTarget](phase/phasegrouppreset/timetotarget.md)
- [timeToReset](phase/phasegrouppreset/timetoreset.md)

### Activating a Group Preset

- [activate()](phase/phasegrouppreset/activate().md)
- [activate(timeToTargetOverride:)](phase/phasegrouppreset/activate(timetotargetoverride:).md)

### Deactivating a Group Preset

- [deactivate()](phase/phasegrouppreset/deactivate().md)
- [deactivate(timeToResetOverride:)](phase/phasegrouppreset/deactivate(timetoresetoverride:).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

- [PHASEGroup](phase/phasegroup.md)
- [PHASEGroupPresetSetting](phase/phasegrouppresetsetting.md)
- [PHASEDucker](phase/phaseducker.md)
