I am trying to add a Siri like button to a game I am working on. I am using AVSpeech Synthesiser and I am trying to create an animation that will move with the speech output volume.
I don't see a method to get the volume output of AVAudiosynthesiser. Is there a way to get it via another framework?
An easy solution might be to show some visuals by registering an AVSpeechSynthesizerDelegate
and listening for calls to speechSynthesizer:willSpeakRangeOfSpeechString:utterance: