Forums > MaxMSP

loadbang loadmess double when inside subpatcher

October 6, 2009 | 2:14 pm

hi everyone,
I’m wondering: does this happen to me alone?
please take a look at the following patcher.

thanks in advance for your feedback

tom

{
"patcher" : {
"fileversion" : 1,
"rect" : [ 29.0, 69.0, 640.0, 506.0 ],
"bglocked" : 0,
"defrect" : [ 29.0, 69.0, 640.0, 506.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"boxes" : [ {
"box" : {
"maxclass" : "comment",
"text" : "?",
"patching_rect" : [ 335.0, 237.0, 19.0, 20.0 ],
"id" : "obj-2",
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "p why",
"patching_rect" : [ 292.0, 237.0, 42.0, 20.0 ],
"id" : "obj-3",
"numinlets" : 0,
"fontname" : "Arial",
"numoutlets" : 0,
"fontsize" : 12.0,
"patcher" : {
"fileversion" : 1,
"rect" : [ 54.0, 94.0, 640.0, 480.0 ],
"bglocked" : 0,
"defrect" : [ 54.0, 94.0, 640.0, 480.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"boxes" : [ {
"box" : {
"maxclass" : "message",
"text" : "replace",
"patching_rect" : [ 60.0, 140.0, 50.0, 18.0 ],
"id" : "obj-4",
"numinlets" : 2,
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadbang",
"patching_rect" : [ 60.0, 100.0, 60.0, 20.0 ],
"id" : "obj-2",
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "buffer~ provaprova",
"patching_rect" : [ 60.0, 171.0, 112.0, 20.0 ],
"id" : "obj-1",
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 2,
"outlettype" : [ "float", "bang" ],
"fontsize" : 12.0
}

}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-2", 0 ],
"destination" : [ "obj-4", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-4", 0 ],
"destination" : [ "obj-1", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
]
}
,
"saved_object_attributes" : {
"default_fontface" : 0,
"default_fontname" : "Arial",
"globalpatchername" : "",
"default_fontsize" : 12.0,
"fontname" : "Arial",
"fontface" : 0,
"fontsize" : 12.0
}

}

}
],
"lines" : [ ]
}

}


October 6, 2009 | 3:41 pm

Please post patches in compressed format (see Copy Compressed in the Edit menu).

I won’t tell you why it behaves like this, but will try to help:

Insert a [deferlow] object between [loadbang] and the "replace" message. It does solve the problem for me.

p


October 7, 2009 | 8:48 am

yes thanks it works for me as well.
I have used [delay] up to this time, but [deferlow] seems more appropriate.
anyway I guess this feature will be fixed on the next update.

sorry for wasting lines, next time I’ll remember about compressed copy!

t


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