[PD] counter question

Derek Holzer derek at umatic.nl
Thu Jul 26 19:53:13 CEST 2007

Of course, I'm referring to this classic counter structure, just in case 
it wasn't clear...

[f]x[+ 1] (crossed patch cables)


outlet of [f] connected to left/hot inlet of [+ 1]
outlet of [+ 1] connected to right/cold inlet of [f]


Derek Holzer wrote:
> If I use a simple counter structure that continues to generate a number 
> from [f] & [+1] at every bang, and use [mod] to keep that number within 
> certain bounds, then eventually it will require more and more memory to 
> hold the number coming from [f], right? Is this a potential memory leak, 
> or is there a cap to how much memory it will hold?
> Likewise, is there a max limit to the number that can be stored in [f]? 
> I've seen that [f] resets itself somewhere around 8.394e+06. Does that 
> mean that [f] resets itself and clears the memory?
> Or in less-theoretical and more practical terms, would it make sense to 
> reset [f] to 0 every so often, or let it run forever towards infinity?
> best,
> d.

derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 98:
"Is the tuning appropriate?"

More information about the Pd-list mailing list