Re: [PD] libpd separating gui from core

2014-02-21 Thread Jonathan Wilkes
On 02/20/2014 09:50 PM, Rich E wrote: On Wed, Feb 19, 2014 at 12:07 AM, Jonathan Wilkes jancs...@yahoo.com mailto:jancs...@yahoo.com wrote: On 02/18/2014 11:11 PM, Rich E wrote: On Mon, Jan 13, 2014 at 5:35 PM, Dan Wilcox danomat...@gmail.com mailto:danomat...@gmail.com

Re: [PD] libpd separating gui from core

2014-02-21 Thread Charles Goyard
Hi, just to give some example of single vs multi-threaded, and some comparison points. - projects like haproxy and lighthttpd show that good state machine programming can be more efficient that multi-threaded programming, even on multi-core computers. BUT they handle a much reduced number of use

Re: [PD] libpd separating gui from core

2014-02-21 Thread Simon Wise
On 21/02/14 20:41, Charles Goyard wrote: Hi, just to give some example of single vs multi-threaded, and some comparison points. - projects like haproxy and lighthttpd show that good state machine programming can be more efficient that multi-threaded programming, even on multi-core computers.

Re: [PD] Workshop on Audio Plug-Ins Design in Faust (Romain Michon)

2014-02-21 Thread Bart Brouns
Hi, Faust is is a great complement to pd, as it makes light work of some things that are hard or impossible in pd, like good documentation, sharing programs, and 1 sample feedback loops. Will the course material be available online? Best, Bart. On Thu, 2014-02-20 at 12:00 +0100,

Re: [PD] libpd separating gui from core

2014-02-21 Thread Charles Goyard
Hi, In the case of PD, maybe just a good mix of libpd and a generalization of pd~ can improve things much. [pd~] deals with the particular case of creating an extra dsp thread, it incurs overhead to do so and does not isolate the dsp from a busy patch. It is quite orthogonal to creating

Re: [PD] t_scalar member sc_vec

2014-02-21 Thread Charles Goyard
Hi, Sorry for this question, but why isn't sc_vec a good old pointer ?     t_gobj sc_gobj; /* header for graphical object */     t_symbol *sc_template;  /* template name (LATER replace with pointer) */     t_word sc_vec[1];   /* indeterminate-length array of words */ } t_scalar;

Re: [PD] Game Audio abstractions- how to publish?

2014-02-21 Thread Filippo Beck Peccoz
Hi Tony, just put it on Github- hope I did everything right :) https://github.com/fbpsound/pip_abstractions . Will be working on the help patches this WE. Thanks again for your input! Cheers, Filippo On Feb 19, 2014, at 4:36 PM, Tony Hillerson tony.hiller...@gmail.com wrote: Filippo,

Re: [PD] t_scalar member sc_vec

2014-02-21 Thread Ivica Bukvic
Because this way you can reference data points with sc_vec+n as opposed to dealing with single or double linked lists (since sc_vec can be an array). On Feb 21, 2014 7:26 AM, Charles Goyard c...@fsck.fr wrote: Hi, Sorry for this question, but why isn't sc_vec a good old pointer ? t_gobj

[PD] how can you know if [pix_fiducialtrack] tracks a shape or not?

2014-02-21 Thread Alexandros Drymonitis
Once [pix_fiducialtrack] tracks a shape, you get a list which is the shape's ID, x/y coordinates and rotation angle. Once a certain shape has been tracked, how can you tell the difference between the shape being still and not being visible by the camera? Can you obtain any data for a shape

Re: [PD] t_scalar member sc_vec

2014-02-21 Thread Jonathan Wilkes
On 02/21/2014 09:00 AM, Ivica Bukvic wrote: Because this way you can reference data points with sc_vec+n as opposed to dealing with single or double linked lists (since sc_vec can be an array). If sc_vec is a pointer then you can access data points using the same technique, which is

Re: [PD] libpd separating gui from core

2014-02-21 Thread Jonathan Wilkes
On 02/21/2014 06:41 AM, Simon Wise wrote: On 21/02/14 20:41, Charles Goyard wrote: Hi, just to give some example of single vs multi-threaded, and some comparison points. - projects like haproxy and lighthttpd show that good state machine programming can be more efficient that multi-threaded

Re: [PD] t_scalar member sc_vec

2014-02-21 Thread Miller Puckette
It's more efficient (especially in terms of memory) to keep the two things contiguously in memory than to have to chase an additional pointer to the array. In C it looks almost the same (arrays and their pointers are both specified by naming the arraym but sizeof will act differently for

[PD] CUTE 2014 workshop, March 12-15, Mons, Belgium

2014-02-21 Thread Miller Puckette
Hi all - THere's a free 4-day workshop March 12-15 in Mons, Belgium, given by Sebastien Rooy, Christophe d'Alessandro, Marc Leman, and me: http://checkthis.com/cute2014 (Marc and I will operate in Englich and Sebastien and Christophe in French). THere's a sign-up page here:

[PD] threads in pd, dataflow

2014-02-21 Thread Simon Wise
On 22/02/14 06:28, Jonathan Wilkes wrote: On 02/21/2014 06:41 AM, Simon Wise wrote: Something to really make pd parallel would involve treating fan-outs as opportunities for the interpreter to launch each branch in a new thread, implementing the inherent parallelism in the dataflow paradigm