解決策:それはありませんUS male voice
私はのために使用AVSpeechSynthesizer
framework
しましたiOS7.0
AVSpeechUtterance *utt = [AVSpeechUtterance speechUtteranceWithString:@"Hello"];
if (isMale) //flag for male or female voice selected
{
// need US male voice as en-US is providing only US female voice
utt.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-GB"]; //UK male voice
}
else
{
utt.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-US"]; //US female voice
}
US male voice
の代わりに使用する必要がありmale UK voice
ます。