Own audio library with Unity iPhone

Hello!
We are thinking about porting our PSP music game to iPhone.
The video part can be easily ported with Unity but for sound we are using special high level layer. This is C code, so can we use custom code with Unity somehow?
Or we need sources for this?
What about special own audio output with latence compensation?

Please advice,
Alex

From latest information, FMOD coming to iPhone, so is it possible to use FMOD for audio and Unity for the rest?

One more question - does microphone input supported on Unity? I looked into documentation of Unity Trial and seems its absent?

Sorry for the lack of a reply so far…

Video support on the iPhone
Please note that we do not currently support video textures on the iPhone. We do plan on adding video texture support in a future update*.

Adding your own C/C++/Objective C code
In this initial release there are some minimal capabilities to add your own custom code to the XCode project to modify your application. In a future update* we definitely want to expose more support and let you add your own code and expose custom scripting APIs for this sort of purpose.

*Above I referenced a “future update”, I do not have a time line to offer you at this point but they’re somewhat high priority items that we’d like to get in sooner as opposed to later.

FMOD in Unity?
We’ve stated that we’re interested in switching to FMOD in the future but that’s only been rough and vague guidance for now, we really don’t have anything specific to share as to when that might happen.

Microphone Input
I don’t know if this is iPhone specific or not but we don’t have built in microphone support in any case. FWIW, the trial documentation you have doesn’t include any iPhone related material. Once I hit submit here I’ll be replying to your email to me to set you up with an iPhone trial so you can play around with that functionality and poke around the iPhone related docs.

Mic is strictly iPhone
as the iTouch is not meant for communication, they cut that part. The original iTouch does not even have speakers

Also 2nd generation iPod Touch. (Not built-in though.)

–Eric

I can confirm that the 2nd generation iPod touch does support a microphone input. It has not built in mic but can use the iPhone headset which includes a microphone.

Tom, can you point me to the docs for this?

OK

thought 1st generation definitely does not. As iTouch has no rumble

No, not really, sorry. The problem is that it’s in a state of flux at the moment and so the call was made to not document it for now and instead focus on a proper implementation in a future update that will then get documented. Sub-optimal but it’s the answer I have for now…

HiggyB - While that may not be the answer everyone wanted to hear, I give you full credit for coming back quickly with a straight forward answer.

Hello.
Is there any update on integration of FMOD for Unity3D and Unity iPhone at all?

ty!

I have been able to get microphone input working by customizing the Xcode project created during Unity builds. You could also embed your own audio code, if you wanted to, but triggering audio changes to your native code from the Unity engine might be tricky in the current release of Unity.

Ping me via IM if you have any questions.

No, nothing to discuss publicly as in it’s not a part of the Unity Roadmap (2.5.1/2.6/2.x) nor the Unity iPhone Roadmap (1.0.2/1.1/1.x). A wholesale change of audio engine will be a significant undertaking and is really more likely to appear in a new major release (no commitments there so do not read that as “oh yeah, it’s coming in 3.0 for sure!”).

Thanks for the info.

http://forum.unity3d.com/viewtopic.php?p=160825#160825
An alternative engine that looks even better for web.mobile deployment and possible integration with Unity is CADI http://www.somaengineering.com/
Small footprint, and looks like it has more then enough functionality/features to turbo charge some audio.music apps.

ty!

CADI looks interesting but I couldn’t find any license information.

I emailed them, no reply as yet.