Hi everyone,
Is there any way to have AVSpeechSynthesizer say an utterance at regular intervals regardless of the content of what's being said?
Things I have already tried:
The problem with #1 is that if I break up the chunks of the sentence into different utterances, then the Speech Synth automatically puts in pauses and it does not flow smoothly:
I'd like to say "Up a two up a two down a two up two" in a very smooth flowing manner. I could break up each "Up/Down a #" into its own utterance and submit them at my own timed intervals, but then there are noticeable breaks in between because it's a new utterance.
What I need is some punctuation that I could inject mid-utterance that would make AVSpeechSynth take some time. I mean hair-fraction of a second because "Up" takes shorter time to say than "Down."
So when I try to speech-synth "down a two down a two down a two up a two down a two" then the one "up a two" takes about 2/3rds the time "down a two" takes and creates a very jarring rhythm to the line.
Any tips? It's frustrating because I know AVSpeechSynthesizer was never meant to be used in this manner.
Thanks
keehun
Is there any way to have AVSpeechSynthesizer say an utterance at regular intervals regardless of the content of what's being said?
Things I have already tried:
- Scheduling my own timer (NSTimer, gcd, etc) to queue an utterance into an empty queue so it would be spoken immediately at that time
- Toying with pre/post utterance delay to time it
The problem with #1 is that if I break up the chunks of the sentence into different utterances, then the Speech Synth automatically puts in pauses and it does not flow smoothly:
I'd like to say "Up a two up a two down a two up two" in a very smooth flowing manner. I could break up each "Up/Down a #" into its own utterance and submit them at my own timed intervals, but then there are noticeable breaks in between because it's a new utterance.
What I need is some punctuation that I could inject mid-utterance that would make AVSpeechSynth take some time. I mean hair-fraction of a second because "Up" takes shorter time to say than "Down."
So when I try to speech-synth "down a two down a two down a two up a two down a two" then the one "up a two" takes about 2/3rds the time "down a two" takes and creates a very jarring rhythm to the line.
Any tips? It's frustrating because I know AVSpeechSynthesizer was never meant to be used in this manner.
Thanks
keehun