Skip to content

Instantly share code, notes, and snippets.

@myrickchow32
Created January 21, 2019 15:14
Show Gist options
  • Save myrickchow32/db836795635618f85a29302607f6a009 to your computer and use it in GitHub Desktop.
Save myrickchow32/db836795635618f85a29302607f6a009 to your computer and use it in GitHub Desktop.
let utterance = AVSpeechUtterance(string: "Hello world")
utterance.volume = 0.5 // Range: 0.0 - 1.0 ; A relative volume to the device volume
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment