Re: [PD] pduino test patch: old analog/digital controls

2011-11-09 Thread olsen
Thanks Hans for making this thing clear - I'll try to find an adequate solution for the rewritten pduino-help asap! best ø On 11/03/2011 03:39 PM, Hans-Christoph Steiner wrote: That confusion originates from the Arduino numbering scheme itself, since it uses A0 for analog pins in analog

[PD] pix_mask and gemframebuffer

2011-11-09 Thread Max
dear list, i'm trying to generate a b/w mask in gemframebuffer for a pix_mask pix_mask seems to ignore the texture from gemframbuffer. hints appreciated. m. masking.pd Description: Binary data signature.asc Description: Message signed with OpenPGP using GPGMail

Re: [PD] pix_mask and gemframebuffer

2011-11-09 Thread cyrille henry
hello, pix_masque need a pix, not a texture. (one is in the CPU, the other in the GPU). you need a pix_snap to pass the texture to a pix object. beware, this is slow. i recommend using a shader to emulate pix_masque, but using 2 texture and not 2 pix. it will be hundred time faster. Cyrille

Re: [PD] pix_mask and gemframebuffer

2011-11-09 Thread Max
thanks cyrille, am i getting closer? masking2.pd Description: Binary data it's ok if it is slow, but i want to use gem objects to make a mask i can animate in gem, so there is now way around the snapping if i understand that correctly. max Am 09.11.2011 um 14:07 schrieb cyrille henry:

Re: [PD] pix_mask and gemframebuffer

2011-11-09 Thread cyrille henry
Le 09/11/2011 12:23, Max a écrit : thanks cyrille, am i getting closer? yes, a bit. except that : - gemframbuffer does not have the same camera position than gemhead. you need to add translateXYZ 0 0 -4 - pix_snap snap the curent frambuffer, you don't need to pass the framebuffer texture.

Re: [PD] pix_mask and gemframebuffer

2011-11-09 Thread Max
masking4.pd Description: Binary data Am 09.11.2011 um 14:41 schrieb cyrille henry: Le 09/11/2011 12:23, Max a écrit : thanks cyrille, am i getting closer? yes, a bit. except that : - gemframbuffer does not have the same camera position than gemhead. you need to add translateXYZ 0 0 -4

Re: [PD] pix_mask and gemframebuffer

2011-11-09 Thread cyrille henry
Le 09/11/2011 14:01, Max a écrit : Am 09.11.2011 um 14:41 schrieb cyrille henry: Le 09/11/2011 12:23, Max a écrit : thanks cyrille, am i getting closer? yes, a bit. except that : - gemframbuffer does not have the same camera position than gemhead. you need to add translateXYZ 0 0 -4

Re: [PD] pix_mask and gemframebuffer

