upadhyaypushpendra / webm-to-wav-converter

JavaScript package to convert audio/webm audio format into audio/wave
GNU General Public License v3.0
14 stars 3 forks source link

Blob data not converted to audio buffer (wavBloblUtil.js) #3

Open bilalshafim opened 1 year ago

bilalshafim commented 1 year ago

For some reason, when a valid Blob is passed to this method, it does not create the array buffer.

upadhyaypushpendra commented 1 year ago

Please share the steps to reproduce.

bilalshafim commented 1 year ago
  1. Record audio with mediaRecorder with the mimeType as 'audio/webm;codecs=opus'
  2. Call getWaveBlob method. getWaveBlob calls _getAudioBuffer.
upadhyaypushpendra commented 3 weeks ago

To start the recording the audio WavRecorder class provides start method. Please use that.