.CAF VS .OGG (Test)
So in my search for ultimate optimisation i've spent the last 6hrs or so trying to prove whether in actual fact .caf is better to use than .ogg sound files.so i created 2 of the same games one with .OGG SFX,and the other with .CAF SFX.
So i downloaded the program from here http://sbooth.org/Max/ for free inported all my sound fx into it and converted them to .caf. Sounds great, but what had taken the time was when i imported all the files back into my project it didnt recognise them so i had to re apply every sound effect in each actor with 70 plus sound effects it took along time,but then found out if id right click open package content and just dragged all the files over i wouldnt have had to spend 6 hours re applying the sfx to each actor.. ha ha you learn by your mistakes.
So the test....
.CAF .OGG
Game Size. .caf 36mb .ogg 24mb
loading times from start screen to world select. .caf 4.5s .ogg 5.4s
Ram usage for above .caf 51mb .ogg 55mb
loading times from world select to level select. .caf 2.5s .ogg 3s
Ram usage for above .caf 37.6mb .ogg 41mb
loading times from level select to start game. .caf 6.5s .ogg 8s
Ram usage for above .caf 56mb .ogg 61mb
I was amazed by these results that audio with a greater size can reduce loading times not just loading times but ram usage as well .so i thought id share my findings with the GS community.
So i downloaded the program from here http://sbooth.org/Max/ for free inported all my sound fx into it and converted them to .caf. Sounds great, but what had taken the time was when i imported all the files back into my project it didnt recognise them so i had to re apply every sound effect in each actor with 70 plus sound effects it took along time,but then found out if id right click open package content and just dragged all the files over i wouldnt have had to spend 6 hours re applying the sfx to each actor.. ha ha you learn by your mistakes.
So the test....
.CAF .OGG
Game Size. .caf 36mb .ogg 24mb
loading times from start screen to world select. .caf 4.5s .ogg 5.4s
Ram usage for above .caf 51mb .ogg 55mb
loading times from world select to level select. .caf 2.5s .ogg 3s
Ram usage for above .caf 37.6mb .ogg 41mb
loading times from level select to start game. .caf 6.5s .ogg 8s
Ram usage for above .caf 56mb .ogg 61mb
I was amazed by these results that audio with a greater size can reduce loading times not just loading times but ram usage as well .so i thought id share my findings with the GS community.
Comments
cheers kipper
I have used .caf before but have got out of the habit of doing it.. looks like I should go back to it
http://gamesalad.com/forums/topic.php?id=4141
Definitely good to know - Helps to decide if you want to prioritise loading times and RAM usage or package size.
Cheers
@gamedivisionuk
im having a problem , i converted all the SFX , and placed them in the sounds folder with the right names , i deleted the ogg files and i have only caf files now ,
opening the project , the files are there but i can't hear them.. i see inside the actors the Sound rule are fine with the names of the files , does it work also in the viewer? or should i make an adhoc?
or am i doing this all wrong? do i need to rename "caf" to "ogg" or something?
Edit:
Ok i figured out we need to use Caf - A_law , so GS can recognize it..
Roy.