stop cooking with script

Hi All,
I am trying to optimize a performance patch and there are a few instances where stopping cooking of some TOPs and COMPs (or should I say set the bypass flag on/off?) selectively would be very handy. I suspect its a script. Wondering if someone can helpout, or point me in the right direction.

Below is a sample patch for toggling a noise TOP - I had been doing this by using a level top, but of course the noise is still generating, so Id like for it to be on and off.

hope that is relatively clear - and python would be a bonus since I’m on 088.
thanks…
stoppcookin.toe (4.71 KB)

Sorry, can’t check out your project where I am now but:

How to bypass:
op(‘OPNAME’).bypass = True
op(‘OPNAME’).bypass = False

Cooking flag:
op(‘OPNAME’).allowCooking = True
op(‘OPNAME’).allowCooking = False

Other flags can be found under “Common flags” section here:
derivative.ca/wiki088/index. … COMP_Class

Brilliant - thanks elburz. took me a few minutes to figure out the chopexec DAT (duh, gotta have that “run()” line!)

thanks - this will be a huge boost…
m

This is brilliant!

I looked everywhere for this script. Finally, problem solved! Thanks a ton