Speech-synthesis: Difference between revisions
No edit summary |
No edit summary |
||
| Line 174: | Line 174: | ||
* '''A small code snippet which I have prepared for demonstration purpose is shown below. You can try it. But first please download the espeak.py code from the following link: | * '''A small code snippet which I have prepared for demonstration purpose is shown below. You can try it. But first please download the espeak.py code from the following link: | ||
http://git.sugarlabs.org/projects/listen-spell/repos/mainline/blobs/master/espeak.py | http://git.sugarlabs.org/projects/listen-spell/repos/mainline/blobs/master/espeak.py | ||
: '''First select some text and then run the code trough terminal. The code will speak the text. This is a very basic thing which we want to achieve in sugar''' | |||
import gtk | import gtk | ||