Hi
I have an iPhone app which uses the microphone and would like to take that game mechanic into a Unity developed app. I’m still evaluating it and only have the Unity trial, hoping to jump into an iPhone trial version soon. Does the Unity iPhone audio engine allow for the recording of audio, or is this something that can only be achieved with the AudioQueue + Objective-C?
cheers
zib
you will have to write the corresponding code outside of unity and find ways to communicate from unity with your own code.
The common way is through the NSUserDefaults and on the unity end then PlayerPrefs to send in and out state variables.
Thanks, what’s the performance of like that if I’m trying to push audio real-time through NSUserDefaults? Perhaps with Unity Advanced I can write a plug-in of some sort?
I don’t know if audio recorde is through dedicated hardware or CPU.
If it is cpu thought you will lose a considerable amount of performance.
You can not push any audio through it. You will have to stream it in.
Unity iPhone Advance has no plugin / objc to script interfacing yet. The later was mentioned to happen.
Bliprobs iphone enhancement pack was mentioned that it go audio streaming. that might be a starting point.