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?
if you can't find the expression [linedrive] might be of help.
[curve] or something like that maybe?
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?
Hi, i am bumping this, because i'd like to control a filter cutoff with a dial.
Any help with the expression ? i know it's basics of maths and audio, but....
Thanks !!
Well, i found in a tutorial that mtof could do the trick !
that is about what i would suggest.