Is there any way to read the microphone buffer? Actually in B4A I use the AudioStreamer (I get the buffer content with the RecordBuffer event and there is no need to save the data on a file)
Hi Erel, thank you for you reply! I've got to port to iOS an app that uses the mic data in real time ... write and read on a file I think it will come out to be too slow .. I've got less than 10 milliseconds to read the data, process it (heavy calculations with FFT and some digital filters) , and display the info on a graph... Any way out? Any way to to use the audiounit iOS API from B4i? Maybe using an objective-c class with nativeobject?
Thaks Erel ... When I start the porting I'll try to write the mic buffer to a temporary file ... I'll try to record a PCM file from the mic for some milliseconds (using audiorecorder in imedia library and a timer ) and then read it using the OpenInput inputstream (by the way, are PCM bytes saved in littleEndian or bigEndian ?) and process it ...
Hi @tigrot .... sorry for the delay ... I've been busy ... my requirement is to read the audio buffer in the same way that is possible in Android with the AudioStreamer library ...
Hi Daniel69, I'm busy at this time with one finalised project and one going alive in a few days. Audio for Iphone is not a priority for me at present. Maybe in late summer...