mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-07 23:31:26 +00:00
Rework the 'Punctuation level' (now 'Speak punctuation') preference to include a custom punctuation list.
This commit is contained in:
@@ -241,6 +241,7 @@ public class TtsService extends TextToSpeechService {
|
||||
mEngine.PitchRange.setValue(settings.getPitchRange());
|
||||
mEngine.Volume.setValue(settings.getVolume());
|
||||
mEngine.Punctuation.setValue(settings.getPunctuationLevel());
|
||||
mEngine.setPunctuationCharacters(settings.getPunctuationCharacters());
|
||||
mEngine.synthesize(text, text.startsWith("<speak"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user