Reply To: NeatSpeech) Speech is interrupted(text of the long sentences, no punctuation)

Home Forums OpenEars plugins NeatSpeech) Speech is interrupted(text of the long sentences, no punctuation) Reply To: NeatSpeech) Speech is interrupted(text of the long sentences, no punctuation)

#1015682
hitoshi
Participant

Hi, Halle.

I gave an extreme example. I know that this case is very rare on the real text.
However, I have ever heard the sentence that was interrupted on our app with NeatSpeech.
(Sorry, I do not remember whether it was what kind of sentence.
It was certain that I made the app speak most slowly.)

Our application deals with a variety of text datas.
It is too difficult to determine the point at which to set the punctuations.

If I set a lot of punctuations for a rainy day(=when it was set to speed=-1.0f),
the engine would unnatural speech in the normal speed.
And yet, I am anxious lest the speech is interrupted.

I suggest the following;
Would you like to provide new methods split “sayWithNeatSpeech:withVoice:” ?
e.g.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[FliteController Class]
-(void)makeSayWithNeatSpeech:(NSString *)statement withVoice:(NeatSpeechVoice *)voiceToUse;
…This is the function of only the creation of the speech data. It does not start the speech.

-(BOOL)sayQueue;
…Say the sentence made on “makeSayWithNeatSpeech:withVoice:”.
If the engine have not created yet, it return No.

[OpenEarsEventsObserverDelegate Protocol]
-(void)fliteDidMakeSpeaking:(BOOL)result;
…This is the notification of “The engine created speech data.”.
If there is a problem with the data created, result = No.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Another benefit of this proposal is also available.
Under present conditions, when we called “sayWithNeatSpeech:withVoice:”,
we need to wait just a moment to begin speech.

If we can create the speech data in advance, at the timing when the user taps the play button
we can play immediately speech data.

Your kind consideration of this matter would be sincerely appreciated.
Best regards,
Hitoshi

P.S.
I’m afraid my expressions may be rude or hard to read, because I’m not so good at English.
I will try hard to learn English.