---
title: PHASESoundAsset
framework: phase
role: symbol
role_heading: Class
path: phase/phasesoundasset
---

# PHASESoundAsset

A sound resource stored in the asset registry.

## Declaration

```swift
class PHASESoundAsset
```

## Overview

Overview This class wraps source audio data that an app intends to play. The framework requires a mixer to play a sound asset, and sound event nodes like PHASESamplerNodeDefinition combine the asset with a mixer. To provide a sound asset to a sound-event node, refer to the asset by the identifier you pass into the registerSoundAsset(url:identifier:assetType:channelLayout:normalizationMode:) function.

## Topics

### Accessing Sound Data

- [data](phase/phasesoundasset/data.md)
- [url](phase/phasesoundasset/url.md)

### Classifying an Asset

- [type](phase/phasesoundasset/type.md)

## Relationships

### Inherits From

- [PHASEAsset](phase/phaseasset.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

### Audio Selection and Playback

- [PHASESoundEvent](phase/phasesoundevent.md)
- [PHASESoundEvent.RenderingState](phase/phasesoundevent/renderingstate-swift.enum.md)
- [PHASESoundEventNodeDefinition](phase/phasesoundeventnodedefinition.md)
- [PHASESoundEventNodeAsset](phase/phasesoundeventnodeasset.md)
- [PHASEAsset](phase/phaseasset.md)
- [Sound Event Nodes](phase/sound-event-nodes.md)
