Home AppMobi Solves HTML5 Audio Problems, Accelerates Animation with directCanvas

AppMobi Solves HTML5 Audio Problems, Accelerates Animation with directCanvas

Mobile Web based games may have taken a big step towards the mainstream today. HTML5 development company appMobi benchmarked its new directCanvas to accelerate graphics and found that on average, iOS devices performed at least 10-times better than before.

AppMobi may have also figured out how to deal with the HTML5 sound problem. One of the biggest headaches with the HTML5 spec is that it can only play one sound at a time. AppMobi is now talking a “multi-channel sound” approach that will give developers the chance to layer sounds on top of each other for a more dynamic audio experience. See the results of the tests below.

AppMobi used ImpactJS and Box2D created two identical apps to use HTML5 and JavaScript to simulate an animated game with certain numbers of on-screen entities. One app uses the standard HTML5 Canvas while the other uses directCanvas. Frame rate was then tested by how many redraws there were per second. The results of this test are not absolute but do show the trend of how each Canvas solution performs.

The company claims it is seeing acceleration rates between 728% and 1525% on the spectrum of iDevices from the 3GS to the iPhone 4S running the mobiUs browser extension. The iPhone 4S without directCanvas running 50 entities on the screen ran at three frames per second. With directCanvas it ran at 38 frames per second. Those numbers were pretty standard across the iDevice spectrum. See the chart below.

The test apps had a maximum of 40 frames per second. Each test was run with no other apps running or background tasks. See the company’s blog post for full results.

While the acceleration of graphics within games will be an important innovation in HTML5 development, perhaps the more important aspect here is the ability to run multiple sounds at once through directCanvas. This should help game developers create sounds that are synced with game events but the uses for HTML5 layered sound go way beyond the needs and wants of game developers.

What do you think of appMobi’s breakthroughs? Do you trust the numbers the company has come up with? What would you change about the conditions of the test? Let us know in the comments.

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the tech industry for major developments, new product launches, AI breakthroughs, video game releases and other newsworthy events. Editors assign relevant stories to staff writers or freelance contributors with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest tech headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Tech News

    Explore the latest in tech with our Tech News. We cut through the noise for concise, relevant updates, keeping you informed about the rapidly evolving tech landscape with curated content that separates signal from noise.

    In-Depth Tech Stories

    Explore tech impact in In-Depth Stories. Narrative data journalism offers comprehensive analyses, revealing stories behind data. Understand industry trends for a deeper perspective on tech's intricate relationships with society.

    Expert Reviews

    Empower decisions with Expert Reviews, merging industry expertise and insightful analysis. Delve into tech intricacies, get the best deals, and stay ahead with our trustworthy guide to navigating the ever-changing tech market.