Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

followVolume

followVolume(gain, options): () => void

Keeps gain at base times the player’s master and channel volumes, now and on every change, until the returned function is called.

Parameter Type
gain GainNode
options FollowVolumeOptions

() => void