Topic: Calculating floating point values for volume in OSC communiation

The osc implementation for Totalmix only accepts a floating point number to change faders. 0.0-1.0, in the mixer this is instead represented by - infinity to +6db. The problem is that this does not scale to the 0.0-1.0 range. It's some form of non-linear scale going on. If I increase the floating point number volume by 0.1 at a time, the amount of changed volume in db will change with every repetition.

How do I calculate how to change the current floating point volume in such a way that I get a certain increase or decrease in db?

I actually tried chatgpt for this, figured it would be a breeze. IT WAS NOT. It kept saying this is a logarithmic db scale and gave me functions to calculate but they all failed and the fantastic AI doesn't understand its error, even if giving it a list of floating point numbers and their equivalent db. 20 data points actually. I figured "NOW IT WILL GET IT". Nope, it said the same thing and repeated the same function. I laughed.

Ok that last part was mostly for you to giggle at, how the heck do I calculate this thing?

Re: Calculating floating point values for volume in OSC communiation

Let’s continue here…
https://forum.rme-audio.de/viewtopic.php?id=38270

Re: Calculating floating point values for volume in OSC communiation

hselters wrote:

Let’s continue here…
https://forum.rme-audio.de/viewtopic.php?id=38270

Thanks, that did not come up on my search.