Logarhithm question


    Sep 30 2012 | 2:36 pm
    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?

    • Sep 30 2012 | 2:46 pm
      Check the [scale] object, noting in particular its fifth argument/inlet which enables an exponential scaling curve
    • Sep 30 2012 | 6:41 pm
      for linear to frequency conversion you can also abuse (adding offsets and such) the mtof object. -110
    • Sep 30 2012 | 8:16 pm
      just a mentioned already, scale and mtof:
    • Oct 01 2012 | 12:10 pm
      Also, this thread might be worth to check: