Re: [PD] route - pack issue

2011-07-13 Thread Hans-Christoph Steiner
On Jul 12, 2011, at 2:13 PM, Mathieu Bouchard wrote: On Fri, 8 Jul 2011, Ivica Ico Bukvic wrote: Many thanks for this contribution! I will add this to pd-l2ork. However, shouldn't also route output bang when having an empty list? Should pd's message system leave this responsibility to

Re: [PD] route - pack issue

2011-07-12 Thread Mathieu Bouchard
On Fri, 8 Jul 2011, Ivica Ico Bukvic wrote: Many thanks for this contribution! I will add this to pd-l2ork. However, shouldn't also route output bang when having an empty list? Should pd's message system leave this responsibility to each individual class ? If it does, problems like this will

Re: [PD] route - pack issue

2011-07-12 Thread Mathieu Bouchard
On Thu, 7 Jul 2011, Joe White wrote: This is connected to a [pack f]. When I bang the start message the route object outputs a bang, which in turn should output the stored number in the pack object. However, this does not happen (which is the problem).  If I connect a [t b] after the [route]

Re: [PD] route - pack issue

2011-07-09 Thread Ivica Ico Bukvic
Jonathan Wilkes jancs...@yahoo.com wrote: --- On Fri, 7/8/11, Ivica Ico Bukvic i...@vt.edu wrote: From: Ivica Ico Bukvic i...@vt.edu Subject: RE: [PD] route - pack issue To: Jonathan Wilkes jancs...@yahoo.com Cc: pd-list@iem.at Date: Friday, July 8, 2011, 8:12 PM Jonathan Wilkes

Re: [PD] route - pack issue

2011-07-09 Thread Jonathan Wilkes
--- On Sat, 7/9/11, Ivica Ico Bukvic i...@vt.edu wrote: From: Ivica Ico Bukvic i...@vt.edu Subject: RE: [PD] route - pack issue To: Jonathan Wilkes jancs...@yahoo.com Cc: pd-list@iem.at Date: Saturday, July 9, 2011, 10:33 AM Jonathan Wilkes jancs...@yahoo.com wrote: --- On Fri

Re: [PD] route - pack issue

2011-07-08 Thread Ivica Ico Bukvic
static void pack_list(t_pack *x, t_symbol *s, int ac, t_atom *av) { if (ac==0) pack_bang(x); else obj_list(x-x_obj, 0, ac, av); } Many thanks for this contribution! I will add this to pd-l2ork. However, shouldn't also route output bang when having an empty list?

Re: [PD] route - pack issue

2011-07-08 Thread Jonathan Wilkes
--- On Fri, 7/8/11, Ivica Ico Bukvic i...@vt.edu wrote: From: Ivica Ico Bukvic i...@vt.edu Subject: RE: [PD] route - pack issue To: 'Jonathan Wilkes' jancs...@yahoo.com Cc: pd-list@iem.at Date: Friday, July 8, 2011, 4:54 PM static void pack_list(t_pack *x, t_symbol *s, int ac, t_atom

Re: [PD] route - pack issue

2011-07-08 Thread Ivica Ico Bukvic
Jonathan Wilkes jancs...@yahoo.com wrote: --- On Fri, 7/8/11, Ivica Ico Bukvic i...@vt.edu wrote: From: Ivica Ico Bukvic i...@vt.edu Subject: RE: [PD] route - pack issue To: 'Jonathan Wilkes' jancs...@yahoo.com Cc: pd-list@iem.at Date: Friday, July 8, 2011, 4:54 PM static void

Re: [PD] route - pack issue

2011-07-08 Thread Jonathan Wilkes
--- On Fri, 7/8/11, Ivica Ico Bukvic i...@vt.edu wrote: From: Ivica Ico Bukvic i...@vt.edu Subject: RE: [PD] route - pack issue To: Jonathan Wilkes jancs...@yahoo.com Cc: pd-list@iem.at Date: Friday, July 8, 2011, 8:12 PM Jonathan Wilkes jancs...@yahoo.com wrote: --- On Fri, 7

[PD] route - pack issue

2011-07-07 Thread Joe White
Hi list, I've been doing some patching with [route] and came across a problem - I'd love it if someone could explain why this happens otherwise I think it's a bug. Basically I'm sending a message with one item to a route object with an argument of the same name. For example: [start ( | [route

Re: [PD] route - pack issue

2011-07-07 Thread Jack
Yep, there is a bug. For a workaround, you can add a [bang( message between [route] and [pack]. ++ Jack Le jeudi 07 juillet 2011 à 17:44 +0100, Joe White a écrit : Hi list, I've been doing some patching with [route] and came across a problem - I'd love it if someone could explain why

Re: [PD] route - pack issue

2011-07-07 Thread Joe White
Yeah, thought as much. Just a bit annoying. Thanks, Joe On 7 July 2011 17:57, Jack j...@rybn.org wrote: Yep, there is a bug. For a workaround, you can add a [bang( message between [route] and [pack]. ++ Jack Le jeudi 07 juillet 2011 à 17:44 +0100, Joe White a écrit : Hi list,

Re: [PD] route - pack issue

2011-07-07 Thread Jonathan Wilkes
, Jack j...@rybn.org wrote: From: Jack j...@rybn.org Subject: Re: [PD] route - pack issue To: Joe White white.j...@gmail.com Cc: pd-list pd-list@iem.at Date: Thursday, July 7, 2011, 6:57 PM Yep, there is a bug. For a workaround, you can add a [bang( message between [route] and [pack

Re: [PD] route - pack issue

2011-07-07 Thread Jonathan Wilkes
...@yahoo.com wrote: From: Jonathan Wilkes jancs...@yahoo.com Subject: Re: [PD] route - pack issue To: Joe White white.j...@gmail.com, Jack j...@rybn.org Cc: pd-list pd-list@iem.at Date: Thursday, July 7, 2011, 7:44 PM [route] outputs an empty list which, for simplicity's sake, is supposed