Closed zamirszn closed 2 months ago
You don't save your file as WAVE format and you'll have hard times if you continue this way. WAVE can't be streamed. You must compose WAVE header on top of PCM data if you want to read it easily later.
You don't save your file as WAVE format and you'll have hard times if you continue this way. WAVE can't be streamed. You must compose WAVE header on top of PCM data if you want to read it easily later.
thanks for the reply , i was able to write a wave header for my pcm data after doing some research and getting the recorded audio to play , though it only works on windows for now doesnt play on android , ill be closing this issue now once again thank you for your response
hello @llfbandit , thanks for the great package
im implementing a feature where i send the audio stream to STT service , ive been able to do this but im trying to convert the raw audio into a wav file so i can play it later on
from the docs in the code it says "you must rely on stream close event to get full recorded data" which i did here
but im stuck at processing the audio and saving it , im kinda new to working with audio can you help me see what im doing wrong heres a function i wrote to process the audio but im pretty sure im not doing it right ?