.CAF VS .OGG (Test)

gamedivisiongamedivision Member Posts: 807
edited November -1 in Working with GS (Mac)
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.

Comments

  • old_kipperold_kipper Member Posts: 1,420
    You are a top geezer. Stuff like this should be sticky. Thanks for the sharing.

    cheers kipper
  • gamedivisiongamedivision Member Posts: 807
    gamedivisionuk said:
    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.

    sorry about the way this is displaying when i created the post it looked good but soon as i posted it its messed it all up,anyway ive added .ogg and .caf beside each result
  • SparkyidrSparkyidr Member Posts: 2,033
    I think there was a discussion about this aaaaaaaaaages ago. Back when initial loading times were about 15-20 seconds.

    I have used .caf before but have got out of the habit of doing it.. looks like I should go back to it :)
  • gamedivisiongamedivision Member Posts: 807
    Sparkyidr here is the original post i think.
    http://gamesalad.com/forums/topic.php?id=4141
  • TheGamerTheGamer Member Posts: 94
    Awsome man, thanks for the advice.
  • HoneyTribeStudiosHoneyTribeStudios Member Posts: 1,792
    Thanks for posting!

    Definitely good to know - Helps to decide if you want to prioritise loading times and RAM usage or package size.

    Cheers
  • POMPOM Member Posts: 2,599
    I know its a bit old but this is very relevant! why isnt this sticky ?
    @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.
Sign In or Register to comment.