cordova-plugin-speechrecognition
cordova-plugin-speechrecognition copied to clipboard
Fix get languages available for Oreo
An issue was opened here : https://issuetracker.google.com/issues/73044965
ing *str = @"Hello friend, how are you?";
AVSpeechSynthesizer *synthesizer = [[AVSpeechSynthesizer alloc]init];
AVSpeechUtterance *speechutt = [AVSpeechUtterance speechUtteranceWithString:strtext]; speechutt.volume=90.0f; speechutt.rate=0.50f; speechutt.pitchMultiplier=0.80f; [speechutt setRate:0.3f]; speechutt.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-us"]; [synthesizer speakUtterance:speechutt];