faster exponential function

Apr 14, 2009 at 11:24pm

faster exponential function

is pow~ slower than mtof~ ?

I want to take the exponential function of a signal. I can change the base by scaling the exponent prior to sending it to mtof~ or i can change it directly using pow~

which is faster, cpu-wise?

(i’m running max 4.6 on xp sp2)

#43370
Apr 15, 2009 at 11:57am

I doubt it, in fact rather the reverse, but if you want to be sure why don’t you just try it? Build a patch with 10-20 (or 100) of the one object, hook them up to a cycle~ or something to make sure they aren’t optimizing themselves out of the DSP chain, and watch the CPU monitor in the DSP options (which, btw, is only measuring CPU used by the DSP process).

I actually find I often get somewhat better performance from lp.scampf~. It’s in the Litter Power Pro Bundle, but works very much like its Starter Pack buddies, lp.scampi and lp.scampf.

#155550

You must be logged in to reply to this topic.