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

# PHASEGroupPresetSetting

Settings for group presets.

```
class PHASEGroupPresetSetting
```

## Overview

This class defines playback speed and volume rates of change that an app can apply to groups. To create a group preset setting, instantiate an object of this type and pass it to the `settings` parameter of [`init(engine:settings:timeToTarget:timeToReset:)`](/documentation/PHASE/PHASEGroupPreset/init(engine:settings:timeToTarget:timeToReset:)).

For an example of preset settings, see [`PHASEGroupPreset`](/documentation/PHASE/PHASEGroupPreset).

## Topics

### Creating a Setting

[`-  initWithGain:rate:gainCurveType:rateCurveType:`](/documentation/PHASE/PHASEGroupPresetSetting/init(gain:rate:gainCurveType:rateCurveType:))

Creates a group preset setting.

### Setting Loudness

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

The volume of audio playback.

[`gainCurveType`](/documentation/PHASE/PHASEGroupPresetSetting/gainCurveType)

A rate of change for the setting’s volume.

### Setting Playback Speed

[`rate`](/documentation/PHASE/PHASEGroupPresetSetting/rate)

The playback speed for audio.

[`rateCurveType`](/documentation/PHASE/PHASEGroupPresetSetting/rateCurveType)

A rate of change for the setting’s playback speed.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)