Forums > Max For Live

pfft~ problems ins m4l, not in max

September 16, 2012 | 12:56 pm

Hi, i have some problems with the pfft~object when i use it in m4l:
i use a large window-function with 65536 samples and my buffer in ableton is set to 64 or 128 samples. it doesn’t even matter what’s inside the pfft~object. So my m4l-patch is just this one object (connected in and out). When i open the editor, i understand that at this moment it works as max/msp – everything is fine and works as it should. but when i close the editor (shouldn’t make any difference, should it?) i hear clicks.
so i have this wonderful patch with some things going on inside the pfft~, sounds great, but only when i open the editor :(
Could anyone please try this and tell me, if you get the same issues? You would really help me, as this patch is an important patch in my setup.
Thanks for any help or even trying.


September 16, 2012 | 4:59 pm

I’m positive this is something related to your patch and not so much the way M4L behaves to pfft~ objects.

I have been experimenting with pfft~ a few times before and so far never experienced clicks or pops just because such an object was inside my M4L patch.

But to try and debug this… So what you’re saying is that if you have a default Max Audio effect (plugin~ connected to plugout~), you add a pfft~ object (using what kind of patch exactly?) then you get clicks and pops?

I’d start looking at the kind of patch you’re loading with the pfft~ object. Using many fftin~ objects by any chance?


October 10, 2012 | 11:29 am

no, i have no objects at all in there. it goes straight in an out the pfft~object. i will post the patch later. thanks for help


October 10, 2012 | 11:34 am

this is the m4l patch:
{
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "pfft~ fftinside2 65536 4",
"outlettype" : [ "signal" ],
"patching_rect" : [ 104.0, 387.0, 119.0, 18.0 ],
"fontname" : "Arial Bold",
"id" : "obj-3",
"numinlets" : 1,
"numoutlets" : 1,
"fontsize" : 10.0
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "R",
"patching_rect" : [ 158.0, 586.0, 17.0, 18.0 ],
"frgb" : [ 0.3, 0.34, 0.4, 1.0 ],
"fontname" : "Arial Bold Italic",
"id" : "obj-25",
"textcolor" : [ 0.3, 0.34, 0.4, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontsize" : 10.0
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "L",
"patching_rect" : [ 86.0, 586.0, 17.0, 18.0 ],
"frgb" : [ 0.3, 0.34, 0.4, 1.0 ],
"fontname" : "Arial Bold Italic",
"id" : "obj-26",
"textcolor" : [ 0.3, 0.34, 0.4, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontsize" : 10.0
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "R",
"patching_rect" : [ 158.0, 314.0, 17.0, 18.0 ],
"frgb" : [ 0.3, 0.34, 0.4, 1.0 ],
"fontname" : "Arial Bold Italic",
"id" : "obj-24",
"textcolor" : [ 0.3, 0.34, 0.4, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontsize" : 10.0
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "L",
"patching_rect" : [ 86.0, 313.0, 17.0, 18.0 ],
"frgb" : [ 0.3, 0.34, 0.4, 1.0 ],
"fontname" : "Arial Bold Italic",
"id" : "obj-22",
"textcolor" : [ 0.3, 0.34, 0.4, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontsize" : 10.0
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Audio to Live",
"patching_rect" : [ 92.0, 605.0, 81.0, 19.0 ],
"frgb" : [ 0.3, 0.34, 0.4, 1.0 ],
"fontname" : "Arial Bold Italic",
"id" : "obj-7",
"textcolor" : [ 0.3, 0.34, 0.4, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontsize" : 11.0
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Audio from Live",
"patching_rect" : [ 86.0, 293.0, 96.0, 19.0 ],
"frgb" : [ 0.3, 0.34, 0.4, 1.0 ],
"fontname" : "Arial Bold Italic",
"id" : "obj-6",
"textcolor" : [ 0.3, 0.34, 0.4, 1.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"fontsize" : 11.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "plugout~",
"outlettype" : [ "signal", "signal" ],
"patching_rect" : [ 104.0, 586.0, 53.0, 18.0 ],
"fontname" : "Arial Bold",
"id" : "obj-2",
"numinlets" : 2,
"numoutlets" : 2,
"fontsize" : 10.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "plugin~",
"outlettype" : [ "signal", "signal" ],
"patching_rect" : [ 104.0, 314.0, 118.0, 18.0 ],
"fontname" : "Arial Bold",
"id" : "obj-1",
"numinlets" : 2,
"numoutlets" : 2,
"fontsize" : 10.0
}

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

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

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

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

}
]
}

and this is the "fftinside2"
{
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "fftout~ 1",
"patching_rect" : [ 36.0, 402.0, 54.0, 20.0 ],
"fontname" : "Arial",
"id" : "obj-44",
"numinlets" : 2,
"numoutlets" : 0,
"fontsize" : 12.0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "fftin~ 1",
"outlettype" : [ "signal", "signal", "signal" ],
"patching_rect" : [ 19.0, 19.0, 47.0, 20.0 ],
"fontname" : "Arial",
"id" : "obj-2",
"numinlets" : 1,
"numoutlets" : 3,
"fontsize" : 12.0
}

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

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

}
]
}


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