Commit Graph
53 Commits
Author SHA1 Message Date
athrxx bd1dbecde9 TTS: (ENGINES) - add support for tts enable function
The new option only works as intended if the engine that have TTS support apply their own settings. It cannot be globally implemented before and after runGame(), since the engines don't all use the same config manager variables (sometimes "tts_enabled_speech", "tts_enabled" or "tts_narrator, sometimes more than one of these).
2022-04-26 21:08:41 +03:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Martin Gerhardy 9d82fa51df COMMON: removed USE_TTS check from engines
OSystem now just returns a nullptr if there is no text to speech manager instance
(because none is compiled into the binary, or the system doesn't provide support
for it). This removed the need for the engine authors to add scummvm osystem compile
time options checks into their engine code
2021-05-03 14:13:41 +03:00
Vladimir Serbinenko 68a9136e4d COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
Jaromir Wysoglad 990ab61793 MORTEVIELLE: Improve voice mapping to characters.
* Return pitch -= 6 to females, this brings the pitch closer
    to zero
 * Add array of indices which ensures, that we use as many voices
    as we can.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad a1f69e6b06 MORTEVIELLE: Refactoring as suggested by Criezy
* Add checks if ttsMan != null before trying to use it
 * Simplify startSpeech
 * Move haut to startSpeech and pass the character index to
    the startSpeech instead.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad c7dbf192ef TTS: Remove unneeded code
Remove debuging outputs
Remove commented iconv implementation of text conversion to UTF-8
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad 2ecbf9ac18 MORTEVIELLE: Return old code to waitSpeech
The waitSpeech should use the old code, when just sound is playing
(the TTS isn't speaking).
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad c9ec089e61 MORTEVIELLE: Remove unneeded TTS code 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad d2b9b9ef21 MORTEVIELLE: Map characters to different voices 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad e04463b05a MORTEVIELLE: Add text to speech capability 2019-09-01 22:47:55 +03:00
Ori Avtalion 3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Thierry Crozat 8349559598 MORTEVIELLE: Fix loading of BRUITS file
This was broken in previous commit when adding support for versions
that do not have this file.
2015-09-08 08:48:50 +01:00
Strangerke ab612df338 MORTEVIELLE: Fix a couple of crashes occurring in the alternate DOS version 2015-09-08 07:43:30 +02:00
Johannes Schickel 9da7d86952 MORTEVIELLE: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Strangerke 2bc174a3d0 MORTEVIELLE: Janitorial - Remove trailing spaces 2014-02-16 18:24:19 +01:00
Strangerke 7e0bf95a31 MORTEVIELLE: Reduce the scope of some variables 2014-02-09 20:22:59 +01:00
Strangerke 8524a3a714 MORTEVIELLE: Add some missing variable initializations 2014-01-15 07:12:46 +01:00
Strangerke d19af62e6b MORTEVIELLE: Get rid of setParent() in TextHandler and SoundManager 2014-01-09 08:32:21 +01:00
Strangerke f979de547b MORTEVIELLE: Avoid a crash related to speech during the ending sequence of the German version 2013-08-19 20:42:47 +02:00
Strangerke cb0a0880a2 MORTEVIELLE: Fix shadowed variable. Thanks LordHoto for pointing out 2013-08-14 07:46:22 +02:00
Strangerke 3e75c5acc1 MORTEVIELLE: Wait for the end of sound in some more places 2013-08-13 07:54:08 +02:00
Strangerke 5e7e67beb9 MORTEVIELLE: Improve sound support 2013-08-12 08:17:10 +02:00
Strangerke 43b729cae8 MORTEVIELLE: Remove useless code 2013-08-11 19:13:21 +02:00
Strangerke 54f391a689 MORTEVIELLE: Merge SpeechManager and SoundManager 2013-08-11 18:09:40 +02:00
Strangerke f621297dc7 MORTEVIELLE: Get rid of the 640Kb _mem buffer 2013-08-11 17:16:30 +02:00
Strangerke 62e4945ec4 MORTEVIELLE: Fix warnings about converting from double to int 2013-08-11 15:08:13 +02:00
Strangerke 4ddf729c07 MORTEVIELLE: Remove some useless code and variables 2013-08-11 12:53:01 +02:00
Strangerke 17245005c3 MORTEVIELLE: Fix sound checks (thanks to fuzzie for pointing them out) 2013-08-11 12:40:53 +02:00
Strangerke e48515d402 MORTEVIELLE: Get rid of the PCSpeaker class 2013-08-11 11:45:53 +02:00
Strangerke b749c2115b MORTEVIELLE: Move the end of "sentence" to the main loop in order to fix the display 2013-08-11 11:40:16 +02:00
Strangerke 0c00a7fde8 MORTEVIELLE: Some refactoring in noise sound code 2013-08-10 21:56:21 +02:00
Strangerke 272740bb5c MORTEVIELLE: Handle sounds 2013-08-10 16:23:51 +02:00
Strangerke 673ea511ea MORTEVIELLE: some refactoring in ambiant sound code 2013-08-10 14:01:30 +02:00
Strangerke 62b6c333d5 MORTEVIELLE: Play ambiant sounds 2013-08-10 13:41:50 +02:00
Strangerke 7d6d7a7945 MORTEVIELLE: Use more accurate frequency for music 2013-08-09 18:37:17 +02:00
Strangerke 71a1d18b0c MORTEVIELLE: Fix flags in playSong(). Thanks clone2727 for telling about it 2013-08-05 00:40:47 +02:00
Strangerke 80cc1700a7 MORTEVIELLE: Fix leak in playSong, refactor it a bit 2013-08-05 00:13:57 +02:00
Thierry Crozat 7b517f7fd1 MORTEVIELLE: Improve looping of the intro song
Using a LoopingAudioStream gets rid of the pause between each loop
(and simplifies the code).
2013-08-04 12:59:34 +01:00
Thierry Crozat deef0b955c MORTEVIELLE: Fix crash in sound mixer when closing the engine
This was due to the _speakerHandle being reused between its
initialisation in the SoundManager constructor and the destructor
causing it to have a wrong value when trying (and failing) to stop
the PCSpeaker channel in the mixer before deleting the stream.
2013-08-04 12:56:15 +01:00
Strangerke fbb1137f94 MORTEVIELLE: Take shouldQuit() into account while a song is played 2013-08-04 10:49:06 +02:00
Strangerke c1f93815ee MORTEVIELLE: Compute real buffer size in order to avoid ticks at the end of the song 2013-08-04 10:46:10 +02:00
Strangerke 134532090b MORTEVIELLE: Implement music in intro screen 2013-08-04 10:39:34 +02:00
Strangerke 0ed03cb738 MORTEVIELLE: Get rid of magic value 0x5000 2013-07-20 18:59:49 +02:00
Strangerke 67f900ed33 MORTEVIELLE: Reorder includes 2013-07-19 11:51:10 +02:00
Strangerke c2610d66e1 MORTEVIELLE: Fix compilation of music code 2013-06-29 10:31:30 +02:00
Strangerke 1989cc9911 MORTEVIELLE: Replace g_vm in SoundManager 2013-06-26 01:06:22 +02:00
Strangerke b27b77b354 MORTEVIELLE: Modify copyright string to include 1987. 2012-04-06 08:24:07 +02:00
Strangerke cdea613e51 MORTEVIELLE: Remove trailing spaces 2012-04-06 08:23:56 +02:00
Strangerke 3a8a15e201 MORTEVIELLE: Some more cleanup, add alternate file names used by german and alternate french versions 2012-04-06 08:21:59 +02:00