Forums > MaxMSP

CPU overload: how can i avoid this? options?

January 9, 2010 | 1:29 am

Hello all,

basically ive created some patches that are quite heavy on the CPU,

Im using an iMac 2.66 Ghz, 4 GB RAM, 640 GB HDD,

and a Mackie Onyx Satellite sound card/interface

what are my options?, software/hardware, avoiding the need for a new computer,

Thanks for your’e time,

regards,

C



yns
January 10, 2010 | 11:33 am

Increasing your I/O vector size and signal vector size can help. Although this will increase latency.


January 10, 2010 | 8:45 pm

It’s a little hard to generalize, but optimize the core of your patchers. For example, if you use poly~, spend time optimizing the poly~ voice. If you post the parts of the patches you want to optimize, people can probably point out where the CPU cycles are going (signal rate modulo/divide/multiply, log/exp functions are speed killers, for example).

Use wavetables where possible (instead of calculating values at signal rate).

If you can program C, consider writing portions of patches as C-externals. I’ve had dramatic CPU efficiencies doing so.


January 11, 2010 | 3:08 pm

thank you for you advice guys!

unfortunately i dont have any experience with C, although i will look into this,

cheers,

C


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