# Interface: PixiVNJsonSoundPlayProps (/pixi-vn-json/index/interfaces/PixiVNJsonSoundPlayProps)



Defined in: [src/schema/PixiVNJsonSound.ts:6](https://github.com/DRincs-Productions/pixi-vn-json/blob/f2528001a05fe854a897e0c1d03c7e311fe08af2/src/schema/PixiVNJsonSound.ts#L6)

Playback options such as volume, loop, channel, and start offset.

## Extends [#extends]

* [`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel)

## Properties [#properties]

### autostart? [#autostart]

\> `optional` **autostart?**: `boolean`

Defined in: node_modules/tone/build/esm/source/buffer/Player.d.ts:9

#### Inherited from [#inherited-from]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`autostart`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#autostart)

***

### channel? [#channel]

\> `optional` **channel?**: `string`

Defined in: node_modules/@drincs/pixi-vn/dist/SoundGameState-C_6ZsQX6.d.ts:76

The alias of the audio channel to play the sound on. If the channel does
not exist it will be created automatically.
Defaults to `SoundManagerInterface.defaultChannelAlias` ("general").

#### Inherited from [#inherited-from-1]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`channel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#channel)

***

### delay? [#delay]

\> `optional` **delay?**: `number`

Defined in: node_modules/@drincs/pixi-vn/dist/SoundGameState-C_6ZsQX6.d.ts:64

The delay in seconds before playback starts. If specified, playback is
scheduled to begin after the delay has elapsed rather than starting
immediately in a paused state.

#### Inherited from [#inherited-from-2]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`delay`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#delay)

***

### elapsed? [#elapsed]

\> `optional` **elapsed?**: `number`

Defined in: node_modules/@drincs/pixi-vn/dist/SoundGameState-C_6ZsQX6.d.ts:68

The offset in seconds from the start of the sound at which to begin playback.

#### Inherited from [#inherited-from-3]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`elapsed`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#elapsed)

***

### fadeIn? [#fadein]

\> `optional` **fadeIn?**: `Time`

Defined in: node_modules/tone/build/esm/source/buffer/Player.d.ts:13

#### Inherited from [#inherited-from-4]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`fadeIn`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#fadein)

***

### fadeOut? [#fadeout]

\> `optional` **fadeOut?**: `Time`

Defined in: node_modules/tone/build/esm/source/buffer/Player.d.ts:14

#### Inherited from [#inherited-from-5]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`fadeOut`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#fadeout)

***

### filters? [#filters]

\> `optional` **filters?**: `ToneAudioNode`\<`ToneWithContextOptions`>\[]

Defined in: node_modules/@drincs/pixi-vn/dist/SoundGameState-C_6ZsQX6.d.ts:48

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)];
```

#### Inherited from [#inherited-from-6]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`filters`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#filters)

***

### loop? [#loop]

\> `optional` **loop?**: `boolean`

Defined in: node_modules/tone/build/esm/source/buffer/Player.d.ts:8

#### Inherited from [#inherited-from-7]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`loop`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#loop)

***

### loopEnd? [#loopend]

\> `optional` **loopEnd?**: `Time`

Defined in: node_modules/tone/build/esm/source/buffer/Player.d.ts:11

#### Inherited from [#inherited-from-8]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`loopEnd`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#loopend)

***

### loopStart? [#loopstart]

\> `optional` **loopStart?**: `Time`

Defined in: node_modules/tone/build/esm/source/buffer/Player.d.ts:10

#### Inherited from [#inherited-from-9]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`loopStart`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#loopstart)

***

### mute? [#mute]

\> `optional` **mute?**: `boolean`

Defined in: node_modules/tone/build/esm/source/Source.d.ts:10

#### Inherited from [#inherited-from-10]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`mute`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#mute)

***

### ~~muted?~~ [#muted]

\> `optional` **muted?**: `boolean`

Defined in: node_modules/@drincs/pixi-vn/dist/SoundGameState-C_6ZsQX6.d.ts:56

#### Deprecated [#deprecated]

Use [mute](#mute) instead.

#### Inherited from [#inherited-from-11]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`muted`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#muted)

***

### playbackRate? [#playbackrate]

\> `optional` **playbackRate?**: `number`

Defined in: node_modules/tone/build/esm/source/buffer/Player.d.ts:7

#### Inherited from [#inherited-from-12]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`playbackRate`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#playbackrate)

***

### reverse? [#reverse]

\> `optional` **reverse?**: `boolean`

Defined in: node_modules/tone/build/esm/source/buffer/Player.d.ts:12

#### Inherited from [#inherited-from-13]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`reverse`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#reverse)

***

### ~~speed?~~ [#speed]

\> `optional` **speed?**: `number`

Defined in: node_modules/@drincs/pixi-vn/dist/SoundGameState-C_6ZsQX6.d.ts:52

#### Deprecated [#deprecated-1]

Use [playbackRate](#playbackrate) instead.

#### Inherited from [#inherited-from-14]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`speed`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#speed)

***

### volume? [#volume]

\> `optional` **volume?**: `number`

Defined in: node_modules/@drincs/pixi-vn/dist/SoundGameState-C_6ZsQX6.d.ts:35

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.

#### Inherited from [#inherited-from-15]

[`SoundPlayOptionsWithChannel`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel).[`volume`](/pixi-vn-json/docs-entry/interfaces/SoundPlayOptionsWithChannel#volume)