2011-11-09 Thread Max
yes, that's a nice patch. i am still wondering though why it doesn't look the same (sharp) when done without glsl. i remember someone said that he was working on making glsl abstractions to replace some of the pix_ es m. (posting back to pd-list, hope that's okay for you) Am 09.11.2011 um

[PD] crash with reactivision

2011-11-09 Thread Max
this patch freezes Pd. it needs the tuio, and you need to wave around with the ID1 in front of the camera for about 30 seconds. never the less it is actually is the [route] that causes the crash, if you remove that and replace it with a OSC over local udpsend it is stable. crash-test.pd

Re: [PD] drag n' drop OSX tkdnd

2011-11-09 Thread Hans-Christoph Steiner
On Nov 1, 2011, at 2:52 PM, m.e.grimm wrote: ok thanks for that! yeah I also independently verified this too so here is the crazy report: http://pastebin.com/H3VSbyvJ and i noticed i noticed: 1) 0x7fff8de93000 - 0x7fff8e1b7fff com.apple.HIToolbox 1.8 (???)

[PD] biquad and like addition, subtraction, multiplication, division in source code

2011-11-09 Thread Olivier Baudry
Dear all I upload all pd-svn source code si I research a code of biquad object so biquad.help is in pddp folder not a source code , and where is a code of object like addition, subtraction, multiplication, division : * ; -; + ; / ___

Re: [PD] biquad and like addition, subtraction, multiplication, division in source code

2011-11-09 Thread Hans-Christoph Steiner
I find the best way to find the source of an object is to run this in the terminal: find ~/code/pure-data/trunk -type f -print0 | xargs -0 grep 'biquad~' The class name needs to be declared using gensym(biquad~), so if you search for the object name with double quotes around it, you'll find

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Jonathan Wilkes
- Original Message - From: katja katjavet...@gmail.com To: pd-list@iem.at Cc: Sent: Thursday, November 3, 2011 6:10 AM Subject: Re: [PD] how to capture window-related mouse-events when toxy is discontinued? On Thu, Nov 3, 2011 at 1:30 AM, Jonathan Wilkes jancs...@yahoo.com

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Hans-Christoph Steiner
On Nov 9, 2011, at 12:33 PM, Jonathan Wilkes wrote: - Original Message - From: katja katjavet...@gmail.com To: pd-list@iem.at Cc: Sent: Thursday, November 3, 2011 6:10 AM Subject: Re: [PD] how to capture window-related mouse-events when toxy is discontinued? On Thu, Nov 3,

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Mathieu Bouchard
Le 2011-11-09 à 12:39:00, Hans-Christoph Steiner a écrit : That's what TkZinc is: a Tk canvas written to use OpenGL. http://www.tkzinc.org In 2007, Chun wanted to look into TkZinc. I came up with the idea of a compatibility layout class, so that TkZinc could become a drop-in replacement for

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Mathieu Bouchard
Le 2011-11-09 à 09:33:00, Jonathan Wilkes a écrit : Similarly: If a 2D geo in a gem window is the most efficient way to draw an object, why not just make canvases be opengl windows? Are we comparing percentages with an equivalent 2-D GEO ? E.g. a radiobutton that has n=8 needs between 9 and

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Hans-Christoph Steiner
On Nov 9, 2011, at 12:54 PM, Mathieu Bouchard wrote: Le 2011-11-09 à 12:39:00, Hans-Christoph Steiner a écrit : That's what TkZinc is: a Tk canvas written to use OpenGL. http://www.tkzinc.org In 2007, Chun wanted to look into TkZinc. I came up with the idea of a compatibility layout

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Jonathan Wilkes
- Original Message - From: Mathieu Bouchard ma...@artengine.ca To: Jonathan Wilkes jancs...@yahoo.com Cc: katja katjavet...@gmail.com; pd-list@iem.at pd-list@iem.at Sent: Wednesday, November 9, 2011 1:00 PM Subject: Re: [PD] how to capture window-related mouse-events when toxy is

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Mathieu Bouchard
Le 2011-11-09 à 14:01:00, Hans-Christoph Steiner a écrit : ANother idea is to make a [tkzinc] object that allows people to make all sorts of GUI objects in Pd that are built on top of TkZinc's OpenGL. You mean that each [tkzinc] object would be a TkCanvas-like widget embedded inside of the

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Mathieu Bouchard
Le 2011-11-09 à 11:10:00, Jonathan Wilkes a écrit : In katja's demo the radiobutton had n=1, so I guess it's just two rectangles. How useful and typical is a radiobutton with n=1 ? The demo ought to have something realistic to it.

[PD] [PD-announce] Pd workshop in Istanbul

2011-11-09 Thread Aykut Caglayan
There will be a free Pd workshop in Istanbul this weekend!  http://www.amberplatform.org/en/festival/item/25-pure-data   -- Aykut Caglayan (PhD) http://aykutcaglayan.blogspot.com/___ Pd-announce mailing list pd-annou...@iem.at

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Jonathan Wilkes
- Original Message - From: Mathieu Bouchard ma...@artengine.ca To: Jonathan Wilkes jancs...@yahoo.com Cc: katja katjavet...@gmail.com; pd-list@iem.at pd-list@iem.at Sent: Wednesday, November 9, 2011 2:45 PM Subject: Re: [PD] how to capture window-related mouse-events when toxy is

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread katja
On Wed, Nov 9, 2011 at 7:00 PM, Mathieu Bouchard ma...@artengine.ca wrote: Are we comparing percentages with an equivalent 2-D GEO ? E.g. a radiobutton that has n=8 needs between 9 and 12 canvas items. This has to translate to between 9 and 12 GEM Geos. How many geos were used in the GEM test 

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Mathieu Bouchard
Le 2011-11-09 à 12:40:00, Jonathan Wilkes a écrit : How useful and typical is a radiobutton with n=1 ? Getting user input by dragging a rectangle is very useful and typical.  (See [cnv] help.) But does that work outside of [cnv], and does that work with radiobuttons ? Anyway, I think that

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Jonathan Wilkes
- Original Message - From: Mathieu Bouchard ma...@artengine.ca To: Jonathan Wilkes jancs...@yahoo.com Cc: katja katjavet...@gmail.com; pd-list@iem.at pd-list@iem.at Sent: Wednesday, November 9, 2011 5:30 PM Subject: Re: [PD] how to capture window-related mouse-events when toxy is

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Mathieu Bouchard
Le 2011-11-09 à 15:39:00, Jonathan Wilkes a écrit : - Original Message - From: Mathieu Bouchard ma...@artengine.ca (why does it always look like you click «Forward» to do a reply ?) But does that work outside of [cnv], and does that work with radiobuttons ? If by that you mean

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Mathieu Bouchard
Le 2011-11-09 à 21:57:00, katja a écrit : How many geos doesn't seem to matter much. A 'Gem gui object' could for example be a draggable geo with a texture, or a set of 5 geo's moving together when dragged. The cpu load caused by dragging is the same in both cases. It's like that whenever

Re: [PD] Interruption of audio / Loading sound into array

2011-11-09 Thread Mathieu Bouchard
Le 2011-11-08 à 10:40:00, Hans-Christoph Steiner a écrit : You have to remember that words can have different meanings in different contexts. We are not CS professors, this is the Pd list, so this context changes which meaning are most likely to be understood. If I were a CS professor or

Re: [PD] how to capture window-related mouse-events when toxy is discontinued?

2011-11-09 Thread Hans-Christoph Steiner
On Nov 9, 2011, at 2:44 PM, Mathieu Bouchard wrote: Le 2011-11-09 à 14:01:00, Hans-Christoph Steiner a écrit : ANother idea is to make a [tkzinc] object that allows people to make all sorts of GUI objects in Pd that are built on top of TkZinc's OpenGL. You mean that each [tkzinc] object

Re: [PD] biquad and like addition, subtraction, multiplication, division in source code

2011-11-09 Thread Hans-Christoph Steiner
My guess is that your 'pd-svn' is actually my 'trunk', so try this: find ~/pd-svn/ -type f -print0 | xargs -0 grep 'biquad~' .hc On Nov 9, 2011, at 9:35 PM, Olivier Baudry wrote: Hans-Christoph Thanks but this command dont work , There isn't a folder trunk inside pd-svn : Last