Forums > MaxMSP

faster exponential function

April 14, 2009 | 11:24 pm

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)


April 15, 2009 | 11:57 am

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.


Viewing 2 posts - 1 through 2 (of 2 total)