How to Create Simple Dual Function Button for BU16? | Intech Studio
💬 general Grid

How to Create Simple Dual Function Button for BU16?

Illumashroom · · 18 replies

Hey. I'm trying to create a dual fuction button for Resolume grid that has just short press on and long press on, no off required. The idea is that a short press will activate a clip, and a long press will preview a clip (after which the button returns to it's origianal state). Any suggestions on how to do this would be welcome? Thanks

Replies (18)

narayb narayb ·

We have a similar concept in Profile Cloud called "Longpress". Try it out, maybe modify it!

Illumashroom ·

Looking now. Thanks

Illumashroom ·

Yes, I tried this one already, but I can't seem to get it to function in the way i need. I'm new to Grid, so please bear with me....

narayb narayb ·

What trouble did you run into when trying it?

Illumashroom ·

Okay, first of all its an on/off toggle for the short press, and secondly the LED doesn't return to it's original state after the long press?

narayb narayb ·

Are you using this config?

image.png
Illumashroom ·

Yes

narayb narayb ·

Both interactions are toggles in this one.

narayb narayb ·

Press states are indicated by LED brightness, longpress states are indicated by a red color.

Illumashroom ·

Okay, but i don't want the toggle, just short press on and long press on, so i can select 2 different items with one button, but don't need to turn them off? The software will turn them off when a selection is made with a different button...

narayb narayb ·

How would you differentiate a short press from a long one? When would Grid send the message if the press is a short one? On release?
Do you need a message with 0 value?

Because if not, I made a quick edit of the above config. Give it a try!

image.png
narayb narayb ·

The above will only send 127 values on "release".

narayb narayb ·

And will not send 0 values ever.

narayb narayb ·

Both reaching the longpress timer and releasing the button before that sends out a CC message.

narayb narayb ·

If you'd want to adjust the hold time for longpress, change the time variable here in miliseconds.

image.png
narayb narayb ·

If you would like to adjust the CC values, you can do so in the MIDI blocks under button (shortpress) and timer (longpress).

Illumashroom ·

Many thanks, this is close. I will come back to you later once i've had a chance to play with it. Nice one

Illumashroom ·

Now works perfectly - just had to change the MIDI on both presses from CC to Note On....

Discord

View on Discord

This post is from the Intech Studio Discord community.

Open thread →