[PD] Problems to substract

Frank Barknecht fbar at footils.org
Wed Jan 2 20:53:52 CET 2008


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" for one iteration of the counter, then reset
> it it to 1 again immediatly after the counter has fired.  You
> can use a trigger object to schedule the logic flow here. 

Attached is a solution, but you may want to try my approach on your
own first.

Ciao
-- 
 Frank Barknecht                                     _ ______footils.org__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jumpcount.pd
Type: application/puredata
Size: 532 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080102/cb3dae61/attachment.bin>


More information about the Pd-list mailing list