---
title: PHASEAssetRegistry
framework: phase
role: symbol
role_heading: Class
path: phase/phaseassetregistry
---

# PHASEAssetRegistry

A central repository of audio assets.

## Declaration

```swift
class PHASEAssetRegistry
```

## Overview

Overview This class manages audio by registering two types of assets throughout the app’s life cycle: When you’re done with a sound asset, call unregisterAsset(identifier:completion:) to free up its system resources.

## Topics

### Registering Sound Assets

- [registerSoundAsset(url:identifier:assetType:channelLayout:normalizationMode:)](phase/phaseassetregistry/registersoundasset(url:identifier:assettype:channellayout:normalizationmode:).md)
- [registerSoundAsset(data:identifier:format:normalizationMode:)](phase/phaseassetregistry/registersoundasset(data:identifier:format:normalizationmode:).md)
- [unregisterAsset(identifier:completion:)](phase/phaseassetregistry/unregisterasset(identifier:completion:).md)

### Registering Sound Event Assets

- [registerSoundEventAsset(rootNode:identifier:)](phase/phaseassetregistry/registersoundeventasset(rootnode:identifier:).md)
- [asset(forIdentifier:)](phase/phaseassetregistry/asset(foridentifier:).md)

### Registering Global Metaparameters

- [registerGlobalMetaParameter(metaParameterDefinition:)](phase/phaseassetregistry/registerglobalmetaparameter(metaparameterdefinition:).md)
- [globalMetaParameters](phase/phaseassetregistry/globalmetaparameters.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

### Setup

- [PHASEEngine](phase/phaseengine.md)
- [PHASEEngine.UpdateMode](phase/phaseengine/updatemode.md)
- [PHASEEngine.RenderingMode](phase/phaseengine/renderingmode.md)
- [PHASENormalizationMode](phase/phasenormalizationmode.md)
- [PHASESpatializationMode](phase/phasespatializationmode.md)
- [PHASEReverbPreset](phase/phasereverbpreset.md)
- [PHASEMedium](phase/phasemedium.md)
