-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing chunkSize in speech audio file WAV format #513
Comments
mudssrali
changed the title
Missing chunkSize in speech audio file in WAV format
Missing chunkSize in speech audio file WAV format
Mar 29, 2022
Merged
@glharper can you please suggest a release date for this fix? Thanks |
@mudssrali mid-April, 2-3 weeks. |
Speech SDK 1.21 was release. See release notes: https://docs.microsoft.com/azure/cognitive-services/speech-service/releasenotes?tabs=speech-sdk#speech-sdk-1210-april-2022-release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We're using text-to-speech Microsoft Cognitive Services to generate speech audios. However we need it in WAV format according to following output format specifications:
Once we generate audio speech, we pass it to an IVR (Interactive Voice Response) service. When upload azure service generated speech audio file, we're getting error because of audio file format. We further dug into it, no clue until we inspect speech audio file metadata especially Raw Header. More information can be found here: Azure-Samples/cognitive-services-speech-sdk#1450
After detailed analysis on different files Raw Headers, azure generated speech audio files with WAV format (Riff8Khz16BitMonoPcm) don't include chunkSize. We test it by converting speech audio through online tool provided by 3Cx and the uploaded to IVR and it's working fine.
Raw Header - Azure Speech API - success.wav
success.wav
Raw Header - Converted converted_success.wav
converted_success.wav
Tool that we used for conversion changes only chunkSize bytes from
00 00 00 00
toE2 1B 03 00
More Information about WAVE PCM soundfile format
WAVE PCM soundfile format
The text was updated successfully, but these errors were encountered: