Oeyvind, An exponential curve would be one like y = 2 ^x where the normalized index is in the exponent not in the base. For your particular case where the table value is the square of the index I'd call it a quadratic curve. David Bowen On 9/29/07, Oeyvind Brandtsegg wrote: > > I would like to create a table containing a an exponential curve (or > so I thought), > where the table value equals the normalized index raised to the 2nd power. > > for example, for a table size of 4(+1) I would have these values: > 0, 0.0625, 0.25, 0.5625, 1 > being calulated as: > (0/4)*(0/4), (1/4)*(1/4), (2/4)*(2/4), (3/4)*(3/4), (4/4)*(4/4) > > This is the curve I would expect when using an exponential curve for > mapping of midi controller values. > It would be nice if I could find a GEN routine that did this, and I > expected GEN05 to do it, but it seems I have misunderstood something > about exponential curves as I don't get this curve with GEN05. > > Could someone please explain how GEN05 calculates it's values, > and indicate what would be the correct term for the curve I describe above > ? > > best > Oeyvind > -- > Send bugs reports to this list. > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk >