Logarhithm question

Sep 30, 2012 at 2:36pm

Logarhithm question

I have a range of values from 0 – 150 and I have scaled them across a 30 – 5000 hz frequency range and am outputting as a sine wave.

The problem I have is that this ends up with predominantly high pitch notes. Is there a way to use log function to scale these values exponentially across the range?

Sep 30, 2012 at 2:46pm

Check the [scale] object, noting in particular its fifth argument/inlet which enables an exponential scaling curve

Sep 30, 2012 at 6:41pm

for linear to frequency conversion you can also abuse (adding offsets and such) the mtof object. -110

Sep 30, 2012 at 8:16pm

just a mentioned already, scale and mtof:

– Pasted Max Patch, click to expand. –
Oct 1, 2012 at 12:10pm

Also, this thread might be worth to check:



You must be logged in to reply to this topic.