Yeah, you can use this formula:
Audio Set volume to log10(volumePercentage/100)*20
Where volumePercentage is a value between 0 and 100
Hey thanks agains for your help!
ive run into another problem i was wondering if you could help me with.
some of my music tracks & SFX files are too loud, so in the past i had just played them at -5 or -10dcb to try and balance them within construct rather than having to edit all the original audio files.
the problem with playing a file at (log10(volumePercentage/100)*20)-10
is that the additional -10 to balance my sounds is not logrythmic, so it tends to become muted before other sounds when adjusting.
not sure if that makes sense. im basically looking for a way to adjust any given sound of mine so it plays at slightly less max volume, that will still logrythmically scale down to 0 volume(or -30dcb) when volume is brought down.
thanks heaps again!