Re: [PD] Problems to substract

2008-01-13 Thread raul diaz
Hi! I think a counter approach with a changing jump could be the easiest way as Frank suggested, and no c/c++ programation would be necessary (Pd is easier!). Look at attached patch Javier! My two cents! ;-) Saludos. 2008/1/3, Steffen Leve Poulsen [EMAIL PROTECTED]: Hi Javier You could

Re: [PD] Problems to substract

2008-01-03 Thread Steffen Leve Poulsen
Hi Javier You could trigger the counter with the count. see attached mvh Steffen Leve Poulsen Javier Garcia skrev: Hi, im trying to create a patch with a counter that when i send a bang I substract a quantity (that i specify) to the count. The sequence would be this for example: 1 - 2-

Re: [PD] Problems to substract

2008-01-02 Thread Alexandre Quessy
Hi ! Using a demultiplex after the float works well. See the attached example. a 2008/1/2, Javier Garcia [EMAIL PROTECTED]: Hi, im trying to create a patch with a counter that when i send a bang I substract a quantity (that i specify) to the count. The sequence would be this for

Re: [PD] Problems to substract

2008-01-02 Thread Frank Barknecht
Hallo, Javier Garcia hat gesagt: // Javier Garcia wrote: im trying to create a patch with a counter that when i send a bang I substract a quantity (that i specify) to the count. The sequence would be this for example: 1 - 2- 3 - 4 - 5 - 6 - 7 (bang) - 4 - 5 (bang) - 2 - 3 - ... I've

Re: [PD] Problems to substract

2008-01-02 Thread Frank Barknecht
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote: I assume you use the standard fx+1 counter idiom to build a counter in Pd. But now you want to temporarily add not 1, but a different value, say: -2 to the current counter value. For that, just set the value of the + 1 object to -2

Re: [PD] Problems to substract

2008-01-02 Thread [EMAIL PROTECTED]
Garcia: im trying to create a patch with a counter that when i send a bang I substract a quantity (that i specify) to the count. I've tried several ways, but i dont get it.. the easiest way is to write this counter on c/c++. (and this would costs much less cpu for patch)

Re: [PD] Problems to substract

2008-01-02 Thread Roman Haefeli
On Thu, 2008-01-03 at 03:04 +0700, [EMAIL PROTECTED] wrote: Garcia: im trying to create a patch with a counter that when i send a bang I substract a quantity (that i specify) to the count. I've tried several ways, but i dont get it.. the easiest way is to write this counter on c/c++.

Re: [PD] Problems to substract

2008-01-02 Thread Frank Barknecht
Hallo, [EMAIL PROTECTED] hat gesagt: // [EMAIL PROTECTED] wrote: Garcia: im trying to create a patch with a counter that when i send a bang I substract a quantity (that i specify) to the count. I've tried several ways, but i dont get it.. the easiest way is to write this counter on