Module EspeakSpeech
[hide private]
[frames] | no frames]

Source Code for Module EspeakSpeech

 1  ''' 
 2  Defines a class that subclasses L{GSpeech} to support the Espeak speech  
 3  engine via gnome-speech. 
 4   
 5  @author: Peter Parente 
 6  @organization: IBM Corporation 
 7  @copyright: Copyright (c) 2007 IBM Corporation 
 8  @license: The BSD License 
 9   
10  @author: Martina Weicht 
11  @organization: IT Science Center Ruegen gGmbH, Germany 
12  @copyright: Copyright (c) 2007, 2008 ITSC Ruegen 
13  @license: The BSD License 
14   
15  All rights reserved. This program and the accompanying materials are made 
16  available under the terms of the BSD license which accompanies 
17  this distribution, and is available at 
18  U{http://www.opensource.org/licenses/bsd-license.php} 
19  ''' 
20  import GSpeech 
21   
22  __uie__ = dict(kind='device') 
23   
24 -class EspeakSpeech(GSpeech.GSpeech):
25 ''' 26 Espeak via gnome-speech. 27 ''' 28 DEVICE_IID = 'OAFIID:GNOME_Speech_SynthesisDriver_Espeak:proto0.3' 29 USE_THREAD = False 30 # MW: momentary standard output role 31 ROLE = 'output'
32