Hi all,
I am trying to do some sample level processing and have an abstraction with an inlet~ and an outlet~. In the abstraction I have created an array, but when I try to use a metro to view what comes through the inlet, I get "buffer multiply defined" error. I have put "$0" part of the name but then the array being displayed is not the one being used by the calling patch. Any suggestions?
-
Multiply defined array in abstraction
-
No problem whatsoever with this "patch". Is this an abstraction ?
-
@petr: Instead of using the Quick Post at the bottom of the page, click "Post reply" (bottom-right of the last comment). From there, you can attach the patch directly to the post. Since this is problem sounds like it involves both the parent and the abstraction, the ASCII art probably isn't enough.
Is this array1 in the abstraction or the parent patch? If it's in the parent, then this should be fine. If it's in the abstraction, then you should be using $0 in the array name so it doesn't conflict with the other abstractions. If it's in both, then that's the problem.
-
Thanks guys,
This is the abstraction - sorry about the name but the test case was to "divide by 2"If I use $0_array1 then the graph of the array shows nothing (I assume it is going to "another" copy wherever that is)
tester to follow
cheers,
petr
-
And the tester
-
I have tested your patch, no problem, boths graphs are updated, i get no warning. Are you sure that you do not have any other $0_array1 in your original divideBy2.pd file?
-
Hi dwan,
thanks for testing it. I'm certain. just changed the name to $0A to no avail. I am on ubuntu 12.10 and have a persistent error message of "tried and could not sync A/D/A" but all seems to work other than this. Might it be relevant?
petr -
yeah that's a pretty drastic error. you're gonna need to tweak your audio settings .. patience and google are your main tools with that
-
So I googled and it seems that the errors are unrelated.
"tried but couldn't sync a/d/a" is about the connection to the sound card and the advice is not to use alsa or to ignore it. As I am getting sound in all the right places, I assume I can ignore it. The multiply defined array problem would seem to be about internal workings and not the sound card.This is looking like a bug to me. If someone can offer some advice on tracking it down, I will try it out. Otherwise I will work around it.
best,
petr -
Post your patch on the pd-list, a guru may find where the bug is !