Table of Contents

Class DelayNode

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The DelayNode interface represents a delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output.

[Value("DelayNode")]
public class DelayNode : AudioNode
Inheritance
DelayNode
Inherited Members

Remarks

A DelayNode always has exactly one input and one output, both with the same amount of channels.

The DelayNode acts as a delay-line, here with a value of 1s.

When creating a graph that has a cycle, it is mandatory to have at least one DelayNode in the cycle, or the nodes taking part in the cycle will be muted.

-Using the Web Audio API

See also on MDN

Constructors

DelayNode()

public DelayNode()

DelayNode(BaseAudioContext, DelayOptions)

The DelayNode()
constructor of the Web Audio API
creates a new DelayNode object with a delay-line; an AudioNode
audio-processing module that causes a delay between the arrival of an input data, and
its propagation to the output.

public DelayNode(BaseAudioContext context, DelayOptions options = null)

Parameters

context BaseAudioContext
options DelayOptions

Remarks

Properties

DelayTime

The delayTime property of the DelayNode interface is an a-rate AudioParam representing the amount of delay to apply.

[Value("delayTime")]
public AudioParam DelayTime { get; }

Property Value

AudioParam

An AudioParam.

Remarks

delayTime is expressed in seconds, its minimal value is 0, and its maximum value is defined by the maxDelayTime argument of the CreateDelay(Number) method that created it.

NOTE

Though the AudioParam returned is read-only, the value it represents is not.

-Using the Web Audio API

See also on MDN