hi, i am using the Speech framework and it works fine.
(import Speech,import AVFoundation)
I stop it with these instructions:
audioEngine.stop ()
request.endAudio ()
recognitionTask? .CANCEL ()
audioEngine.inputNode.removeTap (onBus: 0).
Then I use these instructions, but the audio is very low almost non-existent.
let string1 = "welcome"
let utterance1 = AVSpeechUtterance (string: string1)
utterance1.voice = AVSpeechSynthesisVoice (language: "it-IT")
let synth1 = AVSpeechSynthesizer ()
synth1.speak (utterance1)
Could you please help me ?
Thank you very much
Massimo Senatore
Firenze Web Division
Italy