Dear Unimrcp Community,
I've integrated Unimrcp with the socket API and can receive speech signals from users. However, when saving these speech byte signals as WAV files, the audio plays as a "ZAZZ" sound instead of the user's actual speech.
I've tried various approaches to save the byte data as a WAV file, such as constructing the header manually and combining it with the audio data, but the resulting files don't play the correct audio.
Could someone please provide guidance on how to properly save this byte data as a WAV file so that it plays the correct audio spoken by the user?
Any help or insights would be greatly appreciated. Thank you in advance!