I am using `**AVSpeechSynthesizer**`, the following is the code to pass text to `**AVSpeechSynthesizer**`. 

```
func speakOutText(_ textToRead:String ){
    let audioSession = AVAudioSession.sharedInstance()
    do {
        try audioSession.setCategory(AVAudioSessionCategoryPlayback)
        try audioSession.setMode(AVAudioSessionModeDefault)
        try audioSession.setActive(true, with: .notifyOthersOnDeactivation)
    } catch {
        print("audioSession properties weren't set because of an error.")
    }
    let speakUtterance = AVSpeechUtterance.init(string: textToRead);
    speakUtterance.voice  = AVSpeechSynthesisVoice(language: "en-IN")
    speakUtterance.pitchMultiplier = 1.2
    speakUtterance.rate   = 0.5
    speechSynthesizer.speak(speakUtterance)

}

```

It is speaking the text properly in a female voice. 

But if I change male voice in **settings -> Siri & Search -> Siri Voice -> Gender(Male)**. Again calling `speakOutText` method, it is speaking the text in female voice only, not in a male voice. 

**Can anyone please let me know the reason, why it is not changing to a male voice**?