@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="GainNode")
public class GainNode
extends AudioNode
channelCount, channelCountMode, channelInterpretation| Constructor and Description |
|---|
GainNode(BaseAudioContext context)
The GainNode() constructor of the Web Audio API creates a new GainNode object which an AudioNode that represents a change in volume.
|
GainNode(BaseAudioContext context,
GainOptions options)
The GainNode() constructor of the Web Audio API creates a new GainNode object which an AudioNode that represents a change in volume.
|
| Modifier and Type | Method and Description |
|---|---|
AudioParam |
gain()
An AudioParam.
|
connect, connect, connect, connect, connect, context, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, numberOfInputs, numberOfOutputsaddEventListener, addEventListener, addEventListener, dispatchEvent, removeEventListener, removeEventListener, removeEventListenerassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic GainNode(@Nonnull
BaseAudioContext context,
@Nonnull
GainOptions options)
public GainNode(@Nonnull
BaseAudioContext context)
@JsProperty(name="gain") @Nonnull public AudioParam gain()