# Interface: SoundOptions (/jsdoc/pixi-vn/index/interfaces/SoundOptions)



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

Extends [#extends]

* `Pick`\<`Partial`\<`PlayerOptions`>, `"loop"` | `"autostart"` | `"fadeIn"` | `"fadeOut"` | `"mute"` | `"loopEnd"` | `"loopStart"` | `"reverse"` | `"playbackRate"`>

Extended by [#extended-by]

* [`SoundPlayOptions`](/jsdoc/pixi-vn/index/interfaces/SoundPlayOptions)

Properties [#properties]

autostart? [#autostart]

\> `optional` &#x2A;*autostart?**: `boolean`

Defined in: node\_modules/tone/build/esm/source/buffer/Player.d.ts:9

Inherited from [#inherited-from]

`Pick.autostart`

***

fadeIn? [#fadein]

\> `optional` &#x2A;*fadeIn?**: `Time`

Defined in: node\_modules/tone/build/esm/source/buffer/Player.d.ts:13

Inherited from [#inherited-from-1]

`Pick.fadeIn`

***

fadeOut? [#fadeout]

\> `optional` &#x2A;*fadeOut?**: `Time`

Defined in: node\_modules/tone/build/esm/source/buffer/Player.d.ts:14

Inherited from [#inherited-from-2]

`Pick.fadeOut`

***

filters? [#filters]

\> `optional` &#x2A;*filters?**: `ToneAudioNode`\<`ToneWithContextOptions`>\[]

Defined in: [src/sound/interfaces/SoundOptions.ts:34](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/sound/interfaces/SoundOptions.ts#L34)

A collection of audio filters/effects to apply to this sound.

Install "tone" for the full list of available filters.

Example [#example]

```ts
import * as Tone from "tone";

const filters = [new Tone.FeedbackDelay("8n", 0.5)];
```

***

loop? [#loop]

\> `optional` &#x2A;*loop?**: `boolean`

Defined in: node\_modules/tone/build/esm/source/buffer/Player.d.ts:8

Inherited from [#inherited-from-3]

`Pick.loop`

***

loopEnd? [#loopend]

\> `optional` &#x2A;*loopEnd?**: `Time`

Defined in: node\_modules/tone/build/esm/source/buffer/Player.d.ts:11

Inherited from [#inherited-from-4]

`Pick.loopEnd`

***

loopStart? [#loopstart]

\> `optional` &#x2A;*loopStart?**: `Time`

Defined in: node\_modules/tone/build/esm/source/buffer/Player.d.ts:10

Inherited from [#inherited-from-5]

`Pick.loopStart`

***

mute? [#mute]

\> `optional` &#x2A;*mute?**: `boolean`

Defined in: node\_modules/tone/build/esm/source/Source.d.ts:10

Inherited from [#inherited-from-6]

`Pick.mute`

***

~~muted?~~ [#muted]

\> `optional` &#x2A;*muted?**: `boolean`

Defined in: [src/sound/interfaces/SoundOptions.ts:42](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/sound/interfaces/SoundOptions.ts#L42)

Deprecated [#deprecated]

Use [mute](#mute) instead.

***

playbackRate? [#playbackrate]

\> `optional` &#x2A;*playbackRate?**: `number`

Defined in: node\_modules/tone/build/esm/source/buffer/Player.d.ts:7

Inherited from [#inherited-from-7]

`Pick.playbackRate`

***

reverse? [#reverse]

\> `optional` &#x2A;*reverse?**: `boolean`

Defined in: node\_modules/tone/build/esm/source/buffer/Player.d.ts:12

Inherited from [#inherited-from-8]

`Pick.reverse`

***

~~speed?~~ [#speed]

\> `optional` &#x2A;*speed?**: `number`

Defined in: [src/sound/interfaces/SoundOptions.ts:38](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/sound/interfaces/SoundOptions.ts#L38)

Deprecated [#deprecated-1]

Use [playbackRate](#playbackrate) instead.

***

volume? [#volume]

\> `optional` &#x2A;*volume?**: `number`

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

The volume of this sound in the linear range \[0, 1], where 0 is silence
and 1 is full volume.  This is converted to decibels internally before
being passed to the Tone.js Player.
