Forums > MaxMSP

Controlling Freq With Knob – How to Scale to Logarithmically?

September 15, 2008 | 11:40 pm

If I am controlling the frequency of a filter with a knob, how can i get it so that I am not turning the knob a thousand times for the high frequency and just a little bit for the low frequency, but rather a uniform perceived amount for all of the spectrum of hearing?

i know it deals with log base 2, but that’s about it. can anyone help me out?

September 15, 2008 | 11:43 pm

well im sure ill get other answers, but i just figured out i could use a MIDI number box + mtof~.

September 15, 2008 | 11:43 pm

run a 0-127 knob/slider into mtof

September 15, 2008 | 11:44 pm


September 15, 2008 | 11:56 pm

beat ya to it :-D

September 16, 2008 | 9:41 am

Over and above mtof, there are more flexible mappings available with lp.scampf. The bundled object scale is another alternative, but not quite as flexible.

Lp.scampf is part of the Litter Starter Pack. URI below.


Viewing 6 posts - 1 through 6 (of 6 total)

Forums > MaxMSP