Represents the state of individual channels in an audio track.

interface ChannelData {
    gains: number[];
    routeMap: RouteMap;
    state: MutedState[];
}

Properties

Properties

gains: number[]

The volume of each channel. Range 0 -> 1.

routeMap: RouteMap

The current channel mapping.

state: MutedState[]

The current state of the channels.