Logarhithm question

Sep 30, 2012 at 2:36pm

Logarhithm question

Hi,
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?

#64540
Sep 30, 2012 at 2:46pm

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

#232798
Sep 30, 2012 at 6:41pm

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

#232799
Sep 30, 2012 at 8:16pm

just a mentioned already, scale and mtof:

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

Also, this thread might be worth to check:

http://cycling74.com/forums/topic.php?id=36275

#232801

You must be logged in to reply to this topic.