Skip to content

Instantly share code, notes, and snippets.

@backmeupplz
Created July 31, 2018 03:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save backmeupplz/f17374d06f5d86b18285a1880271cae2 to your computer and use it in GitHub Desktop.
Save backmeupplz/f17374d06f5d86b18285a1880271cae2 to your computer and use it in GitHub Desktop.
๐Ÿ“ Wonderful! *Voicy* will *ignore* all audio files in this chat since now.
๐Ÿ“ Wonderful! *Voicy* will *try to recognize* all audio files in this chat since now.
Reply to this message with the Google Cloud credentials file (.json) to setup Google Speech voice recognition. Not sure what is this and how to get it? Check out [our quick tutorial](https://google.com).
Sorry, you should reply with a credentials document.
Sorry, document\'s mime type should be \'text/plain\'.
Congratualations! *Voicy* got the credentials file for the *$[1]* Google Cloud Project. Now you are able to use Google Speech recognition.
๐Ÿ˜Ž *Voicy* converts speech to text from any voice messages and audio files (.ogg, .flac, .wav, .mp3) it receives. You can either talk to *Voicy* in the private chat or add it to a group.\n\nIf you want to use this bot in private messages, please, create a private group with anyone and add *Voicy* there. If you want to add *Voicy* to a group chat, please, add it as a prticipant on the group profile or to the group in the *Voicy* bot profile.\n\n/help โ€” Shows this message ๐Ÿ˜ฑ\n/engine โ€” Lets you pick a voice recognition engine: wit.ai, Yandex SpeechKit or Google Speech โš™\n/language โ€” Lets you pick a voice recognition language ๐Ÿ“ฃ\n/lock โ€” Toggles lock or unlock of non-admins using commands in group chats ๐Ÿ”‘\n/files โ€” Toggles if the bot should attempt to convert audio files or just ignore them ๐Ÿ“\n/silent โ€” Toggles silent mode when no extra messages like `Voice recognition is initiated` are sent ๐Ÿ˜ถ\n/google โ€” Setup google credentials for Google Speech ๐Ÿฆ†\n\nLike this bot? Leave a review [here](https://telegram.me/storebot?start=voicybot) ๐Ÿ‘\n\nAddress any concerns and questions to my creator โ€” @borodutch ๐Ÿฆ„
๐Ÿ˜… Sorry, but this command only works in group chats.
๐Ÿ”‘ Great! *Voicy* will now respond only to command calls sent by *admins* in this chat.
๐Ÿ”‘ Great! *Voicy* will now respond only to command calls from *anyone* in this chat.
๐Ÿ˜ถ Magnificent! *Voicy* will now work in *silent mode*: it will not send any messages to the chat except for the actual voice transcriptions.
๐Ÿ˜ Magnificent! *Voicy* will now work in *usual mode*: it will send `Voice recognition is initiated` messages right after it receives voice messages.
๐Ÿ‘‹ Hello there! *Voicy* is a voice recognition bot that converts all voice messages and audio files (.ogg, .flac, .wav, .mp3) it gets into text.\n\n*Voicy* supports three voice recognition engines: wit.ai, Yandex SpeechKit and Google Speech. Initialy it\'s set to use wit.ai but you can switch to Google Speech or Yandex SpeechKit anytime in /engine. More information in /help.
๐Ÿ‘‹ Please, select the engine of speech recognition. Google Speech is more accurate and supports audio longer than 50 seconds, but has to be setup with your Google Cloud credentials (a bit tedious). Yandex SpeechKit is pretty accurate, free, private and most of the time supports audio longer than 50 seconds, but has limited list of languages. Wit.ai is less accurate, free, and doesn\'t support audio longer than 50 seconds, but has plenty of languages. Please, note that all three support different languages, so pick the one that suits you the best.
Only the person who started command can select options
๐Ÿ‘ Now *Voicy* uses *$[1]* in this chat. Thank you! Don\'t forget to set /language.
๐Ÿ‘‹ Please select the language of speech recognition for $[1]
๐Ÿ‘‹ Please select the language of speech recognition
๐Ÿ‘ Now *Voicy* speaks *$[1]* (Yandex SpeechKit) in this chat. Thank you!
๐Ÿ‘‹ Please select the language of speech recognition for wit.ai.
๐Ÿ‘ Now *Voicy* speaks *$[1]* (wit.ai) in this chat. Thank you!
๐Ÿ‘‹ Please select the language of speech recognition for Google Speech.
๐Ÿ‘ Now *Voicy* speaks *$[1]* (Google Speech) in this chat. Thank you!
_๐Ÿ‘ฎ I can\'t recognize voice messages larger than 20 megabytes_
_๐Ÿฆ„ Voice recognition is initiated..._
_๐Ÿ‘ฎ Wit.ai cannot recognize voice messages longer than 50 seconds_
_๐Ÿ‘ฎ Please, speak clearly, I couldn\'t recognize that_
_๐Ÿ‘ฎ I couldn\'t recognize that_
๐Ÿ˜ฎ Please, setup google credentials with the /google command or change the engine with the /engine command. Your credentials are not setup yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment