Best low latency API for iOS Music Game? OpenAL, Cocoas2d Denshion, PhoneGap

I’m doing some research on the best way to program a music game for iOS like Tap Tap Revenge, Guitar Hero, Rock Band, etc. Portability is a plus.

This video explains that Open AL has some great ways to process sounds, play multiple sounds at once, and recycle memory. I also came across Cocoas2d Denshion for low latency audio processing.

This article says that HTML5 is terrible for sound reproduction, especially polyphony. He continues to argue that the Phonegap Media class works beautifully, and with the help of a native plug-in model, you can create a low-latency solution using Phonegap

If you would choose an API that you would choose to create a game with low latency and why? If you have a different suggestion than those mentioned, please describe and why. Thank.

+5
source share
4 answers

When configured with an audio session requesting very short buffers, the RemoteIO audio device will allow you to use the lowest latency on current iOS devices. OpenAL is built on top of it.

+1
source

There are ways to fix HTML5 latency, as described here and here . I suggest you try them on your phone and see if they respond enough. If not, Novocaine is probably the best choice.

0
source

PhoneGap, Andy Trice Low Latency Audio Plugin .

0
source

Wedge.js is what I saw in Hacker News today, maybe it will help you

http://www.boxuk.com/labs/wedge-js

0
source

All Articles