So I have this loop:
for (int i =0; i< ([rounds_words count]-1); i++){
[self.fliteController say:[rounds_words objectAtIndex:(i)] withVoice:self.slt];
}
Where array_o_words is an array of strings that I would like to use OpenEars' TtS engine flite to say.
I have followed the instructions on http://www.politepix.com/openears/#FliteController_Class_Reference but of course this just states that there can only be one instance. I have tried reseting fliteController = nil but this just prevents it from working at all.
Any advice to make the loop work?
OpenEars developer here. For the current implementation of FliteController you will get the desired results by speaking the NSString at the first index, waiting for the OpenEarsEventsObserver delegate method fliteDidFinishSpeaking to fire, speaking the NSString at the next index, etc.