Hi
when I press the message pd starts working at 100%, until I kill it from
the outside. I thought that it would generate the numbers and then set the
float to 0, but maybe not. Can anyone tell me what's happening?
You don't have to worry about a sollution, I was just interested to know
what seems to be the problem. I thought that the circuit of the right-side
bang would be finished before the left-side bang would be activated.
(obviously not)
thanks,
joao
Hallo, João Miguel Pais hat gesagt: // João Miguel Pais wrote:
when I press the message pd starts working at 100%, until I kill it from
the outside. I thought that it would generate the numbers and then set the
float to 0, but maybe not. Can anyone tell me what's happening?
That's easy: You never stop the [until], so it will try to run forever!
[until] needs to be stopped by a bang in its right inlet. Alternatively you can start the [until] by sending a float instead of a bang to its left inlet. Then it will send only as many bangs, as the float specifies. Sending a bang to [until] always is a bit dangerous, as little errors in a patch can get in the way of the "stop"-bang to until, and then you have a stack overflow. However in your case, you didn't even try to stop the [until] ;)
Frank Barknecht _ ______footils.org_ __goto10.org__
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
João Miguel Pais hat gesagt: // João Miguel Pais wrote:
when I press the message pd starts working at 100%, until I kill it from
the outside. I thought that it would generate the numbers and then set the
float to 0, but maybe not. Can anyone tell me what's happening?That's easy: You never stop the [until], so it will try to run forever!
I forgot to say: If you replace the [t b b] with [t b f] all is fine again.
However you may want to send the final 0 to the [f]'s right inlet. Otherwise your counter will count like this (check with [print]): 0 1 2 ... 499 0
Most people don't want that final 0.
Frank Barknecht _ ______footils.org_ __goto10.org__