AVSpeechSynthesizer and IOS Text-To-Speech Pronunciation Differences

Using AVSpeechsynthesizer with en-us voice. For some reason, words like "a" will be pronounced "ah" in my app, but when I use the "speak" sound button in the iphone app (like text messages) it says "a" like in " aye ". Other small differences include the AVSpeechsynthesizer pronouncing "A" as "Capital A" and the "speak" button pronouncing "A" as "Aye".

Does anyone have any idea why sitizers pronounce it differently? Ideally, I would like to use TTS to pronounce things exactly like an iOS voiceover.

+3


source to share


1 answer


    AVSpeechSynthesizer *synthesizerForLangauge = [[AVSpeechSynthesizer alloc]init];
    AVSpeechUtterance *objAVSpeechUtterance = [AVSpeechUtterance speechUtteranceWithString:@"शुक्र"];
    [objAVSpeechUtterance setRate:0.4f];
    objAVSpeechUtterance.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"hi-IN"];

    [synthesizerForLangauge speakUtterance:objAVSpeechUtterance];

      



0


source







All Articles