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

203
Vistas
Creating a wav file from a blob

I'm using the audio-react-recorder library to record audio from a user that want to eventually send to my back-end (as a wav-file). The react-recorder is generating a blob ({blob: Blob, url: 'blob:http://localhost:3000/c572ac68-6b7c-4992-b134-947df05ef32b', type: 'audio/wav'}) but I am unsure on how to convert it to a .wav file to be sent to the back-end. What I've tried so far:

let f = new File([audio], 'test.wav', { lastModified: new Date().getTime(), type: audio.type });

which causes an error when I try to pass to the API (wit.ai) I'm using. Also when I try to download this file, it is unplayable so I assume I'm not creating the file properly. Any ideas how to properly create the .wav file from the blob?

about 4 years ago · Juan Pablo Isaza
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