Answer the question
In order to leave comments, you need to log in
How to connect speech synthesis to the site?
I want to connect yandex speechkit (text voiceover) to a wordpress site.
My clients need to voice texts. But to offer everyone to buy a voice acting program is somehow strange. Therefore, I decided to buy it myself and link it to the wordpress admin panel.
Where in general to drip to implement it? Orient at least the first steps. Where to look for a person who will help set it up? And is it even possible?
Answer the question
In order to leave comments, you need to log in
Yandex speech kit has api.
You can access this api, and then use js to play the generated speech.
Because in the speech kit, billing is based on quantity - it's better to cache the result for all unchanged texts.
UPD: but I don't see the point of it at all. Most browsers already include this feature for free. Who really needs it (for example, the blind) already use all sorts of different screen readers. Better take care that screen readers can correctly read the markup of your site.
So in normal browsers there is already support for the TTS engine built into the system
https://developer.mozilla.org/en/docs/Web/API/Web_...
For the test, I output sound directly from the js console (without any libraries)
window.speechSynthesis.speak(new SpeechSynthesisUtterance("Проверка синтеза речи"))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question