Azure Speech Service Batch Synthesis

C-Gregory Padron 0 Reputation points
2024-11-06T16:14:19.5+00:00

Azure Speech Service Batch Synthesis API is not creating the file as MP3 when the output format is correct (audio-24khz-160kbitrate-mono-mp3). Speech is created as WMA file

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
2,064 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Avinash Devarakonda 610 Reputation points Microsoft External Staff
    2024-11-07T02:17:09.08+00:00

    Hi C-Gregory Padron,

    Welcome to Microsoft Q&A Forum, thank you for posting your query here!

    It sounds like you’re encountering an issue with the Azure Speech Service Batch Synthesis API. When you specify the output format as audio-24khz-160kbitrate-mono-mp3, but the output is being generated as a WMA file instead, it could be due to a few reasons:

    Ensure the output format is correctly specified in the API request. For example:

    {
      "description": "Batch synthesis example",
      "inputKind": "PlainText",
      "inputs": [
        {
          "content": "Your text"
        }
      ],
      "properties": {
        "outputFormat": "audio-24khz-160kbitrate-mono-mp3"
      }
    }
    

    Use the latest version of the API to avoid any known issues. Refer to the https://learn.microsoft.com/en-us/azure/ai-services/speech-service/batch-synthesis for updates.

    Check the logs for any error messages or warnings that might indicate why the output format is not correctly generating.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer

    Thank You.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.