tipsy?

Mar 11, 2009 at 1:39am

tipsy?

Is there an object, or a neat trick to adapt drunk to take absolute steps – so if the step size is 3 it will only takes steps of 3 rather than (0), 1, 2, and 3.

I thought I could easily do it by making the step size 1 then using scale but drunk doesn’t seem to output on a bang if the step size is 1.

thanks.

#42781
Mar 11, 2009 at 2:07am

Try the same thing you did but with step size of 2(help file says, “maximum is value – 1″).

#153164
Mar 11, 2009 at 2:08am

How about this…

– Pasted Max Patch, click to expand. –
#153165
Mar 11, 2009 at 2:15am

sorry, one more, if you wanted to use the drunk object, you could tweak this:

– Pasted Max Patch, click to expand. –
#153166
Mar 11, 2009 at 2:17am

You might want to set your step size to 2 (or -2 if you don’t want steps of 0 to occur) and then connect a [* 3.] object to its outlet. You will need to scale your range to fit this. Have a look at the patch below.

lh

– Pasted Max Patch, click to expand. –
#153167
Mar 11, 2009 at 5:03am

Thanks for all the posts,

I ended up sorting it our with scale – I’d confused myself with the wrong scaling.
thanks.

#153168

You must be logged in to reply to this topic.