I am writing a TTS system, and am applying prosody changes through JSML. My classes implement Speakable, the XML is well formed, and there are no compiler errors however any additional tags are ignored by the synthesiser and the text spoken the same as if speakPlainText() were called instead.
a snippet of code is as follows:
//following text is what is returned by get JSMLText()
String text=("<jsml> <prosody rate=\"300\">Text at 300 words per minute</prosody> </jsml> ");
//code used to play the text
EngineList syns = Central.availableSynthesizers(null);
final SynthesizerModeDesc desc = (SynthesizerModeDesc) syns.elementAt(smde);
synDesc = desc;
synth = Central.createSynthesizer(synDesc);
synth.speak(new JSMLExample(), listener);
is anyone else having this problem? or is there something I am missing out of my code?