Computing numbers: Inc/Decrement/Wave Wrap Counter [newbie]

Dec 23, 2013 at 10:57am

Computing numbers: Inc/Decrement/Wave Wrap Counter [newbie]

Hi,
(sorry for my question i did’nt find in the forum)

Using counter i can change:
- min sending message “setmin $1″ in first box input
- max using last box input called “set count max”

I tried using “carry” that bang when count hit max to increment (+1 ) the “set count max” but it doesn’t start again and increments to infinite.

Any solution to get:
1 2 3/ 2 3 4/ 3 4 5/ 5 6 7 for example?

Here’s the patch that failed…
Thanks a lot for any feedback :-)

#276570
Dec 23, 2013 at 11:46am

<code>

– Pasted Max Patch, click to expand. –

</code>

#276582
Dec 23, 2013 at 2:58pm

Thanks a lot Chris,

I’d love to think that way,
hope it ll come with time.

it’s kind of a backward way of using it to me ;-)

#276600
Dec 23, 2013 at 3:43pm

Hi
I’m trying to change the count to down and up&down directions,
and also to restart it after a number but with “coherent” transition,
as for number around a circle. (with a view of spacialization )
for ex limit to 7:
123/234/345/456/567/671/712/123/…

Sorry for my Newbeing !
( I try as much as I can… )

#276604
Dec 23, 2013 at 4:30pm

Well,
still stuck I’m wondering why “carry count” doesn’t continue while in down mode…
<code>

– Pasted Max Patch, click to expand. –

</code>

#276607
Dec 26, 2013 at 9:46am

Hi there,
so I tried with a sel but no success,
maybe the disposition from right to left that doesn’t make the calculation in the right order?
Any hint?

Thanks a lot

<pre>

– Pasted Max Patch, click to expand. –

</code></pre>

#276709
Dec 26, 2013 at 10:09am

<code>

– Pasted Max Patch, click to expand. –

</code>

#276711
Dec 26, 2013 at 11:00pm

Weird, I can’t get the carry count to work in downward mode either.

Here’s a way to do it for each direction, avoiding zeros, using pong to wrap the values like you described:

– Pasted Max Patch, click to expand. –

</code>

Pong is weird in the downward direction too – it seems to take one “wrap” for it to output the correct range, which is why I stuck those range messages in there to be banged after the first wrap.

#276735
Dec 29, 2013 at 5:08pm

Thanks Charlie but i don’t see where the problem comes from ,
I ‘m usually using isadora software that intergrates a wrap counter,
it’s amazing how this is hard in max… just to make several series of number,
but i’m sure there should be a simpliest way of doing: ( in 4 ie )

- 1 2 3 2 3 4 3 4 1 4 1 2 1 2 3 …
_ 1 4 3 4 3 2 3 2 1 2 1 4 1 4 3 …
_ 1 2 3 4 3 2 1 2 3 4 1 4 3 2 3 4 1 2 1 4 3 …

and being able to change min/ max and interval of counting,
I think I’m going to give up ;-ù

#276911
Jan 2, 2014 at 4:43pm

any help?

#277211
Jan 10, 2014 at 10:53pm

Please?

#277978
Jan 11, 2014 at 4:43am

Here’s a patch that produces the up and down with a variable maximum

<code>

– Pasted Max Patch, click to expand. –

</code>

#277995
Jan 19, 2014 at 5:00pm

thanks a lot Rick,
i’ll dig in it seems a clever solution !

#278630
Jan 20, 2014 at 11:39am

Looks like I was a bit too clever, somethings not quite right. Here’s another take on the patch.

<code>

– Pasted Max Patch, click to expand. –

</code>

#278666

You must be logged in to reply to this topic.