# SoundManager

Class · extends [`EventHandler`](https://api.playcanvas.com/engine/classes/EventHandler.md) · category: Sound

Source: https://github.com/playcanvas/engine/blob/dfcc50fbbfba2388843041a875ec0ef5d1a586c5/src/platform/sound/manager.js#L21

The SoundManager is used to load and play audio. It also applies system-wide settings like
global volume, suspend and resume.

## Constructors

### constructor

```ts
new SoundManager()
```

Create a new SoundManager instance.

## Properties

### listener

```ts
listener: Listener
```

The listener associated with this manager.

## Accessors

### volume

```ts
get volume(): number
set volume(volume: number)
```

Gets the global volume for the manager.

## Inherited from [EventHandler](https://api.playcanvas.com/engine/classes/EventHandler.md)

- `fire(name: string, arg1?: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any): EventHandler`
- `hasEvent(name: string): boolean`
- `off(name?: string, callback?: HandleEventCallback, scope?: any): EventHandler`
- `on(name: string, callback: HandleEventCallback, scope?: any): EventHandle`
- `once(name: string, callback: HandleEventCallback, scope?: any): EventHandle`
