1

Topic: Usage Yandex Speech Kit

Good afternoon.
There are two questions on usage Yandex Speech Kit:
1. How to save the sounded text in a format mp3 my computer.
2. How to bypass restriction on length of request Get that it was possible to sound files in length more than ~1500 characters.
All to me need to be made it for operation in Windows.
There is here such operating example which sounds the text:

<! DOCTUPE html>
<html>
<head>
<title> Yandex Speech Kit </title>
<meta http-equiv = "content-tupe" content = "text/html; charset=UTF-8"/>
</head>
<body>
<audio src = "" id = "audio">
</audio>
<textarea id = "text" style = "width: 400px; height: 200px;">
</textarea>
<input value = to "Read" type = "button" onclick = "voice ()"/>
<script type = "text/javascript">
var voice = function () {
var text = document.getElementById (' text ').value;
var audio = document.getElementById (' audio ');
var url = ' https://tts.voicetech.yandex.net/generate? ' +
' key=a60faf24-c48c-42d5-ab34-89a2b97ee032 ' +
' &text= ' +encodeURI (text) +
' &format=mp3 ' +
' &lang=ru-Ru ' +
' &speaker=oksana ';
audio.src = url;
audio.load ();
audio.onloadeddata = function () {
audio.play ();
};
};
</script>
</body>
</html>

It is probably possible to finish it for saving mp3 on a disk.
In advance thanks.