El autor archivó este repositorio, así que ya no se mantiene.
Este repositorio no tiene archivo de licencia. Se puede leer, pero eso por sí solo no da permiso para reutilizarlo.
README.md
SA:MP Speech-To-Text is an ASI plugin that introduces voice input to gta samp.
Recognizes only Russian, although you can change the backend url manually as you want (in code, not in json).
It requires SAMP 0.3.7-R1 and ASI Loader, depends on bass.dll, libcurl.dll и zlib1.dll (all included in the release).
The following description is in Russian, because it is the main language of the user base.
SSTT - SA:MP Speech-To-Text
Описание: Простой ASI плагин, который записывает по удержанию клавиши звук с микрофона, сохраняет в wav, распознаёт через инфраструктуру Яндекса и возвращает результат прямо в чат сампа.
Горячие клавиши: R - говорить, P - /s [текст], N - /r [текст], J - /me [текст], L - /m [текст], B - /b [текст]
Требования: SAMP 0.3.7-R1 и ASI Loader. А так же библиотеки bass.dll, libcurl.dll и zlib1.dll (две последние есть в архиве релиза).
P.S. Для пользователей из Украины нужен VPN.
Настройка горячих клавиш
В версии от 15.07.2020 была добавлена возможность настроить свой набор фраз.
Для этого нужно выйти из игры и отредактировать файл sstt.json:
{
"backend": 1,
"header": "Content-Type: audio/x-wav",
"presets": {
"/b": {
"key": "B",
"text": "/b "
},
"/m": {
"key": "L",
"text": "/m "
},
"/me": {
"key": "J",
"text": "/me "
},
"/r": {
"key": "N",
"text": "/r "
},
"/s": {
"key": "P",
"text": "/s "
},
"prosto v chat": {
"key": "R",
"text": ""
}
},
"url": "http://asr.yandex.net/asr_xml?uuid=12345678123456781234546112345678&disableAntimat=true&topic=general&lang=ru-RU&key=6372dda5-9674-4413-85ff-e9d0eb2f99a7"
}
Сейчас работает только смена пресетов по такому шаблону:
"nazvanie shablona": {
"key": "Odna Knopka",
"text": "Prefix v chat"
}
Ссылки
asi-pluginasi-pluginsgta-sagta-sampsa-mpsampsan-andreas-multiplayerspeech-to-text
Esta página se genera con lo que GitHub publica sobre el repositorio. samp.directory no aloja el código. Informar de un problema con esta ficha