127 midi Progam Change(PC) on a Stream Deck page
Page 1 of 1
127 midi Progam Change(PC) on a Stream Deck page
Hello ! Here is a little contribution that was possible thanks to this incredible midi plugin made by Trevliga !!
It allow to change PC from 1 to 127 but with less than 127 buttons
personnaly i just use slot from 1 to 4 and have then 32 PC to change . That's enough for me .
3 things to know when modifying the template to customize to our need :
The "slot 1"
is also an (init) button , it will trigger the first time the streamdeck is started :
here is the code
Here you can change globaly the Channel . In this example all PC are sent on channel 2
The PC button are updated dynamicaly depending the selected slot , up to 128 PC then :
Here the slot is 6 ;then the PC goes from 81 to 96
IF you want to remove PC button and/or bank button you will have to dig a little to change some parameters in the PC and slot button :
For the slot button there is a switch that will change the state of one slot button depending of the state of the other button :
A slot code is :
the variable that check wich Slot is pressed is @ObSb here.
[(@ObSb:0-1){state:0}]
[(@ObSb:3-11){state:0}]
depend of the state of the other buton :
Then when the "Slot 3" is pressed the @ObSb is set to 2 and the button have state 1 but when another slot is pressed , the button will go back to state 0. And as the @ObSb changed from 2 it will trigger a state 0 to the "Slot 3" button .
Now the PC button :
The code is :
A variable: @l_n:1 It's the number of the PC button on the screen . here it's my first button then @l_n = 1
The second important thing here is "16" in @l_OberBank:#@OberBank * 16 + @l_n#
It's the total number of button on the screen of the Streamdeck .
If you want less or more PC button change this .
That's it ! Hope it will be usefull for another PC user !
I would like to Thanks so mutch Trevliga to help me along the building of this simple template and for all his incredible work ! Thhhaaannnk you so mutch !!!
It allow to change PC from 1 to 127 but with less than 127 buttons
personnaly i just use slot from 1 to 4 and have then 32 PC to change . That's enough for me .
3 things to know when modifying the template to customize to our need :
The "slot 1"
is also an (init) button , it will trigger the first time the streamdeck is started :
here is the code
- Code:
[(Init)(@l_init:0){@l_init:1}{@ObSb:0}{@OberBank:0}{@GChanA:2}]
Here you can change globaly the Channel . In this example all PC are sent on channel 2
The PC button are updated dynamicaly depending the selected slot , up to 128 PC then :
Here the slot is 6 ;then the PC goes from 81 to 96
IF you want to remove PC button and/or bank button you will have to dig a little to change some parameters in the PC and slot button :
For the slot button there is a switch that will change the state of one slot button depending of the state of the other button :
A slot code is :
- Code:
[(press){@OberBank:2}{@ObSb:2}]
[(@ObSb:0-1){state:0}]
[(@ObSb:3-11){state:0}]
the variable that check wich Slot is pressed is @ObSb here.
[(@ObSb:0-1){state:0}]
[(@ObSb:3-11){state:0}]
depend of the state of the other buton :
Then when the "Slot 3" is pressed the @ObSb is set to 2 and the button have state 1 but when another slot is pressed , the button will go back to state 0. And as the @ObSb changed from 2 it will trigger a state 0 to the "Slot 3" button .
Now the PC button :
The code is :
- Code:
[(@OberBank:0-127){@l_n:1}{@l_OberBank:#@OberBank * 16 + @l_n#}{text:Pc #@l_OberBank# \n\n}]
[(press){pc:#@GChanA#,#@l_OberBank - 1 #}]
A variable: @l_n:1 It's the number of the PC button on the screen . here it's my first button then @l_n = 1
The second important thing here is "16" in @l_OberBank:#@OberBank * 16 + @l_n#
It's the total number of button on the screen of the Streamdeck .
If you want less or more PC button change this .
That's it ! Hope it will be usefull for another PC user !
I would like to Thanks so mutch Trevliga to help me along the building of this simple template and for all his incredible work ! Thhhaaannnk you so mutch !!!
- Attachments
lionoil- Posts : 43
Join date : 2022-03-03
Thorus likes this post
Similar topics
» loopmidi not showing in stream deck or midi application
» Using MIDI/Stream Deck to automate lights/scenes etc
» Stream Deck With Amplitube 5
» MTC Display on Stream Deck +
» Stream Deck Pages and Folders bug?
» Using MIDI/Stream Deck to automate lights/scenes etc
» Stream Deck With Amplitube 5
» MTC Display on Stream Deck +
» Stream Deck Pages and Folders bug?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum