blob: eec7eae4f0c8c91f0d081686dba1e694619969fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#pragma once
#include <vector>
class TextToSpeech;
class SpeechInterface
{
public:
SpeechInterface();
~SpeechInterface();
//--------------------------------------------------------------------------
// Description : create the text to speech object
// Parameters : engine - the name of the engine to create
// Returns : an instance of the text to speech engine
//--------------------------------------------------------------------------
TextToSpeech * createTts(std::wstring &engine) const;
//--------------------------------------------------------------------------
// Description : configure the tts object
// Parameters : tts - the tts object to configure
// desc - the description of the voice
//--------------------------------------------------------------------------
void configureTts(TextToSpeech *tts, const VoiceDesc &desc) const;
//--------------------------------------------------------------------------
// Description : create a vector of available engines
//--------------------------------------------------------------------------
std::vector<std::wstring> getAvailableEngines();
};
|