Page 1 of 1

Convert Decibles to Gain value

Posted: Mon Mar 27, 2023 6:16 pm
by rblythe
I am trying to create controller commands to increase or decrease a specific track volume in 1 or -1 db increments. I have everything working but I cannot find a way to convert decibels to an appropriate Ableton gain value. I've tried the formulas suggested on this page:

https://stackoverflow.com/questions/226 ... h-decibels

but it is still producing the wrong values. Any help would be greatly appreciated!

Re: Convert Decibles to Gain value

Posted: Wed Mar 29, 2023 12:16 pm
by randi
could you describe how and what are you trying to achieve?
usually one would just use

Code: Select all

self.song().view.selected_track.mixer_device.volume