これをテストする米国の開発者の友人はいませんが、役立つコミュニティ全体を知っていることに気付きました. :)
だから私の質問は - 米国の iPhone には AVSpeechSynthesizer の英国の声がありますか、それともシミュレーターのように単調なドローンを再生しますか?
これをテストするコードは次のとおりです。
#import <AVFoundation/AVFoundation.h>
AVSpeechSynthesizer *synthesizer = [[AVSpeechSynthesizer alloc] init];
AVSpeechUtterance *speechUtterance = [AVSpeechUtterance speechUtteranceWithString:@"This is something really special that a speech system could read out. You might find that I'm talking with quite an intelligent english accent. I hope I don't just sound robotic."];
speechUtterance.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-gb"];
speechUtterance.rate = 0.20;
[synthesizer speakUtterance:speechUtterance];
一方で、すべての言語をサポートして出荷されることは理にかなっています。一方、私はテキスト読み上げの音声がどれだけ大きなものになるかを知っているので、母国語のみを含めることも理にかなっており、米国では英国の音声が含まれていない可能性があります.
私自身のテストでは、言語を@"en-au"
(オーストラリアの場合) などに変更すると、私のデバイスでも適切に聞こえます。