I asked some question in Mastodon and someone suggested using event instead of direct audio calls so I think I will go with that!
post
replies:
In my humble experience what solved (considering the engine), I've a singleton for the audio, I call from this to request any SFX, it will make all the spawning of the objects that I need for the audio, clean up and such. Additionally, it allows me to add some variation on the sound (pitch, tempo, speed, volume...), so I can be as precise I need for some SFX, while leave randomness for others.
all 3 comments