Open TakahiroHIWAKI opened 4 years ago
Make sure you have Internet connection and nothing is blocking Scratch domain - for example, proxy, firewall, antivirus or country-wide censorship.
We can do ver3.14.0 but, latest ver3.15.0 CANNOT speech!
Ah, can repro. 再現できました。
For some reason body.buffer
is undefined at scratch-vm/src/extensions/scratch3_text2speech/index.js speakAndWait.
なぜかしらcratch-vm/src/extensions/scratch3_text2speech/index.js speakAndWait内のbody.buffer
がundefinedになってます。
@ericrosenbaum Where is body.buffer
set? It seems like body
is just a string with the data, not sure how it worked before. If requestType in the option is set as arraybuffer
body
should be ArrayBuffer.
cc @BryceLTaylor @cwillisf
@cwillisf Confirmed my theory was true:
xhr.responseType = "arraybuffer";
then resumesound.data.buffer = body;
then resumeLooks like this will be fixed when LLK/scratch-vm#2891 goes in.
@kchadha This can be closed
Expected Behavior
speak text
Actual Behavior
donot speak to(cannot hear voice)
Steps to Reproduce
1) install Scratch desktop ver3.15.0 2) select extension “Text to Speech” 3) click on “speak(hello)” block but can’t hear “hello”
Operating System and Browser
I tried on windows 10 + scratch desktop 3.15.0