Audio assetbundle => Audiobundle
But why put audio files into assetbundles???
- Lightning fast loading
- Easy to reuse
Typical uses of audio in VaM scenes
- Speech for a story
- Moans and dirty talking in sexual activities
- Music and ambience
- Sound effects
If you want to use them on another scene of yours, you have to add them one by one to Scene Audio, set the appropriate triggers to each, another pain in the endless pains of scene making in VaM.
Do you want to change the sounds for a different group of similar sounds? Tough shit, you probably need to redo the above and create a copy of your scene.
Naturally, a few tiny sounds you only need to use in one scene are not worthwhile making to an audiobundle, but if scaling, reuse or in-scene loading is of interest, and audiobundle is what you want to use.
Ok, audio assetbundles load fast and scale well, that's nice, but how to make them?
First you need some audio files, then for the Unity part, MacGruber made things easy for you already. Follow MacGruber's guide on how to make assetbundles to install the right Unity version and some extra tools that make the process easier:

Unity AssetBundles for VaM 1.xx - Guides -
After some people essentially begged me to do it, I spend several evenings this week and the this entire Saturday on writing a tutorial on Unity AssetBundles. It ended up to be an 13 page PDF of 2700 words. Lots of pictures, obviously. This...

Audiobundle workflow, step-by-step:
The following expects you to have followed MacGruber's guide to install the correct Unity version and his extensions like VaMExporter. The screenshot on the right should be similar to your Unity look, or at least the same sections exist.
Note on folders: You don't have to include folders like the ones in the screenshot, you can just drag and drop files. The SoundfromAB brick has a feature to play files that are inside specific subfolders, not just from the entire assetbundle. It's your choice to use or not this feature. Using folders helps to extend the use of an audiobundle by playing only the files inside a specific folder, thus having different folder content for different needs. |
How to use an audiobundle?
There's a plugin that MacGruber created that will load and play audio assetbundles. This is in the Logicbricks VAR and the plugin is called SoundfromAB or RandomSoundfromAB. You can add it on a person, to use the HeadAudio receiver, or in some sound-related atom. Trigger the plugin and it plays.
I believe that by now other plugins exist that can play audiobundles, so make sure to check the Hub's plugins list for more options. There's also audiobundles being shared as resources.
Every day a new Text to Speech system pops up, or you get your files from another source, all this is done outside VaM and it's up to you to find what you want to have.
A tool like Audacity is very useful to edit your audio content, try to make your collections consistent and clear. The web is full of tips on how to improve audio.
A tool like Audacity is very useful to edit your audio content, try to make your collections consistent and clear. The web is full of tips on how to improve audio.
Shameful self-promotion area
In my scenes I make extensive use of audiobundles for intro animations, sex speech, ambience, music, and sfx, especially on my NEXT template-based scenes. Those also include a scene structure process that I named quickspeech, that allows for in-scene reuse of audiobundles for sex speech. I share 2 voices as audiobundles that you can use on any of the template-based scenes.
The voices you can use:

quickspeech: american english preset pack - Toolkits + Templates -
Enjoy this pack of two american english voices speaking to you while you're having sex. Doesn't include moaning, use VAMMoan or similar for that. Here's a taste: Valley girl Gabriella This VAR includes: 2 independent audiobundles...

The structure in detail, if you'd like to learn more:

quickspeech: quickly load and switch random audio speech - Guides -
Have you been playing around with Text to Speech like Uberduck, ElevenLabs, Tortoise, and many more? Maybe you are planning to, or already did, create collections of audio files with a person, video game character, you name it, saying all kinds...

Glad it's helpful, hundreds of clips in Scene Audio is hell.