Forums > MaxMSP

double pressure on key 32 far activate anything

June 1, 2011 | 11:35 pm

Dear all

I research possibility with key as for example escape key 32 to do this one pressure activate ezdac two pressure on key 32 desactivate ezdac


June 1, 2011 | 11:43 pm

You mean something like this?

– Pasted Max Patch, click to expand. –

BTW, key 32 is the space bar, not the escape key.


June 5, 2011 | 3:58 pm

Yes you are right and space is key 32 my idea is two pressure on key 32 activate on pressure on key 32 is desactivate


June 6, 2011 | 1:09 pm

Hi – please use punctuation and make sure you are as clear and intelligible as possible.

I assume you mean something like this:

– Pasted Max Patch, click to expand. –

If you hit spacebar once, it deactives – if you hit it twice (like a double-click) then it activates [ezdac~]. Play around with the [del] values to find a number you feel is satisfactory (150ms does it for me).

There are a million other ways to do it, using [timer], [counter], [metro], [zl] etc etc.


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