ConstantSourceNode
Overview
The ConstantSourceNode interface—part of the Web Audio API—represents an audio source (based upon AudioScheduledSourceNode) whose output is single unchanging value. This makes it useful for cases in which you need a constant value coming in from an audio source. In addition, it can be used like a constructible AudioParam by automating the value of its offset or by connecting another node to it; see Controlling multiple parameters with ConstantSourceNode.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
- Ancestry: AudioScheduledSourceNode | ConstantSourceNode
channelCount (declared in AudioNode)
property channelCount: Int32 read write;
Int32 channelCount { get; set; }
var channelCount: Int32 { get{} set{} }
Int32 channelCount { __get; __set; }
Property channelCount() As Int32
channelCountMode (declared in AudioNode)
property channelCountMode: dynamic read write;
dynamic channelCountMode { get; set; }
var channelCountMode: dynamic { get{} set{} }
dynamic channelCountMode { __get; __set; }
Property channelCountMode() As dynamic
channelInterpretation (declared in AudioNode)
property channelInterpretation: dynamic read write;
dynamic channelInterpretation { get; set; }
var channelInterpretation: dynamic { get{} set{} }
dynamic channelInterpretation { __get; __set; }
Property channelInterpretation() As dynamic
connect (declared in AudioNode)
Allows us to connect the output of this node to be input into another node, either as audio data or as the value of an AudioParam.
method connect(pardestination: dynamic; paroutputIndex: dynamic; parinputIndex: dynamic): AudioNode
AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)
func connect(_ pardestination: dynamic, _ paroutputIndex: dynamic, _ parinputIndex: dynamic) -> AudioNode
AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)
Function connect(pardestination As dynamic, paroutputIndex As dynamic, parinputIndex As dynamic) As AudioNode
Parameters:
- pardestination:
- paroutputIndex:
- parinputIndex:
context (declared in AudioNode)
property context: String read;
String context { get; }
var context: String { get{} }
String context { __get; }
ReadOnly Property context() As String
disconnect (declared in AudioNode)
Allows us to disconnect the current node from another one it is already connected to.
method disconnect(pardestination: dynamic; paroutput: dynamic; parinput: dynamic)
void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)
func disconnect(_ pardestination: dynamic, _ paroutput: dynamic, _ parinput: dynamic)
void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)
Sub disconnect(pardestination As dynamic, paroutput As dynamic, parinput As dynamic)
Parameters:
- pardestination:
- paroutput:
- parinput:
numberOfInputs (declared in AudioNode)
property numberOfInputs: dynamic read;
dynamic numberOfInputs { get; }
var numberOfInputs: dynamic { get{} }
dynamic numberOfInputs { __get; }
ReadOnly Property numberOfInputs() As dynamic
numberOfOutputs (declared in AudioNode)
property numberOfOutputs: dynamic read;
dynamic numberOfOutputs { get; }
var numberOfOutputs: dynamic { get{} }
dynamic numberOfOutputs { __get; }
ReadOnly Property numberOfOutputs() As dynamic
offset
property offset: AudioParam read write;
AudioParam offset { get; set; }
var offset: AudioParam { get{} set{} }
AudioParam offset { __get; __set; }
Property offset() As AudioParam
onended
property onended: EventListener read write;
EventListener onended { get; set; }
var onended: EventListener { get{} set{} }
EventListener onended { __get; __set; }
Property onended() As EventListener
start
Schedules a sound to playback at an exact time.
method start(parwhen: dynamic; paroffset: dynamic; parduration: dynamic)
void start(dynamic parwhen, dynamic paroffset, dynamic parduration)
func start(_ parwhen: dynamic, _ paroffset: dynamic, _ parduration: dynamic)
void start(dynamic parwhen, dynamic paroffset, dynamic parduration)
Sub start(parwhen As dynamic, paroffset As dynamic, parduration As dynamic)
Parameters:
- parwhen:
- paroffset:
- parduration:
stop
Schedules a sound to stop playback at an exact time.
method stop(parwhen: dynamic)
void stop(dynamic parwhen)
func stop(_ parwhen: dynamic)
void stop(dynamic parwhen)
Sub stop(parwhen As dynamic)
Parameters:
- parwhen:
channelCount (declared in AudioNode)
property channelCount: Int32 read write;
Int32 channelCount { get; set; }
var channelCount: Int32 { get{} set{} }
Int32 channelCount { __get; __set; }
Property channelCount() As Int32
channelCountMode (declared in AudioNode)
property channelCountMode: dynamic read write;
dynamic channelCountMode { get; set; }
var channelCountMode: dynamic { get{} set{} }
dynamic channelCountMode { __get; __set; }
Property channelCountMode() As dynamic
channelInterpretation (declared in AudioNode)
property channelInterpretation: dynamic read write;
dynamic channelInterpretation { get; set; }
var channelInterpretation: dynamic { get{} set{} }
dynamic channelInterpretation { __get; __set; }
Property channelInterpretation() As dynamic
context (declared in AudioNode)
property context: String read;
String context { get; }
var context: String { get{} }
String context { __get; }
ReadOnly Property context() As String
numberOfInputs (declared in AudioNode)
property numberOfInputs: dynamic read;
dynamic numberOfInputs { get; }
var numberOfInputs: dynamic { get{} }
dynamic numberOfInputs { __get; }
ReadOnly Property numberOfInputs() As dynamic
numberOfOutputs (declared in AudioNode)
property numberOfOutputs: dynamic read;
dynamic numberOfOutputs { get; }
var numberOfOutputs: dynamic { get{} }
dynamic numberOfOutputs { __get; }
ReadOnly Property numberOfOutputs() As dynamic
offset
property offset: AudioParam read write;
AudioParam offset { get; set; }
var offset: AudioParam { get{} set{} }
AudioParam offset { __get; __set; }
Property offset() As AudioParam
onended
property onended: EventListener read write;
EventListener onended { get; set; }
var onended: EventListener { get{} set{} }
EventListener onended { __get; __set; }
Property onended() As EventListener
connect (declared in AudioNode)
Allows us to connect the output of this node to be input into another node, either as audio data or as the value of an AudioParam.
method connect(pardestination: dynamic; paroutputIndex: dynamic; parinputIndex: dynamic): AudioNode
AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)
func connect(_ pardestination: dynamic, _ paroutputIndex: dynamic, _ parinputIndex: dynamic) -> AudioNode
AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)
Function connect(pardestination As dynamic, paroutputIndex As dynamic, parinputIndex As dynamic) As AudioNode
Parameters:
- pardestination:
- paroutputIndex:
- parinputIndex:
disconnect (declared in AudioNode)
Allows us to disconnect the current node from another one it is already connected to.
method disconnect(pardestination: dynamic; paroutput: dynamic; parinput: dynamic)
void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)
func disconnect(_ pardestination: dynamic, _ paroutput: dynamic, _ parinput: dynamic)
void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)
Sub disconnect(pardestination As dynamic, paroutput As dynamic, parinput As dynamic)
Parameters:
- pardestination:
- paroutput:
- parinput:
start
Schedules a sound to playback at an exact time.
method start(parwhen: dynamic; paroffset: dynamic; parduration: dynamic)
void start(dynamic parwhen, dynamic paroffset, dynamic parduration)
func start(_ parwhen: dynamic, _ paroffset: dynamic, _ parduration: dynamic)
void start(dynamic parwhen, dynamic paroffset, dynamic parduration)
Sub start(parwhen As dynamic, paroffset As dynamic, parduration As dynamic)
Parameters:
- parwhen:
- paroffset:
- parduration:
stop
Schedules a sound to stop playback at an exact time.
method stop(parwhen: dynamic)
void stop(dynamic parwhen)
func stop(_ parwhen: dynamic)
void stop(dynamic parwhen)
Sub stop(parwhen As dynamic)
Parameters:
- parwhen: