Hey there pd community,
short question, is there a way to get a list of the abstractions used in a patch?
Thank you!
Getting abstractions used in a patch
Hey there pd community,
short question, is there a way to get a list of the abstractions used in a patch?
Thank you!
you could do a 'grep tgl yourpatch.pd | wc ' if your are on a unix style os
Hmmm seems like there is a grep for windows. i will give it a try. thanks!
Thinking out loud here, please correct me if I misspeak... These are simple text files (which is why grep works). The pd app presents these simple text files graphically.
I.e., in Windows, you can use Notepad.
Problem is you see lines like:
...
#X obj 93 110 tabreceive~ hanning;
#X obj 33 479 sjrbFold-1;
#X obj 109 479 sjrbFold-2;
#X obj 186 479 sjrbFold-3;
#X obj 261 479 sjrbFold-4;
#X obj 91 321 spigot~;
...
And in this example, the 4 lines that look like sjrbFold-x invoke 4 abstractions. There is nothing really different in format between the tabreceive~ object and the sjrbFold-x objects that invoke abstractions.
To me (admittedly a noob), it looks like you have to scan it, and know what's not part of pd. I don't think your source file knows the difference between your abstraction and any other library element. It's just another object to be resolved at load/run time.
Oops! Looks like something went wrong!