@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="ConstantSourceNode")
public class ConstantSourceNode
extends AudioScheduledSourceNode
onendedchannelCount, channelCountMode, channelInterpretation| Constructor and Description |
|---|
ConstantSourceNode(BaseAudioContext context)
The ConstantSourceNode() constructor creates a new ConstantSourceNode object instance, representing an audio source which constantly outputs samples whose values are always the same.
|
ConstantSourceNode(BaseAudioContext context,
ConstantSourceOptions options)
The ConstantSourceNode() constructor creates a new ConstantSourceNode object instance, representing an audio source which constantly outputs samples whose values are always the same.
|
| Modifier and Type | Method and Description |
|---|---|
AudioParam |
offset()
The read-only offset property of the ConstantSourceNode interface returns a AudioParam object indicating the numeric a-rate value which is always returned by the source when asked for the next sample.
|
addEndedListener, addEndedListener, addEndedListener, removeEndedListener, removeEndedListener, removeEndedListener, start, start, stop, stopconnect, 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 ConstantSourceNode(@Nonnull
BaseAudioContext context,
@Nonnull
ConstantSourceOptions options)
public ConstantSourceNode(@Nonnull
BaseAudioContext context)
@JsProperty(name="offset") @Nonnull public AudioParam offset()