aboutsummaryrefslogtreecommitdiff
path: root/backends/text-to-speech/linux
AgeCommit message (Collapse)Author
2019-09-01TTS: Use Common::Encoding for encoding conversion.Jaromir Wysoglad
2019-09-01TTS: Better documentation of TTSVoice.Jaromir Wysoglad
2019-09-01TTS: Rename LinuxTextToSpeechManager to SpeechDispatcherManagerJaromir Wysoglad
Add a new define for the SpeechDispatcherManager
2019-09-01TTS: Remove USE_PLATFORM_TTS definesJaromir Wysoglad
Use defined(USE_TTS) && defined(PLATFORM) instead
2019-09-01TTS: RefactoringJaromir Wysoglad
Refactoring as suggested by bluegr on github.
2019-09-01JANITORIAL: Remove some trailing whitespacesJaromir Wysoglad
2019-09-01TTS: Add proper speech queuing, update INT_NO_REP.Jaromir Wysoglad
Before I used SPD to queue messages and I had a copy of the queue, so I could requeue everything when resume is called(). But more control of the queue is needed, so I don't use the SPD's queue and instead start speeches from my queue one by one from another thread. INTERRUPT_NO_REPEAT now behaves as described in the documentation
2019-09-01TTS: Restart SPD if resume() fails.Jaromir Wysoglad
2019-09-01TTS: Implement our own queuing for linuxJaromir Wysoglad
It seems like, that at least some versions of speech-dispatcher aren't able to successfuly pause and resume. For me, when trying to pause, it still finishes the speech just being said instead of pausing it and then it puts it at the end of the speech queue with some speech-dispatcher internal commands added to it, which are also hearable. There is no way to find out where the speech ended when calling pause, so it is just stopped and when resume is called it is read from it's start again.
2019-09-01TTS: Add *_NO_REPEAT actionsJaromir Wysoglad
2019-09-01TTS: Fix pause() and resume() on linuxJaromir Wysoglad
2019-09-01TTS: Make state switching faster on LinuxJaromir Wysoglad
2019-09-01TTS: Implement speech queueing on Linux and WinJaromir Wysoglad
2019-09-01TTS: Remove unneeded codeJaromir Wysoglad
Remove debuging outputs Remove commented iconv implementation of text conversion to UTF-8
2019-09-01TTS: RefactoringJaromir Wysoglad
* Delete multiple empty rows * Make getVolume non-virtual and leave just the implementation in base class * Resolve warning about signed / unsigned comparison in gui-manager * Clear availableVoices when updating voices on linux * By default set language to transMan language on windows (if the transMan is available) * Remove freeVoices method from Windows ttsMan, it isn't needed anymore
2019-09-01TTS: Add iconv implementation of strToUtf8Jaromir Wysoglad
This might be useful in the future, because SDL cannot convert from some important encodings (for example CP850)
2019-09-01TTS: Minor refactorisationsJaromir Wysoglad
- Add comment to tts initialization on Windows - Correctly free the voicesInfo in linux ttsMan - Remove popState method from linux-text-to-speech.h and windows-text-to-speech.h - Add tts to help in configure - Refactor language setting in gui-manager.cpp It counted with english being the default language in ttsMan constructors, which isn't true anymore.
2019-09-01TTS: Add check to getVoice, fix typo.Jaromir Wysoglad
Check if _availableVoices isn't empty. Replace availaible with available
2019-09-01TTS: Change String == "" to String.empty()Jaromir Wysoglad
2019-09-01TTS: Move popState to the base classJaromir Wysoglad
2019-09-01TTS: Implement conversion to UTF-8 in say on linuxJaromir Wysoglad
2019-09-01TTS: Add reference counting to TTSVoiceJaromir Wysoglad
Also refactor TTSVoice destruction to use this reference counting.
2019-09-01TTS: Make sure that TTS lang matches transMan langJaromir Wysoglad
2019-09-01TTS: Add age to TTSVoiceJaromir Wysoglad
2019-09-01TTS: Finish implementing the Windows TTS managerJaromir Wysoglad
2019-09-01TTS: Convert strings to UTF-8Jaromir Wysoglad
Conversion happens only for languages, that might needed (not for english)
2019-09-01TTS: Restart spd connection on speak error.Jaromir Wysoglad
2019-09-01TTS: Add warning if the TTS could not be initedJaromir Wysoglad
2019-09-01TTS: Restrict TTS on linux to only englishJaromir Wysoglad
Unfortunatedly the encoding used by ScummVM breaks the speech-dispatcher, so after trying to say non-ascii character the connection has to be restarted. So for now I am restricting the GUI TTS to english only.
2019-09-01TTS: Add voice selection to optionsJaromir Wysoglad
2019-09-01TTS: Add text to speech to the GUI.Jaromir Wysoglad
2019-09-01TTS: Add TTS checkbox to OptionsJaromir Wysoglad
Probably works only in the builtin theme right now.
2019-09-01TTS: Add ttsStatus push and pop functionsJaromir Wysoglad
2019-09-01TTS: Add checks for correct TTS engine state.Jaromir Wysoglad
2019-09-01TTS: Resolve segfault when exiting scummvmJaromir Wysoglad
2019-09-01TTS: Add part of linux TTSJaromir Wysoglad
2019-09-01TTS: Create a TTS skeletonJaromir Wysoglad