Broken (time) event extraction of BPM

Hello,

(time) event does not work as expected.

Basic use as button text : OK

With a scripted button, this code works

[(time){text:#B#}]

Basic use with custom variable : KO

But setting to a custom variable set the variable to empty:

[(time){@bpm:#B#}]

Use with scripted dial title : KO

For a scripted dial, it has no effect:

[(time){title:#B#}]

Note it cannot be read from an intermediate custom variable, as tested in the previous case.

Documentation

Regarding the documentation, it is supposed to work :

{text} and {@variable} actions are executed

I suggest it should able to be used with Custom variables, text, and also title, if possible.

Thanks,

Benoit.

Thanks for the report. I have found the issue with the variable action. Adding the time reference to the title action is reasonable; I’ll take a look at it. :+1:

Thanks Gunnar, that was quick!

For context on the {title:} request — I run a Stream Deck + on a live keyboard rig, and I’d love a dial whose title shows Ableton’s live BPM in real time, so I can confirm the tempo at a glance on stage. The @bpm variable is the other half: I want several keys/scripts to react to that value (e.g. a visual cue when the tempo changes between songs).

So both would be gold: the {@variable} fix you already found, and — if it’s reasonable — extending (time) to the {title:} action for dials and keys. Happy to beta-test any build whenever it suits you. Cheers!

Beta version published.

1 Like

Thanks, tested and it works like a charm:

[(press){noteon:1,86,127}]
[(rotate){cc,7,20,#@e_value#}]
[(time){title:Tempo=#B#}]

1 Like