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

Having Trouble with Translation File

2 posters

Go down

Having Trouble with Translation File Empty Having Trouble with Translation File

Post by jwilder-phbc Thu Apr 27, 2023 1:47 pm

Hi, Right now I am using he MIDI Plugin and using 2 buttons to control the mute status of an input on my soundboard. One button to unmute an input, and the other to mute. I can send the following commands from 2 different buttons to turn mute on or off:
Button 1
To Mute the input I send:
Note On, 100 [E-6], Velocity 127,
Note On, 100 [E-6], Velocity 0

Button 2
To Unmute the input I send:
Note On, 100 [E-6], Velocity 63,
Note On, 100 [E-6], Velocity 0

The note chooses the input, and the velocity changes the mute state: 127 = mute, 63 = unmute.

What I would like to do is use one button to control the mute on/off for mic inputs on my soundboard. I have tried to do this with a single button and change the image based on what I get back from the soundboard with several variations, but nothing is working.

Is there a way to accomplish this?


Here is the translation file I was using:

<?xml version="1.0" encoding="utf-8" ?>
<MidiSteps version="1.1">
  <Default send="yes" receive="yes" display="" image="" displayonsend="no" useclosestvalueonreceive="no"/>
  <StepValues>
    <Step value="63" send="yes" receive="yes" image="~/Documents/StreamDeck/PineHillIcons/1x/Sound_On_Bottom.png"/>
    <Step value="127" send="yes" receive="yes" image="~/Documents/StreamDeck/PineHillIcons/1x/Sound_Mute_Bottom.png"/>
  </StepValues>
</MidiSteps>

jwilder-phbc

Posts : 7
Join date : 2023-04-14

Back to top Go down

Having Trouble with Translation File Empty Re: Having Trouble with Translation File

Post by Admin Thu Apr 27, 2023 2:33 pm

Hi,

I think the Script button is better suited for that kind of use. Please try something like this:

[(press){noteon:1,100,127}{image:~/Documents/StreamDeck/PineHillIcons/1x/Sound_Mute_Bottom.png}]
[(release){noteon:1,100,0}]
[(press){noteon:1,100,63}{image:~/Documents/StreamDeck/PineHillIcons/1x/Sound_On_Bottom.png}]
[(release){noteon:1,100,0}]
[(noteon:1,100,127){image:~/Documents/StreamDeck/PineHillIcons/1x/Sound_Mute_Bottom.png}]
[(noteon:1,100,63){image:~/Documents/StreamDeck/PineHillIcons/1x/Sound_On_Bottom.png}]
Admin
Admin
Admin

Posts : 1248
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

jwilder-phbc likes this post

Back to top Go down

Having Trouble with Translation File Empty Re: Having Trouble with Translation File

Post by jwilder-phbc Thu Apr 27, 2023 3:15 pm

I modified it to work with the MIDI ports and channels I work with, but that worked great!

Thanks so much!

jwilder-phbc

Posts : 7
Join date : 2023-04-14

Back to top Go down

Having Trouble with Translation File Empty Re: Having Trouble with Translation File

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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