DelayNode: delayTime property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{ APIRef("Web Audio API") }}

The delayTime property of the {{ domxref("DelayNode") }} interface is an a-rate {{domxref("AudioParam")}} representing the amount of delay to apply.

delayTime is expressed in seconds, its minimal value is 0, and its maximum value is defined by the maxDelayTime argument of the {{domxref("BaseAudioContext.createDelay")}} method that created it.

توجه: Though the {{domxref("AudioParam")}} returned is read-only, the value it represents is not.

Value

An {{domxref("AudioParam")}}.

Examples

See [BaseAudioContext.createDelay()](/en-US/docs/Web/API/BaseAudioContext/createDelay#examples) for example code.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • Using the Web Audio API