Skip to content

EZ Web Audio / Connectable

Interface: Connectable

Defined in: interfaces/connectable.ts:8

Interface for audio sources with parameter control and routing.

Provides gain/pan control and audio parameter management via the fluent API.

Properties

audioSourceNode

audioSourceNode: AudioNode

Defined in: interfaces/connectable.ts:10


changeGainTo()

changeGainTo: (value) => this

Defined in: interfaces/connectable.ts:12

Parameters

value

number

Returns

this


changePanTo()

changePanTo: (value) => this

Defined in: interfaces/connectable.ts:11

Parameters

value

number

Returns

this


percentGain

percentGain: number

Defined in: interfaces/connectable.ts:9


update()

update: (type, value) => object

Defined in: interfaces/connectable.ts:13

Parameters

type

ControlType

value

number

Returns

object

to()

to: (value) => object

Parameters
value

number

Returns

object

as()

as: (method) => void

Parameters
method

RatioType

Returns

void