Matrix and VST

Dec 1, 2009 at 3:30pm

Matrix and VST

Hi,
Can you explain to me why this simple patch doesn’t work ?

{
“patcher” : {
“fileversion” : 1,
“rect” : [ 25.0, 69.0, 256.0, 266.0 ],
“bglocked” : 0,
“defrect” : [ 25.0, 69.0, 256.0, 266.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" : "plug",
"id" : "obj-5",
"fontname" : "Arial",
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 1,
"patching_rect" : [ 179.0, 80.0, 33.0, 18.0 ],
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “vst~”,
“id” : “obj-4″,
“fontname” : “Arial”,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 6,
“patching_rect” : [ 105.0, 111.0, 86.5, 20.0 ],
“outlettype” : [ "signal", "signal", "", "list", "int", "" ],
“save” : [ "#N", "vst~", "loaduniqueid", 0, ";" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “*~ 0.2″,
“id” : “obj-2″,
“fontname” : “Arial”,
“numinlets” : 2,
“fontsize” : 11.595187,
“numoutlets” : 1,
“patching_rect” : [ 73.5, 146.0, 41.0, 20.0 ],
“outlettype” : [ "signal" ]
}

}
, {
“box” : {
“maxclass” : “flonum”,
“id” : “obj-7″,
“fontname” : “Arial”,
“numinlets” : 1,
“fontsize” : 11.595187,
“numoutlets” : 2,
“patching_rect” : [ 26.0, 117.0, 50.0, 20.0 ],
“outlettype” : [ "float", "bang" ]
}

}
, {
“box” : {
“maxclass” : “ezdac~”,
“varname” : “autohelp_dac”,
“id” : “obj-3″,
“numinlets” : 2,
“numoutlets” : 0,
“patching_rect” : [ 74.0, 179.0, 45.0, 45.0 ],
“local” : 1
}

}
, {
“box” : {
“maxclass” : “matrixctrl”,
“id” : “obj-27″,
“bkgndpict” : “MatrixDefaultBkgnd.pct”,
“horizontalmargin” : 2,
“presentation_rect” : [ 15.0, 15.0, 36.0, 34.0 ],
“numinlets” : 1,
“cellpict” : “MatrixDefaultCell.pct”,
“rows” : 2,
“numoutlets” : 2,
“patching_rect” : [ 19.0, 19.0, 36.0, 34.0 ],
“columns” : 2,
“autosize” : 1,
“outlettype” : [ "list", "list" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “cycle~ 440.”,
“id” : “obj-31″,
“fontname” : “Arial”,
“numinlets” : 2,
“fontsize” : 11.595187,
“numoutlets” : 1,
“patching_rect” : [ 74.0, 29.0, 69.0, 20.0 ],
“outlettype” : [ "signal" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “matrix~ 2 2 1.”,
“id” : “obj-32″,
“fontname” : “Arial”,
“numinlets” : 2,
“fontsize” : 11.595187,
“numoutlets” : 3,
“patching_rect” : [ 74.0, 72.0, 81.0, 20.0 ],
“outlettype” : [ "signal", "signal", "list" ]
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-4", 1 ],
“destination” : [ "obj-32", 1 ],
“hidden” : 0,
“midpoints” : [ 128.0, 141.0, 222.0, 141.0, 222.0, 62.0, 145.5, 62.0 ]
}

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

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

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

}
, {
“patchline” : {
“source” : [ "obj-2", 0 ],
“destination” : [ "obj-3", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-32", 0 ],
“destination” : [ "obj-2", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-31", 0 ],
“destination” : [ "obj-32", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-27", 0 ],
“destination” : [ "obj-32", 0 ],
“hidden” : 0,
“midpoints” : [ 28.5, 61.0, 83.5, 61.0 ]
}

}
, {
“patchline” : {
“source” : [ "obj-7", 0 ],
“destination” : [ "obj-2", 1 ],
“hidden” : 0,
“midpoints” : [ 35.5, 139.0, 105.0, 139.0 ]
}

}
]
}

}

If I cut the signal between the VSTout and the matrix object everything is perfect …
I don’t understand …
Thank you.

Rudi

#46929
Dec 1, 2009 at 3:42pm

Please use “Copy Compressed” to post patches here.

You can’t do a feedback loop like you do. You should introduce a delay between vst~‘s output and matrix~‘s input . The way to get the shortest delay (which is one vector long) is to use a send/receive pair: a delay will be introduce if needed.

p

#168741
Dec 1, 2009 at 6:47pm

Sorry for the “Uncompressed” paste !
Thank you for the answer.
That works.

Rudi

#168742

You must be logged in to reply to this topic.