Voice-Dataset-Collection icon indicating copy to clipboard operation
Voice-Dataset-Collection copied to clipboard

fix(frontend recording): fixing audio capture and lossy encoding

Open Kamal-Eldin opened this issue 7 months ago • 0 comments

Description

This change addresses issue #4. Resolves the current bug of naming blobs with wav extensions but leaving the MediaRecorder for the browser to manage the actual audio encoding of the incoming stream.

Changes

  • Removes the misnamed wav encoding statements.
  • Adds raw stream capture in PCM using audio contexts and buffers Recording.tsx
  • Adds Wav encoding utility to convert PCM data to wav frontend/src/utils.wavEncoder.ts

Kamal-Eldin avatar Sep 23 '25 09:09 Kamal-Eldin