formula for "taper" of gain controls

Discussion about the Bidule SDK, post your questions, feature request and plugins here.

Moderators: davidv, seb@plogue

dts350z
Posts: 1521
Joined: Thu Jan 15, 2009 1:18 pm

formula for "taper" of gain controls

Postby dts350z » Mon May 06, 2013 4:58 pm

@seb

I'm wondering if you'd be willing to share the formula you use in your gain bidules: -infinity to +10dB from a linear variable, with a lot of travel around zero dB?

Goofed around, googled around, it seems to be non trivial.

seb@plogue
Site Admin
Posts: 9592
Joined: Tue Mar 02, 2004 7:23 pm
Location: Montreal
Contact:

Re: formula for "taper" of gain controls

Postby seb@plogue » Tue May 07, 2013 8:54 am

You should be able to get that from a plugin parameter by specifying SCALING_GAIN10 as the scaling.

dB2Linear(dB): pow(10.0, dB*0.05)
Linear2dB(Linear): 20.0*log10(Linear)


Return to “Bidule SDK”

Who is online

Users browsing this forum: No registered users and 1 guest