Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

133
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda