Re: [PD] select issues

2007-11-29 Thread Chuckk Hubbard
On Nov 29, 2007 8:45 PM, Martin Peach <[EMAIL PROTECTED]> wrote: > What is [select] supposed to do with a list? Just select based on the first > element? I think it should reject lists altogether and suggest the use of > [route]. I agree with Martin. [route] is meant for lists, [select] is meant

Re: [PD] non-selectable data structure

2007-11-29 Thread Chuckk Hubbard
On Nov 30, 2007 2:25 AM, gilberto bernardes <[EMAIL PROTECTED]> wrote: > Dear all > > Can someone tell me please if there is any way to keep a structure (in a > data structure patch) non-selectable? An -x at the beginning of [drawpolygon] will make it so. The help patch for [drawpolygon] mentions

Re: [PD] select issues

2007-11-29 Thread Chris McCormick
On Thu, Nov 29, 2007 at 10:27:07PM +0100, Frank Barknecht wrote: > Roman Haefeli hat gesagt: // Roman Haefeli wrote: > > On Thu, 2007-11-29 at 12:56 -0500, Hans-Christoph Steiner wrote: > > > On Nov 29, 2007, at 12:36 PM, Roman Haefeli wrote: > > > > yeah, please don't change its behaviour only in

Re: [PD] About editing pdpedia

2007-11-29 Thread PSPunch
Hans, Problem solved. When the pages were imported from the original English page, the line [[Category:vanilla]] in all pages were replaced with [[XX:vanilla]] where XX is the translated term for 'Category'. This should have remained untranslated for MediaWiki to parse properly and a

[PD] non-selectable data structure

2007-11-29 Thread gilberto bernardes
Dear all Can someone tell me please if there is any way to keep a structure (in a data structure patch) non-selectable? There is any flag who makes this. Could someone give me also an example please. Thanks in advance. All the best, Gilberto ___

Re: [PD] select issues

2007-11-29 Thread marius schebella
got it. but it does not explain, the following: [select 1 2 3] has only one input. so no need to distribute anything. then send the message [4 4 4 4( no bang on the first outlet, but on the last one, but why is still only the first element on the list passed? just want to point out, that select j

Re: [PD] select issues

2007-11-29 Thread Roman Haefeli
On Thu, 2007-11-29 at 22:37 +0100, Frank Barknecht wrote: > Hallo, > Roman Haefeli hat gesagt: // Roman Haefeli wrote: > > > hm. i'd rather say, that the error messages it outputs are inconsistent. > > the help-file says, that it accepts numbers and symbols. i'd expect it > > to output an error, w

Re: [PD] select issues

2007-11-29 Thread Frank Barknecht
Hallo, Roman Haefeli hat gesagt: // Roman Haefeli wrote: > hm. i'd rather say, that the error messages it outputs are inconsistent. > the help-file says, that it accepts numbers and symbols. i'd expect it > to output an error, whenever a non-symbol or non-number message is > received. however, wha

Re: [PD] select issues

2007-11-29 Thread Frank Barknecht
Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote: > Hmm, I suppose it should pass thru every thing unmodified on the > right outlet. Can anyone think of any problems or disadvantages of > [select] just outputting the unmatched input intact on the right outlet? Yes, I

Re: [PD] select issues

2007-11-29 Thread Frank Barknecht
Hallo, Roman Haefeli hat gesagt: // Roman Haefeli wrote: > On Thu, 2007-11-29 at 12:56 -0500, Hans-Christoph Steiner wrote: > > On Nov 29, 2007, at 12:36 PM, Roman Haefeli wrote: > > > yeah, please don't change its behaviour only in pd-extended, so that > > > patches created in pd-extended can cau

Re: [PD] select issues

2007-11-29 Thread marius schebella
Martin Peach wrote: > What is [select] supposed to do with a list? Just select based on the first > element? I think it should reject lists altogether and suggest the use of > [route]. I think yes, reject it or output it untouched at the right inlet. m. _

Re: [PD] select issues

2007-11-29 Thread Martin Peach
What is [select] supposed to do with a list? Just select based on the first element? I think it should reject lists altogether and suggest the use of [route]. Martin ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists

Re: [PD] select issues

2007-11-29 Thread Roman Haefeli
On Thu, 2007-11-29 at 12:56 -0500, Hans-Christoph Steiner wrote: > On Nov 29, 2007, at 12:36 PM, Roman Haefeli wrote: > > > On Thu, 2007-11-29 at 10:46 -0500, Hans-Christoph Steiner wrote: > >> Hmm, I suppose it should pass thru every thing unmodified on the > >> right outlet. Can anyone think of

Re: [PD] select issues

2007-11-29 Thread Roman Haefeli
On Thu, 2007-11-29 at 03:12 -0500, marius schebella wrote: > hi, > I just found out, that [select] only throughputs floats and symbols, but > not lists. > > [1 2 3 4 5( > | > [sel bla] > > will only output "1" on the right outlet, but not a the whole list. that > is quite a limitation. but...

Re: [PD] select issues

2007-11-29 Thread Hans-Christoph Steiner
On Nov 29, 2007, at 12:36 PM, Roman Haefeli wrote: > On Thu, 2007-11-29 at 10:46 -0500, Hans-Christoph Steiner wrote: >> Hmm, I suppose it should pass thru every thing unmodified on the >> right outlet. Can anyone think of any problems or disadvantages of >> [select] just outputting the unmatche

Re: [PD] select issues

2007-11-29 Thread Hans-Christoph Steiner
On Nov 29, 2007, at 12:46 PM, marius schebella wrote: > I think [select] always worked that way since the beginning of Pd. > it is also the case in max. I don't know if it is a good idea to > change the behaviour, since it is easy to find a work around and > might brake patches. If someone

Re: [PD] select issues

2007-11-29 Thread marius schebella
I think [select] always worked that way since the beginning of Pd. it is also the case in max. I don't know if it is a good idea to change the behaviour, since it is easy to find a work around and might brake patches. but personally, of course I would like to see the change, at least it needs to

Re: [PD] select issues

2007-11-29 Thread Roman Haefeli
On Thu, 2007-11-29 at 10:46 -0500, Hans-Christoph Steiner wrote: > Hmm, I suppose it should pass thru every thing unmodified on the > right outlet. Can anyone think of any problems or disadvantages of > [select] just outputting the unmatched input intact on the right outlet? yeah, please don'

Re: [PD] select issues

2007-11-29 Thread Hans-Christoph Steiner
Hmm, I suppose it should pass thru every thing unmodified on the right outlet. Can anyone think of any problems or disadvantages of [select] just outputting the unmatched input intact on the right outlet? .hc On Nov 29, 2007, at 3:12 AM, marius schebella wrote: > hi, > I just found out, th

Re: [PD] Beginners query: Calculating mouse speed

2007-11-29 Thread Hans-Christoph Steiner
[MouseState] in cyclone gives you something like speed (change in postion) in addition to pixel positions. .hc On Nov 29, 2007, at 4:40 AM, Rebecca Schatz wrote: Hi, I have a really simple question: Does anyone know how to make a patch that will give me the speed the mouse is moving? I

Re: [PD] About editing pdpedia

2007-11-29 Thread Hans-Christoph Steiner
On Nov 29, 2007, at 12:24 AM, PSPunch wrote: > > Hans, > > >> The lists are built automatically by mediawiki from every page >> that has >> [[Category:objectclass]] and [[Category:vanilla]] in it. > > In this case, 'Category' and 'Object class' is replaced by the > localized > term defined in

Re: [PD] Beginners query: Calculating mouse speed

2007-11-29 Thread Frank Barknecht
Hallo, Rebecca Schatz hat gesagt: // Rebecca Schatz wrote: > I have a really simple question: Does anyone know how to make a patch that > will give me the speed the mouse is moving? I'm on windows and am using > gemmouse to get the position. A handy idiom to get the difference between a value's

Re: [PD] Beginners query: Calculating mouse speed

2007-11-29 Thread PSPunch
Hi, One easy way would be to measure the number of pixels the mouse had moved since the previous frame. I attached an example that spits out 20 values per second, each number is the number of pixels the cursor has travelled since the previous frame. This patch only measures in the horizontal

[PD] Beginners query: Calculating mouse speed

2007-11-29 Thread Rebecca Schatz
Hi, I have a really simple question: Does anyone know how to make a patch that will give me the speed the mouse is moving? I'm on windows and am using gemmouse to get the position. Thanks in advance! Rebecca. ___ PD-list@iem.at mailing list UNSUBSCRIBE

Re: [PD] hex loader

2007-11-29 Thread IOhannes m zmoelnig
Hans-Christoph Steiner wrote: > By the way, I just read thru the whole hexloader README. Looks like > nice work, I think you covered every possibility that I could think > of :) > ah, finally someone who acknowledges my hard labour :-) fgmadsf rIOhannes

[PD] select issues

2007-11-29 Thread marius schebella
hi, I just found out, that [select] only throughputs floats and symbols, but not lists. [1 2 3 4 5( | [sel bla] will only output "1" on the right outlet, but not a the whole list. that is quite a limitation. but... ok. marius. ___ PD-list@iem.at ma