# Rasa VoiceBot with SpeechRecognition & gTTS python libraries

**URL:** <https://forum.rasa.com/t/rasa-voicebot-with-speechrecognition-gtts-python-libraries/36481>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [October 30, 2020, 4:35pm UTC](https://forum.rasa.com/t/rasa-voicebot-with-speechrecognition-gtts-python-libraries/36481 "2020-10-30T16:35:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dilan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dilan/32/11623_2.png) [@dilan](https://forum.rasa.com/u/dilan)\
**Post date:** [October 30, 2020, 4:35pm UTC](https://forum.rasa.com/t/rasa-voicebot-with-speechrecognition-gtts-python-libraries/36481/1 "2020-10-30T16:35:43Z")

</div>

Hi All,

This is my first forum post and I am a newbie and exploring Rasa x. I was able to build a simple chatbot and I converted it to voice enabled voicebot with the help of [this](https://www.youtube.com/watch?v=esWPb4i4vyY) YouTube tutorial. So as the step 1) I convert voice input to text and step 2) convert bot message to audio clip and play it so the user can hear it. Since I am creating a voice clip inside my project folder, if multiple users try to use the bot at the same time I must have a mechanism to create unique voice clip for each chat session and play it. How to handle this kind of scenario?

---

<div class="post-metadata">

**Author:** ![daudahmad0303](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/daudahmad0303/32/21172_2.png) [@daudahmad0303](https://forum.rasa.com/u/daudahmad0303)\
**Post date:** [September 3, 2022, 8:10pm UTC](https://forum.rasa.com/t/rasa-voicebot-with-speechrecognition-gtts-python-libraries/36481/2 "2022-09-03T20:10:58Z")

</div>

You can save the voice of a particular user with the **recipient ID** returned by the **RASA** in response.

---

<div class="post-metadata">

**Author:** ![Maartenkro](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@Maartenkro](https://forum.rasa.com/u/Maartenkro)\
**Post date:** [December 6, 2023, 10:49am UTC](https://forum.rasa.com/t/rasa-voicebot-with-speechrecognition-gtts-python-libraries/36481/3 "2023-12-06T10:49:13Z")

</div>

I suggest you try the Cognitive Voice Gateway from www.vier.ai. You can chose between 15+ STT/TTS engines, ranging from Google, Azure, etc. Your contactcenter integration becomes a lot easier too. And - compliant with EU and US GDPR regulations.
