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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
gain |
GainNode |
options |
FollowVolumeOptions |
Returns
Section titled “Returns”() => void