I am currently working on a game where I need to be able to record and analyze sound. I basically need to analyze the sound from the phones microphone in (close to) real time and visualize this. It is similar to this question, only I want to do it using cocos2dx if possible.
The task I want to perform is similar to what is discussed this post: Capturing Sound for Analysis and Visualizing Frequencies in Android , the difference being I want to use cocos2dx for the visualization.
My question is firstly: is there some way in which cocos2dx supports audio recording. I've searched a bit, but haven't managed to find anything useful. Secondly, if not, how can I link the Java/Obj C platform specific sound recording to the drawing/user interaction done in the cocos2dx c++ code.
Any suggestions or examples of similar apps would be greatly appreciated.