• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.
Audiobundles: assetbundles for sounds

Guides Audiobundles: assetbundles for sounds

atani

Invaluable member
Wiki Contributor
Featured Contributor
Joined
Jan 15, 2021
Messages
3,436
Solutions
106
Reactions
3,176
atani submitted a new resource:

Audiobundles: assetbundles for sounds - How to create audiobundles


Audio assetbundles

I'll start with this topic because this is the one you might find strange, why turn audio files into assetbundles? This advice comes from MacGruber's comments when I was perusing the forum.
If you use audio files in a assetbundle, loading is almost immediate and - I haven't compared yet, sorry - might be much softer on available RAM...

Read more about this resource...
 
Thanks for your tutorial! Now I finally know how to pack my dialogs to an assetbunble.
But I have a further question: I don't understand why the file size became much lager after compressed in Audio Options (Step 3B).
For example as below screen shot: I selected the Decompress On Load and PCM format, the Information box shows the Ratio is 74.06% which means the Imported Size will be from 8.3MB to 6.1MB
1756204132149.png

However, after I clicked the 'Apply' button, the file size enlarged from 8.3MB to 36.1MB, of which the Ratio is 437.29% (as below screenshot)
1756204300229.png
 
I don't know much about the topic so I'm going to say my current understanding:
  • PCM is uncompressed, so perhaps everything is explained just on that point. "Decompress on load" is probably meaningless when chosing PCM
  • The first info box shows the current situation if you just pack as when imported and don't apply any changes (vorbis is default I think)
  • The second box is the result of changing your original file to PCM, which is uncompressed, and possibly you start with a compressed format like mp3 or ogg
On the guide there's a link to this page explaining a lot more:
 
I don't know much about the topic so I'm going to say my current understanding:
  • PCM is uncompressed, so perhaps everything is explained just on that point. "Decompress on load" is probably meaningless when chosing PCM
  • The first info box shows the current situation if you just pack as when imported and don't apply any changes (vorbis is default I think)
  • The second box is the result of changing your original file to PCM, which is uncompressed, and possibly you start with a compressed format like mp3 or ogg
On the guide there's a link to this page explaining a lot more:
Thank you for your kindly help. I've read the article and been aware of what impact those setting mean, I just curious why did the file size enlagred times original.
Anyway, I will try what actual impact of those different settings in practice.
Thank you again for your toturial, it did solve my trouble.
 
It's because you chose PCM.
Honestly, for speech lines using Vorbis will keep the size much smaller and the CPU cost and audio quality difference will be negligible, I would use that.
 
Back
Top Bottom