Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

97
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda