Count~ problem…

Dec 23, 2010 at 1:50pm

Count~ problem…

I don’t know how to report max value out from count !!

– Pasted Max Patch, click to expand. –
#53827
Dec 23, 2010 at 2:13pm

If you’re patient enough, you may get 44099…
As count~‘s output is sampled every 1ms by snapshot~ (and every 100ms by number~), i.e 44.1 samples, the precision is about 44 samples.

If you need to work at a sample precision, then stay in MSP.

#193753
Dec 23, 2010 at 2:21pm

yes, thank you, i’ve just found that too, but why is it 44099, and not 44100 ?

– Pasted Max Patch, click to expand. –
#193754
Dec 23, 2010 at 5:22pm

Because the count limit is an integer modulo, the maximum output is always 1 less than the set count limit. It mentions this in the help file of [count~ ].

#193755

You must be logged in to reply to this topic.