Hi,
anyone know what the difference is and which one we should use?
CocosDension VS Sound Engine? whats the diff between them?
(5 posts) (3 voices)-
Posted 2 years ago #
-
I assume you mean PASoundMgr under the sound-engine directory. That is a positional audio sound engine, it allows you to place and move sounds in a 3 dimensional space. CocosDenshion is an audio library. The equivalent of PASoundMgr is CDSoundEngine which is a non positional audio sound engine, it just uses a simple panning model with left and right channels. CocosDenshion also includes audio managers like CDAudioManager and SimpleAudioEngine that take care of things like managing your audio session when it is interrupted.
CocosDenshion has a more restrictive license than PASoundMgr. If you use it then you must credit cocos2d and if you have lots of money (or the person you are working for does) you must donate to cocos2d. PASoundMgr support Ogg Vorbis files and CocosDenshion does not.
We can't tell you which one to use without knowing your requirements but if you are a beginner then you should probably look at the SimpleAudioEngine that is part of CocosDenshion. Look in the Wiki for more info about CocosDenshion.
Posted 2 years ago # -
Thanks for the reply, it helps me out. I've been playing with both and i dont mind either one for what i am doing right now.
Posted 2 years ago # -
So is the SimpleAudioEngine capable of Left/Right panning?
Posted 1 year ago # -
To answer my own question, yes. SimpleAudioEngine still has access to gain, pan, and pitch controls. I found the answer that I was looking for in the following link:
http://www.cocos2d-iphone.org/api-ref/0.8.1/interface_simple_audio_engine.htmlPosted 1 year ago #
Reply
You must log in to post.