Needing help with a endless dial

alersito's icon

Well, when i turn right print 1 but when the turn is complete print 0 and

when i turn left print 0 but when the turn is complete print 1.

I would like print always 1 if i turn righ the dial and print always 0 if i turn left the dial.

Max Patch
Copy patch and select New From Clipboard in Max.

Is it possible?

Tj Shredder's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Much easier than you think it should be:

alersito's icon

Thanksss!! Yep much easier but when the dial value is 0 the error appear. Turn right and see the print.

:(

Tj Shredder's icon

This is only because the dial is set to circular mousing, which never is clear. set it to vertical, and you'll be happy...
I never understood how one would ever want circular mousing, and I strongly recommend a different default. Circular is simply useless, you will be punished automatically if you use it, no law necessary...;-)

Max Patch
Copy patch and select New From Clipboard in Max.

If you want to exclude occasional zeros, you can do it like that:

Stefan

Tj Shredder's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Sorry for no treading the original topic correctly. The dial in your patch was clipped (default) and not endless.
This should fix your problem:

alersito's icon

Thanksss stefantiedje!!!

Roman Thilenius's icon

shouldnt it be 1 and -1? :)

Rodrigo's icon

I would think that would be better.

Here it is doing 1/-1 with an accum in the mix.

Max Patch
Copy patch and select New From Clipboard in Max.

alersito's icon

I have seen another posibilty. Its a mixer patch between stefan and another patch i have seen.

This patch is to control the jog in some programs like traktor, virtual dj, etc.

Thankss to everybody! This patch is to control a jog in some programs like traktor, virtual dj, etc.

Max Patch
Copy patch and select New From Clipboard in Max.