Hi all,
I am just looking for some general direction here, is it possible to process incoming audio - lets say for text to speech / pitch recognition / any other type of audio analysis as the data comes in?
My first thought is to look at AVFoundation - looking around there are many objective c examples to run with as it relates to capturing audio and detecting silence (both of which are needed for above examples and more).
Just wondering if there is a better approach or if I am just missing some built-in functionality that omz has already provided.
In the end, I want to enable listening, process the audio through a callback or something, and - auto stop after # seconds of silence to prevent battery drain and/or resource over utilization.
I imagine the text to speech would be quite difficult to implement assuming I am capturing audio without a finite end, TBH that is just an example and a far fetched idea of voice commands in an app, and not my first goal.
Im off to give it a shot; i'll post whatever I have working or not once I get somewhere.
Any advice would be grand, I've already found some great examples in this forum of most of what i need to get started.