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

132
Visualizações
Is it possible to set the length of an OfflineAudioContext after creation/just before rendering?

in a web audio project, I have an online- and an offline audio context, the latter one mirroring the former. The problem is, I don't know the final length of the audio I want to generate, but I have several AudioWorklets that need to be created beforehand, so they can receive user input, etc.

So when calling startRendering on the offline context, it just renders the length specified at creation time.

The length property seems to be read-only.

Is there really no way to set the length just before rendering ?

Best, N

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

There is currently no way to do this. But there is an issue filed on the spec to enable incremental rendering. Maybe you can add your use case there.

https://github.com/WebAudio/web-audio-api/issues/2445

For now it might work if you create proxies for your worklets that collect the user input upfront before you create the actual OfflineAudioContext with the real worklets.

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