I'm a little confused. It seems any phrase with a "\n" at the end is processed twice by the utterance processors? Should this happen?
I'm going to guard against this is my program, but here is a example:
Add a new utterance processor to the end of the list of the voice (voice.getUtteranceProcessors().add(new …))
then speak this string : "features but that was only because it had fled inwards.\n"
This is getting called twice in my copy of freetts. I'm going to open a new issue ok?
I can be that the phrase is broken into two Speakables, but the text that is in utterance.getSpeakable().getText() is the complete one (not only \n).
I see. It is broken into strings, and i do have to process every one if i want all the properties. Never mind this.
A small question related to this, utterance.isLast() refers to it being the last division like this, not something else right?
Opss, there is appears to be a bug after all. \n (or something else i don't know) does force another utterance but for both that and the previous isLast returns true!