XML Feeds

.

[maxmsp] Re: saving CPU with poly~

mzed mzed at cnmat.berkeley.edu
Wed Aug 1 12:07:05 MDT 2007


Quote: Dan Nigrin wrote on Wed, 01 August 2007 04:41
----------------------------------------------------
> I have a patcher that is used many times in my application - the relevant part is reproduced below.  My problem is that the CPU consumption of my patch is huge, probably because I'm sending zero signals through all of the gate~ outlets that are closed.
> 
> I was thinking about putting each send~ in it's own poly~, and then sending "mute 1" or "mute 0" messages to each one when the gate switches it off/on... Is that the best approach?
> 


It's been a while since I ran these experiments, so YMMV.

One idea: when doing a 14 channel piece with much poly~ use, I found that scripting the patch cords I need (and not the ones I don't) saved me a lot of overhead.  That might not fit your situation.

Second idea: I found that manging signal routing with matrix~ was pretty efficient... probably more so than a number of small gate~'s.

A comment: make sure you "zero" any sends before you mute them.  If I recall, send~ holds the last signal vector it has gotten when it gets muted.

good luck,

mz


--
|| michael f. zbyszynski -- molecular gastronimist
|| http://www.cnmat.berkeley.edu/
|| http://www.mikezed.com/





More information about the maxmsp mailing list