Trevliga Spel forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

hmm Another bug i think.

2 posters

Go down

hmm Another bug i think. Empty hmm Another bug i think.

Post by lionoil Tue May 21, 2024 1:52 pm

O , i just have a another bug. 
It seems that a global variable is shared accros multiple streamdeck device .
I have two devices .

I wanted to share the "shift" button from my last thread 

https://trevligaspel.forumotion.eu/t382-time-to-switch-between-2-state

accros the second streamdeck .
then on the first streamdeck i have the shift button and nowhere else .
On the first stream deck i have button behaving accordingly to  the shift press button or not 
and i just created a first button depending on it to , but on the second stream deck
it's hard to explain then in will put a video :
https://www.youtube.com/watch?v=b4nc06TM7QI

here are the codes of different button :
shift : 
hmm Another bug i think. ZiivAAAAAElFTkSuQmCC
[(init){@shift:0}]
[(press){state:1}{@shift:1}{@RL:0}]
[(release){state:0}{@shift:0}]  (---- I also tried with the press action but it does not change anything)
[(@shift:0){state:0}]

monitor :
hmm Another bug i think. AQVBzX9rwxo9AAAAAElFTkSuQmCC
[(init){@l_mons:0}{image:%Customize%\Streamdeck\Icons\Midi\Ableton-Mon-In-VxM.jpg}]
[(cc:14,18,0-43){@l_mons:0}{image:%Customize%\Streamdeck\Icons\Midi\Ableton-Mon-In-VxM.jpg}]
[(cc:14,18,44-88){@l_mons:1}{image:%Customize%\Streamdeck\Icons\Midi\Ableton-Mon-Auto-VxM.jpg}]
[(cc:14,18,89-127){@l_mons:2}{image:%Customize%\Streamdeck\Icons\Midi\Ableton-Mon-Off-VxM.jpg}]
[(press)(@shift:0)(@l_mons:0){cc:14,18,64}]
[(press)(@shift:0)(@l_mons:1){cc:14,18,0}]
[(press)(@shift:1){@l_mons:2}{cc:14,18,127}]
[(press)(@shift:0)(@l_mons:2){cc:14,18,0}]

monitor button on each streamdeck have exactly the same code

And 
voice button is on first stream deck with the shift button ,wich is a multiaction :
hmm Another bug i think. B5xSFRRzrUWmAAAAAElFTkSuQmCC
first script upper is :
[(press)(@shift:0){cc,16,61,127}{cc,16,61,0}]
second script down is :
[(press)(@shift:1){wait:100}{cc,16,61,0}]
[(press)(@shift:1){cc,16,61,127}]

As you see i avoiding using (release) action for all scripts but the shift button .
and as i said i also tried with the shift button with this code

[(init){@shift:0}]
[(press){state:1}{@shift:1}{@RL:0}]
[(press){state:0}{@shift:0}]
[(@shift:0){state:0}]


Hope my explanation is relevant enough Wink
have a nice day !

And important thing, is still do that on it's own , even if is not connected on Ableton .

lionoil

Posts : 53
Join date : 2022-03-03

Back to top Go down

hmm Another bug i think. Empty Re: hmm Another bug i think.

Post by lionoil Tue May 21, 2024 2:07 pm

I understood the problem , pfiouf !
The voice  button on the first streamdeck  call the template on the second button which initialize the monitor button , then ... it does not work for what i try to do but it works accordingly i suppose to the normal behavior of the midi script Wink
then perhaps background script ? i do not know, never used it yet .
I hope i didn't waste your time to mutch !  hmm Another bug i think. 1f648  hmm Another bug i think. 1f648 .
sorry ! Wink

lionoil

Posts : 53
Join date : 2022-03-03

Back to top Go down

hmm Another bug i think. Empty Re: hmm Another bug i think.

Post by lionoil Tue May 21, 2024 2:26 pm

oh ...and removing the "init" solved the problem ! ...  hmm Another bug i think. 1f605  hmm Another bug i think. 1f605  hmm Another bug i think. 1f605

lionoil

Posts : 53
Join date : 2022-03-03

Back to top Go down

hmm Another bug i think. Empty Re: hmm Another bug i think.

Post by Admin Tue May 21, 2024 2:36 pm

Great. cheers
Admin
Admin
Admin

Posts : 1037
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

lionoil likes this post

Back to top Go down

hmm Another bug i think. Empty Re: hmm Another bug i think.

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum