On Sat, Dec 24, 2005 at 12:20:38AM +0100, pd-list-request@iem.at wrote:
Date: Sat, 24 Dec 2005 00:21:24 +0100 From: Frank Barknecht fbar@footils.org Subject: Re: [PD] 2d control surface using GOP datastructures To: pd-list@iem.at Message-ID: 20051223232124.GG26009@fliwatut.scifi Content-Type: text/plain; charset="us-ascii"
Hallo, Chris McCormick hat gesagt: // Chris McCormick wrote:
This is a 2 dimensional control surface. The number box adds new controllable points. Banging the inlet outputs a sequence of values (n x y) where n is the number of the controllable point, x is it's normalised x value, and y is it's normalised y value. You can unpack these to assign different points to parameters in your patches.
Attached is a version, which uses the scaling of coordinates in structs to greatly simplify your patch. Note that I also avoided the constant traversal of the graphing subpatch, because that can be very expensive CPU-wise. I avoided it by auto-creating a little abstraction (ctl-parser.pd) that receives the pointer of the newly created graphical control object and caches this. This way, no traversal at all is done and you only get a little "spike" in CPU the moment, you create the new dots.
Hi Frank,
This looks really cool. I think you have a firm grasp of this datastructures stuff. I can't seem to get your patch to work properly though - when I create an instance it comes up with broken connections - are you sure you attached the right bits? There seems to be nothing to attach to the print statements inside ctl-parser.
Best,
Chris.
chris@mccormick.cx http://mccormick.cx
Hallo Chris, Chris McCormick hat gesagt: // Chris McCormick wrote:
This looks really cool. I think you have a firm grasp of this datastructures stuff. I can't seem to get your patch to work properly though - when I create an instance it comes up with broken connections - are you sure you attached the right bits? There seems to be nothing to attach to the print statements inside ctl-parser.
Can you maybe send or upload a little screenshot somewhere? It works here with pd-0.39-2 and actually is it a really simple patch, I wonder what could go wrong here.
Frank Barknecht _ ______footils.org_ __goto10.org__
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
Chris McCormick hat gesagt: // Chris McCormick wrote:
This looks really cool. I think you have a firm grasp of this datastructures stuff. I can't seem to get your patch to work properly though - when I create an instance it comes up with broken connections - are you sure you attached the right bits? There seems to be nothing to attach to the print statements inside ctl-parser.
Can you maybe send or upload a little screenshot somewhere? It works here with pd-0.39-2 and actually is it a really simple patch, I wonder what could go wrong here.
Attached is a new version, which doesn't try to fix and bugs, but adds a some new features: Now only changes are output through the outlet, the metro was made faster (50) and now defaults to be on.
Frank Barknecht _ ______footils.org_ __goto10.org__
Hi Frank, is there any way to send this 2D controller a list of three numbers (id,x and y) so I can "move" a control point not using the mouse, but from changing number boxes?
Thanks.
Rodrigo
On 12/24/05, Frank Barknecht fbar@footils.org wrote:
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
Chris McCormick hat gesagt: // Chris McCormick wrote:
This looks really cool. I think you have a firm grasp of this datastructures stuff. I can't seem to get your patch to work properly though - when I create an instance it comes up with broken connections - are you sure you attached the right bits? There seems to be nothing to attach to the print statements inside ctl-parser.
Can you maybe send or upload a little screenshot somewhere? It works here with pd-0.39-2 and actually is it a really simple patch, I wonder what could go wrong here.
Attached is a new version, which doesn't try to fix and bugs, but adds a some new features: Now only changes are output through the outlet, the metro was made faster (50) and now defaults to be on.
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list