summaryrefslogtreecommitdiff
path: root/utils/rbutilqt/base/ttsespeak.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/rbutilqt/base/ttsespeak.h')
-rw-r--r--utils/rbutilqt/base/ttsespeak.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/utils/rbutilqt/base/ttsespeak.h b/utils/rbutilqt/base/ttsespeak.h
new file mode 100644
index 0000000000..afe19fbdac
--- /dev/null
+++ b/utils/rbutilqt/base/ttsespeak.h
@@ -0,0 +1,42 @@
1/***************************************************************************
2* __________ __ ___.
3* Open \______ \ ____ ____ | | _\_ |__ _______ ___
4* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7* \/ \/ \/ \/ \/
8*
9* Copyright (C) 2012 by Dominik Riebeling
10*
11* This program is free software; you can redistribute it and/or
12* modify it under the terms of the GNU General Public License
13* as published by the Free Software Foundation; either version 2
14* of the License, or (at your option) any later version.
15*
16* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17* KIND, either express or implied.
18*
19****************************************************************************/
20
21#ifndef TTSESPEAK_H
22#define TTSESPEAK_H
23
24#include <QtCore>
25#include "ttsexes.h"
26
27class TTSEspeak : public TTSExes
28{
29 Q_OBJECT
30 public:
31 TTSEspeak(QObject* parent=nullptr) : TTSExes(parent)
32 {
33 m_name = "espeak";
34
35 /* default to espeak */
36 m_TTSTemplate = "\"%exe\" %options -w \"%wavfile\" -- \"%text\"";
37 m_TTSSpeakTemplate = "\"%exe\" %options -- \"%text\"";
38 m_capabilities = TTSBase::CanSpeak;
39 }
40};
41
42#endif