Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
text to speech
#10
The file ciao is in the directory \Users\Joe\PycharmProjects\Myproject So I did the following 2 command prompts commands from that directory.

C:\Users\Joe\PycharmProjects\Myproject>more ciao.py

#This is a way to use text to speech from a windows PC
from win32com.client import Dispatch
speak = Dispatch("SAPI.SpVoice")
speak.Speak("Ciao")

C:\Users\Joe\PycharmProjects\Myproject>python ciao.py

So for the first command it showed what my code is.

And the second command did work & I heard the word "ciao".

I am wondering if it has to do if how I have my interpreter set up in Pycharm.
Reply


Messages In This Thread
text to speech - by Heyjoe - Jun-27-2020, 07:50 PM
RE: text to speech - by snippsat - Jun-27-2020, 08:15 PM
RE: text to speech - by Heyjoe - Jun-28-2020, 06:18 PM
RE: text to speech - by snippsat - Jun-28-2020, 08:28 PM
RE: text to speech - by Heyjoe - Jun-30-2020, 01:05 AM
RE: text to speech - by menator01 - Jun-30-2020, 01:31 AM
RE: text to speech - by snippsat - Jun-30-2020, 07:27 AM
RE: text to speech - by Heyjoe - Jun-30-2020, 09:44 PM
RE: text to speech - by snippsat - Jun-30-2020, 10:36 PM
RE: text to speech - by Heyjoe - Jul-01-2020, 01:02 AM
RE: text to speech - by snippsat - Jul-01-2020, 08:44 AM
RE: text to speech - by Heyjoe - Jul-02-2020, 01:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Controlling text-to-speech pauses with pyttsx3 pmac1300 4 4,541 Mar-14-2022, 06:47 AM
Last Post: Coricoco_fr
  Speech Recognition with timestamps DeanAseraf1 3 6,663 Jun-27-2021, 06:58 PM
Last Post: gh_ad
  Continous Speech Recognition dell91 0 1,854 Oct-29-2020, 10:51 AM
Last Post: dell91
  How to Split Output Audio on Text to Speech Code Base12 2 6,905 Aug-29-2020, 03:23 AM
Last Post: Base12
  Googles Text to speech justindiaz7474 0 1,695 May-06-2020, 02:04 AM
Last Post: justindiaz7474
  Simulation of Text to speech (without using mic) to Voice recognition suported hardwa Helloworld20 2 2,253 Apr-08-2020, 02:13 AM
Last Post: Helloworld20
  Python Speech Engines? Robo_Pi 2 2,118 Mar-12-2020, 02:46 PM
Last Post: Robo_Pi
  Speech Recognition Ash23733 1 8,658 Dec-12-2018, 10:00 PM
Last Post: nilamo
  Speech (audio file, wav) to Text - Broken pipe Shobha 1 3,806 Nov-27-2018, 12:41 PM
Last Post: Larz60+
  Need Help With Text to Speech App Lethe 0 1,992 Oct-24-2018, 10:03 PM
Last Post: Lethe

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020