Fresh wrote:It's a Vestax DJ controller: VCI-100.
The unit does not come with any editing software that allows you to change the general operation of the buttons etc.
(I also have an Axiom 25 so I am familiar with this.)
This seems to be the trend with most DJ controllers, you are stuck with the factory settings.
Indeed you are correct... The VCI-100 has static MIDI assignments that can't be changed.
To change your 'momentary' push buttons into toggle switches first you need to capture the data sent by the button you are going to be working with. This is covered in detail in the
Defining Translators section of the manual.
Once you have captured your input data, you need to toggle a global variable (and variable that begins with the letters 'g' or 'h') to keep track of the state that the button should be in and what pressing the button will output.
For example; The following Translator will watch for an incoming MIDI message on Channel #1/CC76 with a value of 0. This will vary according to your MIDI controller of course...
What the code does is change the outgoing action depending on the global variable 'ga'. Every time you press the button, the value of 'ga' switches between 0 and 1, depending on if the button is 'toggled' or not. The 'ToggleOn' and 'ToggleOff' sections then changes the outgoing value of your button between 0 and 127, effectively creating a toggle switch.
Code: Select all
Translator 1: ToggleButton
Options: stop=true
Incoming: MIDI B0 4C 00
Rules:
if ga==0 then Goto "ToggleOn"
if ga==1 then Goto "ToggleOff"
Label "ToggleOn"
ga=1
xx=127
exit rules, execute Outgoing Action
Label "ToggleOff"
ga=0
xx=0
exit rules, execute Outgoing Action
Outgoing: MIDI B0 4C xx
So the first time you press this button it will trigger the 'ToggleOn' section of code, outputting;
Channel #1/CC76 value 127
Then the second time you press the button it will trigger the 'ToggleOff' section of code, outputting;
Channel #1/CC76 value 0
I should note that this code could be greatly simplified, but for the sake of readability I'm giving you the 'exploded' version...
Let me know if this helps! Every situation is different with so many different MIDI controllers and apps, but I'd be happy to help you get this going correctly...
Joe