Skip to main content

SoundChannelOptions <Channel>

Type parameters

  • Channel: string = string

Index

Properties

optionalmaxConcurrentTracks

maxConcurrentTracks?: number

Maximum number of simultaneously playing tracks in this channel, default unbounded. See SoundManagerOptions.voiceStealing for what happens at the cap.

name

name: Channel

optionalonConnect

onConnect?: AudioBusBuilder

Wire the channel's input to its output through effects, see AudioBusBuilder

optionalvoiceStealing

voiceStealing?: boolean

What happens when a maxConcurrentTracks cap *false (default) drops the new play *true stops the oldest playing track in that scope to make room for it.

optionalvolume

volume?: number

Channel volume [0-1], default 1