A
A
Artem Morozov2020-12-23 12:27:39
speech synthesis
Artem Morozov, 2020-12-23 12:27:39

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

4 answer(s)
V
Vasily Bannikov, 2020-12-23
@vabka

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.

P
Pavel Kornilov, 2020-12-23
@KorniloFF

A free option that already has fairly broad browser support:

A
Alexander, 2020-12-23
@NeiroNx

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("Проверка синтеза речи"))

for voice acting of large texts - it is necessary to split the text into sentences and feed it in parts

A
Anton, 2020-12-23
@anton99zel

In my opinion, everything is described in more than detail in the documentation , and even with examples for different languages.
Replenish the budget and go.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question