I'm creating some abstractions dynamically with the [obj ( message to a subpatch, which are actually oscillator instances. If I want to reduce the number of instances, I want to delete the excess ones.
I know I can do this by sending [clear( to the subpatch and create the new ones, or maybe with iemgut's [canvasdelete], but I don't want to clear all the instances and create them anew (I just want to keep the ones I need), neither use [canvasdelete], as I'm trying to make this as much vanilla as possible.
What I'm doing now, is keep track of the number of instances, calculate their canvas coordinates, and use them with these messages [editmode 1, mouse 20 $1 0 0, mouseup 60 $2 0(, and then [cut, editmode 0(. So the excess abstractions are being selected and then I'm cutting them. Is there a way to tell Pd to delete them? Like hitting backspace... I tried with [makefilename %c] but didn't seem to work.
Am 09. Jänner 2015 16:40:50 MEZ, schrieb Alexandros Drymonitis adrcki@gmail.com:
I'm creating some abstractions dynamically with the [obj ( message to a subpatch, which are actually oscillator instances. If I want to reduce the number of instances, I want to delete the excess ones.
I know I can do this by sending [clear( to the subpatch and create the new ones, or maybe with iemgut's [canvasdelete], but I don't want to clear all the instances and create them anew (I just want to keep the ones I need), neither use [canvasdelete], as I'm trying to make this as much vanilla as possible.
What I'm doing now, is keep track of the number of instances, calculate their canvas coordinates, and use them with these messages [editmode 1, mouse 20 $1 0 0, mouseup 60 $2 0(, and then [cut, editmode 0(. So the excess abstractions are being selected and then I'm cutting them. Is there a way to tell Pd to delete them? Like hitting backspace... I tried with [makefilename %c] but didn't seem to work.
I dont think its possible: there really is a reason for the iemguts functionality (it allows you to do patching related stuff that you CANNOT do otherwise).
btw, once you have loaded [canvasdelete] , there is a new "delete" method for a pd-canvas that allows you to delete objects by index.
mfg.ugd.fhj IOhannes
-- Sent from my pdp-11
On Fri, Jan 9, 2015 at 6:38 PM, IOhannes zmölnig zmoelnig@iem.at wrote:
btw, once you have loaded [canvasdelete] , there is a new "delete" method for a pd-canvas that allows you to delete objects by index.
I'm aware of that. I didn't find the library with 'apt-cache search "^pd-"' though, on Debian Jessie, on an Odroid-U3. Is there some link I can get it from? I'm gonna use it on an ARM processor, will I have problems? I had issues with [helmholtz~], that's why I'm asking.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
HiI made the attached patch a long time ago, it may be useful.It works with [find<, [findagain< and [cut<.
Le Vendredi 9 janvier 2015 18h09, Alexandros Drymonitis <adrcki@gmail.com> a écrit :
On Fri, Jan 9, 2015 at 6:38 PM, IOhannes zmölnig zmoelnig@iem.at wrote:
btw, once you have loaded [canvasdelete] , there is a new "delete" method for a pd-canvas that allows you to delete objects by index.
I'm aware of that. I didn't find the library with 'apt-cache search "^pd-"' though, on Debian Jessie, on an Odroid-U3. Is there some link I can get it from? I'm gonna use it on an ARM processor, will I have problems? I had issues with [helmholtz~], that's why I'm asking.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 01/09/15 18:09, Alexandros Drymonitis wrote:
On Fri, Jan 9, 2015 at 6:38 PM, IOhannes zmölnig zmoelnig@iem.at wrote:
btw, once you have loaded [canvasdelete] , there is a new "delete" method for a pd-canvas that allows you to delete objects by index.
I'm aware of that. I didn't find the library with 'apt-cache search "^pd-"' though, on Debian Jessie, on an Odroid-U3.
indeed, i never packaged it for Debian. hopefully pd-iemguts will be in "Stretch" (aka "jessie+1").
Is there some link I can get it from? I'm gonna use it on an ARM processor, will I have problems? I had issues with [helmholtz~], that's why I'm asking.
not precompiled. iemguts uses the template Makefile, so compilation *should* be fairly easy ("make"). there shouldn't be any problems regarding the processor, as iemguts doesn't do anything related to FPUs.
gfmdsar IOhannes
On Fri, Jan 9, 2015 at 11:24 PM, IOhannes m zmölnig zmoelnig@iem.at wrote:
Is there some link I can get it from? I'm gonna use it on an ARM processor, will I have problems? I had issues with [helmholtz~], that's why I'm asking.
not precompiled. iemguts uses the template Makefile, so compilation *should* be fairly easy ("make"). there shouldn't be any problems regarding the processor, as iemguts doesn't do anything related to FPUs.
Ok, but where can I get the source?
On 01/10/15 10:36, Alexandros Drymonitis wrote:
On Fri, Jan 9, 2015 at 11:24 PM, IOhannes m zmölnig zmoelnig@iem.at wrote:
Is there some link I can get it from? I'm gonna use it on an ARM processor, will I have problems? I had issues with [helmholtz~], that's why I'm asking.
not precompiled. iemguts uses the template Makefile, so compilation *should* be fairly easy ("make"). there shouldn't be any problems regarding the processor, as iemguts doesn't do anything related to FPUs.
Ok, but where can I get the source?
oh, sorry: https://svn.code.sf.net/p/pure-data/svn/trunk/externals/iem/iemguts
gfmdsr IOhannes
On Sun, Jan 11, 2015 at 2:16 PM, IOhannes m zmölnig zmoelnig@iem.at wrote:
oh, sorry: https://svn.code.sf.net/p/pure-data/svn/trunk/externals/iem/iemguts
Coming back to this thread after a few days... iemguts and [canvasdelete] did the job fine. They were compiled in Odroid and running without problems.
Thanks
gfmdsr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list