Giter Site home page Giter Site logo

400 error about aspeak HOT 3 CLOSED

emonigma avatar emonigma commented on June 21, 2024
400 error

from aspeak.

Comments (3)

kxxt avatar kxxt commented on June 21, 2024 1

400 error indicates your ssml is not valid. Please read the Microsoft documentation about how to construct SSML: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-synthesis-markup-structure

from aspeak.

emonigma avatar emonigma commented on June 21, 2024 1

I found this package by chance. I was using the official Python SDK, but out of nowhere it started failing with an OpenSSL issue unsolved for 8 months, also referenced here. The first issue suggests:

I think at this point your best bet is trying to migrate to the Azure Cognitive Services REST API, as Microsoft clearly has no interest or resources in maintaining the native SDK anymore.

I hope this helps someone find this package too. Thanks @kxxt for sharing this great piece of work and making my day!

from aspeak.

emonigma avatar emonigma commented on June 21, 2024

Correct! Once I fixed the SSML to Microsoft's standards, instead of generic SSML, it worked. Thanks! For reference, this SSML failed:

<speak>Olá crianças! Como se sentem? Eu sinto-me contente.</speak>

This SSML worked:

<speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='https://www.w3.org/2001/mstts' xml:lang='pt-pt'><voice name='pt-PT-RaquelNeural'>Olá crianças! Como se sentem? Eu sinto-me contente.</voice></speak>

from aspeak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.