Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: Tricky_Widget on May 04, 2015, 08:40:26 AM

Title: Android Native Audio
Post by: Tricky_Widget on May 04, 2015, 08:40:26 AM
(http://christophercreates.com/androidnativeaudio/logo.png)

Unity Asset Store: Android Native Audio (http://u3d.as/fwK)

Unity's audio system is powerful, but on Android that power sometimes comes at a cost: latency! If you're finding a delay between when you expect a sound and when you hear it, Android Native Audio (ANA) can help.

ANA provides easy access to the native Android audio system for low-latency audio playback. You can play native audio with as few as three lines of code! ANA also features the complete range of audio controls offered by Android and detailed debug logging.

"Works perfectly, and it’s exactly what I needed – thanks Christopher! My whole game now works almost as fluent as on the iPhone"


New in 2.0
Introducing ANA Music! You can now play long tracks, great for rhythm games. You can even play music with the app in the background!

Also new is loading callbacks. Know exactly what has loaded and when.

Test the difference on your device right now!
Download ANA Test (http://christophercreates.com/androidnativeaudio/Android%20Native%20Audio.apk)
Test the difference on your device right now!
Download ANA Music Test (http://christophercreates.com/androidnativeaudio/ANA%20Music.apk)

Includes split application binary support. ANA will automatically find and load your sound files from either the APK or an OBB.

Includes demo scenes and complete documentation.
Download ANA Manual (http://christophercreates.com/androidnativeaudio/Android%20Native%20Audio.pdf)
Download ANA Music Manual (http://christophercreates.com/androidnativeaudio/ANA%20Music.pdf)

ANA also includes a full set of PlayMaker actions and a demo scene. Adding low-latency audio to your PM project is a snap!

Note that ANA bypasses the Unity audio system entirely, so it cannot use Unity features such as filters or 3D and will not work with other audio assets such as Master Audio.

Also note that audio latency can have many contributing factors, including hardware and Android itself. ANA only removes most of the latency generated by Unity. This will be different on every device. Use the test APKs above to check the reduction on specific devices.

If you have any questions, just drop me a line!
support@ChristopherCreates.com

Unity Asset Store: Android Native Audio (http://u3d.as/fwK)
Title: Re: New Asset: Android Native Audio, with full PM support!
Post by: Tricky_Widget on June 15, 2015, 04:46:06 PM
Updated to 1.1

Now with split application binary support!  Automatically finds and loads audio from APKs or OBBs.

I also added a non-Android default AudioSource to the PM Play action for easy multi-platform support.
Title: Re: Android Native Audio
Post by: Tricky_Widget on February 19, 2016, 03:22:49 PM
Version 1.2 adds an option to load audio files from Application.persistentDataPath

Version 1.3 adds inline documentation in MonoDevelop or Visual Studio

:)
Title: Re: Android Native Audio
Post by: PlaymakerNOOB on April 08, 2016, 08:33:22 AM
This tool is pretty neat.  I have started to notice I have this issue in some circumstances.

If I cant seem to solve it, for sure it'll be buying this asset.
Title: Re: Android Native Audio
Post by: Tricky_Widget on June 09, 2016, 07:31:14 AM
New in 2.0
Introducing ANA Music (http://christophercreates.com/androidnativeaudio/ANA%20Music.pdf)! You can now play long tracks, great for rhythm games. You can even play music with the app in the background!

Also new is loading callbacks. Know exactly what has loaded and when.

Unity Asset Store: Android Native Audio (http://u3d.as/fwK)