Forums > MaxMSP

single to double digit numbers

Mar 28 2013 | 3:53 am


I am very likely doing this the long winded way. But i made a patch that converts all numbers that pass into double digits

for example 1,2,3,4,5 becomes 01,02,03,04,05 but also allows 11,12,13,14,15,16 to pass too ,

So everything between 0-99 becomes a double figure number.

the patch works fine , but when i try to pass numbers through very fast it , becomes jumbled up.

i think it is something to do with timing or positioning of objects? i used (deferlow) which helped a fair bit.

i’ve attached the patch. i’m hoping there is a more simple way , but hopefully someone can tell me what i did wrong.

thanks. : )

-- Pasted Max Patch, click to expand. --

Mar 28 2013 | 7:04 am

i found

(combine h @triggers 0 @padding 2) fed into a sprintf allowed me to build up the message i needed and at a very fast rate without a glitch.

: )

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

Forums > MaxMSP