#Audio stuck at 0 gain?
1 messages · Page 1 of 1 (latest)
tbh would not iterate through the assets like that
but when you change the gain how are you doing it?
I have a variable set to the sound when i play it and i reference that and do audio_sound_gain
i wish there were a way to loop thru all playing sounds
thats one of those things where like, once you build a system for it its e z as heckfuck
yeah
are you recycling the variable?
like reusing it?
yeah
yeah
(how) do you recommend making a system like this?
usually i use an array. i push each sound into the array to be played and the gain is adjust based on howmany sounds are playing
oh like adaptive gain for everything?
yep
so the first time you set gain has to be after its played
ah
using the asset and variable do different things
missed that in the docs
I think the asset and sound index gains are multiplied
🤯
ok
they are not multiplied no, shouldnt be anyways
you basically get two options for controlling gain. you do it through the mixer tool OR do it through code
using code ignores all mixer tool settings
wack