[PD] scale's logarithmic curve

Mathieu Bouchard matju at artengine.ca
Sun Jun 26 23:46:41 CEST 2005

On Sun, 26 Jun 2005, jmmmp wrote:

> could someone point me to a place where I could learn how to make a
> logarithmic curve and control its slope?

[expr log($f1)/log(10)] will map the interval from 1 to 10, to the
interval from 0 to 1. You may replace 10 by whichever other number you 
want (for example, 2).

Of course, this can also be done with two [log] and a [/].

,-o--------o--------o--------o-. ,---. irc.freenode.net #dataflow |
| The Diagram is the Program tm| | ,-o-------------o--------------o-.
`-o------------o-------------o-' | | Mathieu Bouchard (Montréal QC) |
  | téléphone:+1.514.383.3801`---' `-o-- http://artengine.ca/matju -'

More information about the Pd-list mailing list