i’m sure all of you know atlas textures, what about atlas sounds?..for instance, a sound file containing 5 different sounds, from timeline 0 to timeline 10 is the first sound, from 20 to 30 is second sound… this will help a lot while you have too much same type audio clips…
i haven´t see this yet, maybe this is already integrated in Unity… ?
Please excuse my ignorance, but what would be the advantage of that kind of set up? From what I can see, it would introduce a lot of disadvantages with no clear advantages apart from having to handle less individual files.
Say hypothetically you slightly alter “punch” and it is now 0,11 instead of 0,10. Then you would have to go, change those hard coded values - and go through your code and ensure that all other hard-coded values which appear later in the file are also updated to reflect accurate positions on the timeline.
Texture atlas offer clear and significant performance gains as a tradeoff for the annoyance of having to create and manage atlases - I can’t imagine the same would be true for the audio.
not sure about perf, but a setup composed of raw wave, like sine square tri with real time filter and oscillator will give you an infinite amount of possibilities to make some sfx eventually, but as long you use a sample for it original sound it certainly better tp keep them separated to.
using only pitch stuff wont get you really far on making sound Xd
I was searching for a solution all day long but found nothing, neither paid nor free solution. Here are some obvious benefits of such audio sprite:
the time required to load 20 small audio clips vs 1 single file is noticeable
the longer the audio, the better you can compress it.
Years ago I was using audiosprite from nodejs to create an audio sprite (the plugin itself was using ffmpeg tool via command line). As I recall, I was getting single audio file along with json file with track information. If there is any app with user friendly UI to create audio + josn, the code part should be very simple. If I end up creating my own simple plugin, I will update the thread.