Parent unlocked

Dec 3, 2011 at 9:53am

Parent unlocked

Is there way to find out if the parent patcher is locked or unlocked?

I have a lot of bpatchers which adapt to their size. I could poll the size while a patcher is unlocked, to adapt automatically whenever the size of the bpatcher is changed. Of course this would eat a lot of unnecessary CPU cycles when the patcher is in normal use…


Dec 3, 2011 at 11:02am

i reckon it’s no problem with js. somehow with the “parentpatcher” and “locked” properties. someone else needs to help here.

from inside the parentpatcher it’s easy.

function bang() {

Dec 3, 2011 at 12:50pm

function bang() {
if (this.patcher.parentpatcher) {

Dec 3, 2011 at 3:00pm


I do not know for [bpatcher] but for [patcher] i did an external [quebec] you can find in my “tralala” toolbox to deal with lock/size states ….



You must be logged in to reply to this topic.