XML Feeds

.

[maxmsp] saving CPU with poly~

Dan Nigrin dan at defectiverecords.com
Wed Aug 1 05:41:55 MDT 2007


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?

Thanks,
Dan

[img]index.php?t=getfile&id=776&private=0[/img]

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 158 141 45 196617 send~ C;
#P newex 205 141 45 196617 send~ D;
#P newex 253 141 44 196617 send~ E;
#P newex 111 141 45 196617 send~ B;
#P newex 62 141 46 196617 send~ A;
#P number 136 77 35 9 0 11 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 192 77 61 196617 cycle~ 440;
#P newex 136 103 66 196617 gate~ 5;
#P connect 0 2 7 0;
#P connect 0 1 4 0;
#P connect 0 0 3 0;
#P connect 2 0 0 0;
#P connect 1 0 0 1;
#P connect 0 3 6 0;
#P connect 0 4 5 0;
#P window clipboard copycount 8;
--
Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major Malfunction
http://www.defectiverecords.com
http://www.jackosx.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gate-poly.jpg
Type: image/jpeg
Size: 9887 bytes
Desc: not available
Url : http://www.cycling74.com/pipermail/maxmsp/attachments/20070801/e434b57d/gate-poly.jpg


More information about the maxmsp mailing list