Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.52 KB

File metadata and controls

48 lines (32 loc) · 1.52 KB
sidebar_position 5

import AudioNodePropsTable from "@site/src/components/AudioNodePropsTable" import { ReadOnly } from '@site/src/components/Badges';

DelayNode

The DelayNode interface represents the latency of the audio signal by given time. It is an AudioNode that applies time shift to incoming signal f.e. if delayTime value is 0.5, it means that audio will be played after 0.5 seconds.

:::info Delay is a node with tail-time, which means, that it continues to output non-silent audio with zero input for the duration of delayTime. :::

Constructor

BaseAudioContext.createDelay(maxDelayTime?: number)

Properties

It inherits all properties from AudioNode.

Name Type Description
delayTime AudioParam k-rate AudioParam representing value of time shift to apply.

:::warning In web audio api specs delayTime is an a-rate param. :::

Methods

DelayNode does not define any additional methods. It inherits all methods from AudioNode.

Remarks

maxDelayTime

  • Default value is 1.0.
  • Nominal range is 0 - 180.

delayTime

  • Default value is 0.
  • Nominal range is 0 - maxDelayTime.