Hello,
I have built a counter that counts from 1 to 19 and then starts again from the beginning.
It reads the values from the array. However I would like it to stop after it reads the values three times. I was thinking of using another counter to do that. Any suggestions? Where should I put the other counter and how would it work?
Thanks for your help.
On 20.11.2010 14:51, 2bad4you@london.com wrote:
Hello,
I have built a counter that counts from 1 to 19 and then starts again from the beginning.
It reads the values from the array. However I would like it to stop after it reads the values three times. I was thinking of using another counter to do that. Any suggestions? Where should I put the other counter and how would it work?
You could count from 0 to 3*19, and then use [mod 19] and [+ 1] to get the desired values from 0 to 19. When you read 3*19, stop it.
By the way: The "standard way" in Pd to do a counter is to use the [f] X [+ 1] idiom.
"Spielen Sie Strip Schnipp-Schnapp?" (Adam Weishaupt to Johann Wolfgang von Goethe in: Robert Shea & Robert A. Wilson, The Golden Apple) http://www.residuum.org/
maybe something like this ? (attached) gr, Tim
2010/11/20 2bad4you@london.com
Hello,
I have built a counter that counts from 1 to 19 and then starts again from the beginning.
It reads the values from the array. However I would like it to stop after it reads the values three times. I was thinking of using another counter to do that. Any suggestions? Where should I put the other counter and how would it work?
Thanks for your help.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello,
Not sure it's the best way to do it but as a beginner too, i would do it this way
2010/11/20 2bad4you@london.com
Hello,
I have built a counter that counts from 1 to 19 and then starts again from the beginning.
It reads the values from the array. However I would like it to stop after it reads the values three times. I was thinking of using another counter to do that. Any suggestions? Where should I put the other counter and how would it work?
Thanks for your help.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list