[PD] Building a counter problem

Frank Barknecht fbar at footils.org
Sat Nov 5 22:29:46 CET 2005


Hallo,
Brad Kligerman hat gesagt: // Brad Kligerman wrote:

> I just want to count : 0,1,2,3,4,0,1,2,3,4,0,1,2... by continuously hitting
> a bang.
> Can somebody tell me why this isn't working?

Yes, see here:
http://royalrabbit.goto10.org/svn/goto10/pd-patches/fbar/tuts/counting.pd

You should use the float outlet for counting, and you can build a
restricted counter using [mod] (it's also called a "modulo-n-counter".

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the Pd-list mailing list