AVSpeechSynthesizer stops at a hypen

Richard Bawden 1 Reputation point
2022-01-19T12:00:29.943+00:00

The following code displays the behaviour on Xamarin.iOS 15.4 running on iOS 15.2. It only displays the behaviour on a device, not on a simulator.

What am I missing to make the speech continue?

AVSpeechSynthesizer speechSynthesizer = new AVSpeechSynthesizer();
speechSynthesizer.DidFinishSpeechUtterance += (s, e) => { };
var utterance = new AVSpeechUtterance("bonjour porte-helecoptere");
utterance.Voice = AVSpeechSynthesisVoice.FromIdentifier("com.apple.ttsbundle.siri_Daniel_fr-FR_compact");

speechSynthesizer.SpeakUtterance(utterance);
Developer technologies | .NET | Xamarin
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.