scaling linear to logarithmic: using slider to control biquad filter cutoff

Apr 26, 2012 at 3:41pm

scaling linear to logarithmic: using slider to control biquad filter cutoff

I am wanting to control the cut-off frequency of a biquad filter with a slider or dial. I have noticed that the scaling of a slider to a filter, i.e. [0 127 0.0001 22000], does not work so well as the filter is logarithmic by default. Can anyone advise me on a way around this?

#63236
Apr 26, 2012 at 6:11pm

if you can’t find the expression [linedrive] might be of help.

#228103
Apr 26, 2012 at 8:01pm

[curve] or something like that maybe?

#228104
Apr 26, 2012 at 8:34pm

I will try both of those suggestions. Someone told me that to map a 0 127 linear to 0 22000 logarithmic scale you should carry out the equation log127(2200). Does anyone know how I would go about doing this with the expression object?

#228105

You must be logged in to reply to this topic.