Forums > MaxMSP

Count~ problem…

December 23, 2010 | 1:50 pm

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

– Pasted Max Patch, click to expand. –

December 23, 2010 | 2:13 pm

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.


December 23, 2010 | 2:21 pm

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

– Pasted Max Patch, click to expand. –

December 23, 2010 | 5:22 pm

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~ ].


Viewing 4 posts - 1 through 4 (of 4 total)