Coder Social home page Coder Social logo

[Bug]: speakTextAsync returns 0 byteLength when sending the same text to be synthesized. #2062 about cognitive-services-speech-sdk-js HOT 7 CLOSED

geoff-mathspathway avatar geoff-mathspathway commented on June 12, 2024 3
[Bug]: speakTextAsync returns 0 byteLength when sending the same text to be synthesized. #2062

from cognitive-services-speech-sdk-js.

Comments (7)

dsreitan avatar dsreitan commented on June 12, 2024 1

They are.

For backends, the number of whitespaces can be incremented for each request. Still a less then ideal work around 🫠

from cognitive-services-speech-sdk-js.

theisof avatar theisof commented on June 12, 2024 1

Now it works for me as well 🙌

from cognitive-services-speech-sdk-js.

dsreitan avatar dsreitan commented on June 12, 2024

Same issue. West Europe. Please help.

from cognitive-services-speech-sdk-js.

theisof avatar theisof commented on June 12, 2024

This is it! Same issue here, been pulling my hair out all day!

Same issue on iOS Safari. I suppose it is a server side caching issue(?)

A temporary work-around is to append random spaces to the end of the text.

const length = Math.floor(Math.random() * 100);
const spaces = " ".repeat(length);
synthesizer.speakTextAsync(text + spaces);

(MS are probably charging for the spaces so remember to delete again)

from cognitive-services-speech-sdk-js.

hsycc avatar hsycc commented on June 12, 2024

Same issue. West Europe. Please help.

For backends, the number of whitespaces can be incremented for each request. Still a less then ideal work around 🫠

try again ?

Half an hour ago. Seems to be fine in eastasia

from cognitive-services-speech-sdk-js.

hsycc avatar hsycc commented on June 12, 2024

same issue with today.

from cognitive-services-speech-sdk-js.

dsreitan avatar dsreitan commented on June 12, 2024

They fixed it 🎊

from cognitive-services-speech-sdk-js.

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.