Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

94
Views
Set DelayNode to more than 1

How do I set the DelayNode.delayTime to more than 1?

I have tried this, but it results in a warning message and only creates a max delay of one second.

var delayNode = audioContext.createDelay();
delayNode.delayTime.maxValue = 3
delayNode.delayTime.minValue = 3
delayNode.delayTime.value = 3

This is the warning

Delay.delayTime.value 3 outside nominal range [0, 1]; value will be clamped.

If it is not possible to set the delay to more than one, are there any work arounds or alternative ways?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The DelayNode uses an internal buffer to store the delayed samples. This buffer needs to be created when creating the node. Its size determines the maximum value of the delay. The buffer can't be changed after the node is created. By default it can only hold up to 1 second of audio. But you can set it as high as you want. Setting it to 3 seconds would look like this.

audioContext.createDelay(3);
// or
new DelayNode(audioContext, { maxDelayTime: 3 });
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!