SoundManagerOptions <Channel, SoundName>
Type parameters
- Channel: string = string
- SoundName: string = string
Index
Properties
optionalchannels
optionalmaxConcurrentTracks
Maximum number of simultaneously playing tracks allowed across ALL sounds
managed by this SoundManager. Default is unbounded (Infinity).
Channels can set their own cap with SoundChannelOptions.maxConcurrentTracks.
optionalonConnect
Wire the master input to output through effects (e.g. a compressor), see AudioBusBuilder
sounds
The sounds to manage, each optionally with a mix volume and a channel.
optionalvoiceStealing
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
Master volume [0-1] for every sound in this manager
Default is 1 (100%)
Optionally specify the possible channels to avoid typo's, as names or SoundChannelOptions