Revision 2a6db5bb
| server/include/ROS/SpeechCallbackWrapperROS.h | ||
|---|---|---|
| 55 | 55 |
|
| 56 | 56 |
// send to application: |
| 57 | 57 |
text = "<maryxml version=\"0.4\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" " |
| 58 |
"xmlns=\"http://mary.dfki.de/2002/MaryXML\" xml:lang=\"en_US\">" +
|
|
| 58 |
"xmlns=\"http://mary.dfki.de/2002/MaryXML\" xml:lang=\"de\">" +
|
|
| 59 | 59 |
text + "</maryxml>"; |
| 60 | 60 |
mw->speak_callback(text); |
| 61 | 61 |
|
| tts_bridge/mary/mary_tts_bridge/MaryTTSBridge.py | ||
|---|---|---|
| 47 | 47 |
# _feedback = ttsActionFeedback() |
| 48 | 48 |
# _result = ttsActionResult() |
| 49 | 49 |
|
| 50 |
def __init__(self, topic, voice="cmu-slt-hsmm", locale="en_GB", tts_host="127.0.0.1", tts_port=59125, loglevel=logging.WARNING):
|
|
| 50 |
def __init__(self, topic, voice="bits1-hsmm", locale="de", tts_host="127.0.0.1", tts_port=59125, loglevel=logging.WARNING):
|
|
| 51 | 51 |
"""initialise |
| 52 | 52 |
:param loglevel: optional log level |
| 53 | 53 |
""" |
| tts_bridge/mary/mary_tts_bridge/MaryTTSClient.py | ||
|---|---|---|
| 40 | 40 |
|
| 41 | 41 |
|
| 42 | 42 |
class MaryTTSClient: |
| 43 |
def __init__(self, voice="cmu-slt-hsmm", locale="en_US", tts_host="127.0.0.1", tts_port=59125, loglevel=logging.WARNING):
|
|
| 43 |
def __init__(self, voice="bits1-hsmm", locale="de", tts_host="127.0.0.1", tts_port=59125, loglevel=logging.WARNING):
|
|
| 44 | 44 |
"""initialise |
| 45 | 45 |
:param loglevel: optional log level |
| 46 | 46 |
""" |
Also available in: Unified diff