I am trying to send a large amount of texts to the TextToSpeech control and can't figure out why only the last sentence is being spoken from a list i made a List of sentences by splitting the text at the period . I'm using a for each loop on the list and sending the item to the texttospeech message.
The above block was a debug test to see if I'm looping correctly and I am.
It works great when sending each sentence with corosponding index to a textbox.
However, when I use the TextToSpeech Control, Only the last sentence is spoken. Why.?
I tried sending just the text from a textbox one at a time and still, just the last sentence was spoken.
In the above blocks, here are the results . i get the index and sentence perfectly but still only the last sentece is spoken throgh the TextToSpeech control. this is just a portion of the output. there was 148 entries total.
I take it that the condition to check if list is empty is in the after speaking block and is where i would then call the text to speak block with the index 1 of the list of sentences.
Of course, before i do the above i would remove the index 1 of the list then proceed of empty.