Activate and deactivate a BMTP Preset with just one button?

  • Q&A Forum
  • [RESOLVED] Activate and deactivate a BMTP Preset with just one button?
-1
0

Hi folks,

New to the amazing world of BMTP, I wonder if there’s a way to activate and deactivate a BMTP Preset with just one button? I have quite a few resources-hungry presets (thousands of translators) standing side by side and at the moment each Preset has its pair of ON and OFF Midi Pads. It would be more elegant to toggle the Presets ON and OFF with just one MIDI Pad. I’d gladly invest a global variable per Preset to retain which state the toggle is in! Any ideas if that’s currently possible?

Cheers!

 

RESOLVED
Marked as spam
Posted by (Q&A Forum: 4, Answers: 4)
January 19, 2018 7:11 pm
42 views
0
Private answer

Sure, here is an example using a button on my Launchpad MINI. You should only need to change the default input device and note number for your setup.

 

 

Marked as spam
Posted by (Q&A Forum: 36, Answers: 3125)
January 19, 2019 6:05 pm
0
Private answer

Hi

Where is the code to do this?

Could you please please post

I need to do this Exact thing

Thank You

Marked as spam
Posted by (Q&A Forum: 1, Answers: 1)
January 19, 2019 9:39 am
0
Private answer

Yes, brilliant! Thanks Steve! ^^

 

Marked as spam
Posted by (Q&A Forum: 4, Answers: 4)
January 19, 2018 11:40 pm

Glad to help!
Steve
bome@sniz.biz
Independent Bome Programming Specialist
Bome Q&A moderator

( at January 20, 2018 4:29 am)
0
Private answer

Hi, yes, this is possible, MIDI input will be whatever your button requires. Output will be a one shot timer.

Then four (two pairs) of  other translators that trigger on the one shot timer your set up.

 

You then toggle the state of the global variable to determine which pair of timers fire. You should toggle the state in the translator that fires the timer ie:

ga=ga^1

Then each pair of translators look at ga  to determine if they should fire

One pair would have this rule

if ga==0 then exit rules, skip outgoing action

The other pair would have this rule

if ga==1 then exit rules skip outgoing action

Each pair of translators would have one translator to activate on preset and another translator to deactivate the other.

Outgoing Action Translator 1 :  Activate Preset A

Outgoing Action Translator 2:  Deactivate Preset B

And the other pair

Outgoing Action 3 : Deactivate Preset A

Outgoing Action 4: Activate Preset B

 

All of these translators should be with a separate preset that is always active.

Does this make sense to you?

Steve

Bome Forum Moderator and Independent Bome Programmer.

 

 

Marked as spam
Posted by (Q&A Forum: 36, Answers: 3125)
January 19, 2018 7:26 pm