Set sustain level in dB from script

savard5 Member Posts: 10 Member

Is there a way to set the decibel value of the sustain portion of an envelope in script? I would like a specific dB value but the units for setting it in script don't relate to dB at all. I've tried using Koala library with Bob's math conversion functions, and they work for the times (attack, decay, etc) but the volume conversion (E2V.volume and V2E.volume) doesn't seem to work the same.

Can anyone help?

Back To Top