Audiotool board archive

Text To Speech for special effects

Major_Flux · started 2021-10-04 15:36 · updated 2021-10-12 02:18

Can we please have text-to-speech modules? They are devices that provide synthesized voices from specific inputs. I have a data uri in my bookmark bar that I can use to manipulate text-to-speech to make it sound like what I want and say what I want, and the uri is below. Text-to-speech might come in handy in music, and it will produce more ideas and freedom as users no longer have to record text-to-speech and drop it into external-media devices. Please add them.

You may copy code from here:
data:text/html,%3Cscript%3E%0Afunction%20v(id)%7B%0Areturn(document.getElementById(id).value)%3B%0A%7D%0Afunction%20say()%20%7B%0A%20%20var%20msg%20%3D%20new%20SpeechSynthesisUtterance()%3B%0A%20%20var%20voices%20%3D%20window.speechSynthesis.getVoices()%3B%0A%20%20msg.voice%20%3D%20voices%5Bv(%22voice%22)%5D%3B%0A%20%20msg.voiceURI%20%3D%20v(%22voiceURI%22)%3B%0A%20%20msg.volume%20%3D%20v(%22volume%22)%20%2F%20100%3B%0A%20%20msg.rate%20%3D%20v(%22rate%22)%3B%0A%20%20msg.pitch%20%3D%20v(%22pitch%22)%3B%0A%20%20msg.text%20%3D%20v(%22text%22)%3B%0A%20%20msg.lang%20%3D%20v(%22lang%22)%3B%0A%20%20speechSynthesis.speak(msg)%3B%0A%7D%0A%3C%2Fscript%3E%0A%3Cbutton%20onclick%3D%22say()%3B%22%3ESpeak%3C%2Fbutton%3E%3Cbr%3E%0A%3Cspan%3EVoice%20number%3A%20%3C%2Fspan%3E%3Cinput%20type%3D%22number%22%20id%3D%22voice%22%20value%3D%2210%22%2F%3E%3Cbr%3E%0A%3Cspan%3EVoice%20URI%3A%20%3C%2Fspan%3E%3Cselect%20id%3D%22voiceURI%22%3E%3Coption%20value%3D%22native%22%3ENative%3C%2Foption%3E%3C%2Fselect%3E%3Cbr%3E%0A%3Cspan%3EVolume%3A%20%3C%2Fspan%3E%3Cinput%20type%3D%22number%22%20id%3D%22volume%22%20value%3D%22100%22%2F%3E%3Cbr%3E%0A%3Cspan%3ERate%3A%20%3C%2Fspan%3E%3Cinput%20type%3D%22number%22%20id%3D%22rate%22%20value%3D%221%22%2F%3E%3Cbr%3E%0A%3Cspan%3EPitch%3A%20%3C%2Fspan%3E%3Cinput%20type%3D%22number%22%20id%3D%22pitch%22%20value%3D%221%22%2F%3E%3Cbr%3E%0A%3Cspan%3EText%3A%20%3C%2Fspan%3E%3Cinput%20type%3D%22text%22%20id%3D%22text%22%2F%3E%3Cbr%3E%0A%3Cspan%3ELanguage%3A%20%3C%2Fspan%3E%3Cselect%20id%3D%22lang%22%3E%3Coption%20value%3D%22en-US%22%3EEn-US%3C%2Foption%3E%3C%2Fselect%3E

Comments (3)

2021-10-04 15:44 · 2021-10-04

why would you need a tts module on audiotool when there are free websites that have downloadable custom tts prompts?
btw you broke the website the text has exited the box and has entered a new plane

2021-10-04 15:52 · 2021-10-04

I didn't know about this downloadable custom prompt. But anyways this text-to-speech thing will anyways be faster than bringing in a downloadable custom prompt from some other website. Also, about the broken-html thing, the devs should probably add the CSS property of "overflow: scroll".

DtripleJ · reply
2021-10-12 02:18 · 2021-10-12

lol