[Python] How to convert text to speech? | Get male and female voice🎶 | Adjust speed and volume🎤

Поделиться
HTML-код
  • Опубликовано: 14 янв 2021
  • With the help of gTTS (Google Text to speech) and pyttsx3, we can easily convert our text to speech.
    To download gTTS:
    pip install gTTS
    To download pyttsx3:
    pip install pyttsx3
    We can generate male voice and also female voice with pyttsx3. Also, we can adjust speed or volume of sound in pyttsx3.
    gTTS is very simple to use. It generates female voice. To generate male voice using gTTS, we have to download separate male voice file but we have pyttsx3 to generate male voice easily.
    To generate female voice from pyttsx3, we need voice_id:
    voice_id = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\TTS_MS_EN-US_ZIRA_11.0"
    ➥Blog: igtechteam.wordpress.com/
    ➥Facebook page: / ishwargautam239
    ➥Instagram page: / ishwar_gautam1
    ➥LinkedIn: / ishwargautam1
    Searching for more videos? Then here is the link:
    🢡Complete Natural Language Processing Playlist:
    • Natural Language Proce...
    🢡To learn about deep learning:
    • Deep Learning
    🢡To learn about Machine learning and data science tutorial:
    • (Tutorial) Machine lea...
    🢡To learn about project of Machine learning and data science:
    • (Project) Machine lear...
    🢡To learn about python full course:
    • Python tutorial with f...
    🢡To learn about java full course:
    • Java tutorial
    🢡Project discussion: What project can we make from python, PHP, java, C/C++:
    • Wifi related
    🢡Learn in just one video (coding like C,C++,Java, PHP, python and many more)
    • Learn in one video
    ➤visit my channel to find more videos:
    / igtechteam
    #gTTS
    #pyttsx3
    #Text_to_speech
    .
    यस च्यानलमा अप्लोड भएका video हरु र अन्य code वा file हरु download गरी अन्य च्यानलमा अप्लोड भएको पाइएमा कडा भन्दा कडा कारबाही गरिनेछ।
    To upload my videos to another channel or misuse my files or codes is strictly prohibited . We have no concern regarding embedding videos on many other sites. Keep loving, Keep supporting!
  • НаукаНаука

Комментарии • 18

  • @sanjaysapkota2376
    @sanjaysapkota2376 3 года назад

    I am learning a lot of things from your videos. I genuinely want to thank you from my bottom of my heart 💖💓💖

    • @IGTechTeam
      @IGTechTeam  3 года назад

      Glad to hear that... Thanks man

    • @eliseomartin8568
      @eliseomartin8568 2 года назад

      you prolly dont give a damn but does anybody know a tool to log back into an instagram account??
      I was dumb forgot my login password. I would love any help you can offer me

  • @pydisekhar
    @pydisekhar 8 месяцев назад

    i need to change the frequency like if i increase the frequency the voice should be male and if i decrease the voice should be female and if i go on decreasing the voice should convert into cartoon or some other voices can this be done using this

  • @agacucin1422
    @agacucin1422 Год назад

    Hello bro im watching your videos and i learn lot of things from you really thanks for that, and i have a question so i made a pdf reader with pyttsx3 its opens the file but with no voice can you pls help me

  • @Subagyo-Tepil
    @Subagyo-Tepil 6 месяцев назад

    Thank a lot for the tutorial. Can we change the language into Indonesian language and save the output to a file ?.

  • @vrindapanwar7404
    @vrindapanwar7404 3 месяца назад

    From where we can get more voice ID

  • @pujapandey3896
    @pujapandey3896 3 года назад

    Thank you for this video

  • @teachkhmerbinary
    @teachkhmerbinary 8 месяцев назад

    love

  • @arjunpaudel1757
    @arjunpaudel1757 3 года назад

    Well explained

  • @karthikg_09
    @karthikg_09 2 года назад

    can i use a audio file instad of writing a text?
    If yes please tell me how to do that

    • @tienha6089
      @tienha6089 Год назад

      you mean speech to text, then to speech one more ?

  • @saisubhasishrout7742
    @saisubhasishrout7742 2 года назад +3

    After installing pyttsx3, I am getting female voice. How to get male voice?

  • @sumanparajuli229
    @sumanparajuli229 3 года назад +1

    Bro auta jarvas ko program banaunu na... jastai voice command bata task haru garne..... AI friend jastai..... This program will help us to know advance concept........