/ofxCocosDenshion

iOS Music and Sound Engine for Games in C++ - openFrameworks

Primary LanguageObjective-C

ofxCocosDenshion

Screenshot

Wrapper Class for Cocoas Denshion Sound Player to be used within openFrameWorks.

This currently will work with iOS Projects.

I found that the default AVSoundPlayer while great for single audio files being played, it really started to lag when playing multiple sounds all the time (say in a game environment), or you happen to call play on a sound effect for example. This was making the games drop about 10-25 FPS intermidently when playing sound.

Working in live iOS Projects:

Freddy's Pass Off: https://itunes.apple.com/au/app/freddys-pass-off/id661017191?mt=8&uo=4&at=11lbfe

Where to checkout?

For openframeworks:

Checkout in the addons folder like addons/ofxCocosDenshion

================================================================================

How to Add addon to existing project in Xcode?

Add the following Folders to your project from your addons directory.

  • addons/ofxCocosDenshion/src
  • addons/ofxCocosDenshion/libs

Documentation on Cocos Denshion

See: http://www.cocos2d-iphone.org/wiki/doku.php/cocosdenshion:faq