# Interface: SoundUnsavedInterface (/pixi-vn/index/interfaces/SoundUnsavedInterface)



Defined in: [src/sound/interfaces/SoundUnsavedInterface.ts:3](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/sound/interfaces/SoundUnsavedInterface.ts#L3)

## Methods [#methods]

### pauseAll() [#pauseall]

\> **pauseAll**(`channel?`): `this`

Defined in: [src/sound/interfaces/SoundUnsavedInterface.ts:21](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/sound/interfaces/SoundUnsavedInterface.ts#L21)

Temporarily pause all currently-playing sounds (or just those in the given
channel) without persisting the paused state. Useful for overlays / pause
menus.

Only sounds that are **actively playing** at the time of the call are paused;
sounds that were already paused beforehand are left untouched so that they
remain paused when [resumeAll](#resumeall) is called later.

When called without a channel argument all transient players started with
[playTransient](#playtransient) are also stopped.

#### Parameters [#parameters]

##### channel? [#channel]

`string`

#### Returns [#returns]

`this`

***

### playTransient() [#playtransient]

\> **playTransient**(`alias`, `options?`): `Promise`\<`Player`>

Defined in: [src/sound/interfaces/SoundUnsavedInterface.ts:8](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/sound/interfaces/SoundUnsavedInterface.ts#L8)

Plays a non-persistent ("transient") sound (e.g. UI / menu sounds).
Transient playback is not tracked in save/export state.

#### Parameters [#parameters-1]

##### alias [#alias]

`string`

##### options? [#options]

`Partial`\<`PlayerOptions`>

#### Returns [#returns-1]

`Promise`\<`Player`>

***

### resumeAll() [#resumeall]

\> **resumeAll**(`channel?`): `this`

Defined in: [src/sound/interfaces/SoundUnsavedInterface.ts:27](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/sound/interfaces/SoundUnsavedInterface.ts#L27)

Resume all sounds (or just those in the given channel) that were paused by
the most recent call to [pauseAll](#pauseall). Sounds that were already
paused before `pauseAll` was called are **not** resumed.

#### Parameters [#parameters-2]

##### channel? [#channel-1]

`string`

#### Returns [#returns-2]

`this`

***

### stopTransientAll() [#stoptransientall]

\> **stopTransientAll**(): `this`

Defined in: [src/sound/interfaces/SoundUnsavedInterface.ts:31](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/sound/interfaces/SoundUnsavedInterface.ts#L31)

Stop all transient media instances started with [playTransient](#playtransient).

#### Returns [#returns-3]

`this`
