Visual Productions forum

Author Topic: Midi Commands  (Read 1763 times)

August 17, 2022, 11:19:40 AM
Read 1763 times

Rayco

  • Member
  • *
  • Posts: 276
Hi Folks,

Trying to modify the Midi-Map for an Akai APC-mini controller.

Trying to program the buttons down the right to do various things, got it to do FOG, STROBE and BLINDER but can't get the commands to do ALL, NONE and CLEAR.

Anyone done this already or know what the command words are or where to find them?

Thanks



August 17, 2022, 12:16:37 PM
Reply #1

Rayco

  • Member
  • *
  • Posts: 276
This works for the 'Tap Tempo' button

                <action>
                    <trigger type="Midi" specifier="Change">Channel 0 - Message 9 - Index 89</trigger>
                    <tasks>
                        <task type="Special" feature="Tempo Tap" function ="Control"/>
                    </tasks>
                </action>

Would like to have a way to select the 'All' and "'Clear' functions too.

August 17, 2022, 12:33:45 PM
Reply #2

Julien Levaufre

  • Administrator
  • Member
  • *****
  • Posts: 3234
    • www.visualproductions.nl
hello,
 to achieve what you want to do you can use this code:
Quote
        <action>
          <trigger type=“Midi” specifier=“Down”>Channel 0 - Message 9 - Index 9</trigger>
          <tasks>
            <task type=“Selection” feature=“Clear” function =“Set”/>
          </tasks>
        </action>
        <action>
          <trigger type=“Midi” specifier=“Down”>Channel 0 - Message 9 - Index 10</trigger>
          <tasks>
            <task type=“Selection” feature=“Previous” function =“Set”/>
          </tasks>
        </action>
        <action>
          <trigger type=“Midi” specifier=“Down”>Channel 0 - Message 9 - Index 11</trigger>
          <tasks>
            <task type=“Selection” feature=“Next” function =“Set”/>
          </tasks>
        </action>
Just change the midi informations depending on your button and it should work.
Enjoy :wink:
Julien Levaufre
Visual Productions BV

August 17, 2022, 12:57:34 PM
Reply #3

Rayco

  • Member
  • *
  • Posts: 276
Hi Maarten,

Tried that code in file but did not work. 

It would do the 'Previous' and 'Next' anyway, not what I really wanted.

Was looking to select 'All' and 'Clear'.

But on the top button, 'Clip Stop' which is Midi number 82.


                <action>
                    <trigger type="Midi" specifier="Change">Channel 0 - Message 9 - Index 82</trigger>
                    <tasks>
                        <task type="Special" feature="All" function ="Control"/>
                    </tasks>
                </action>

This does not work either.


August 17, 2022, 02:25:05 PM
Reply #4

Rayco

  • Member
  • *
  • Posts: 276
Tried a few things, still no luck.

Presumably this is the action that is run by button '82'

                <action>
                    <trigger type="Midi" specifier="Change">Channel 0 - Message 9 - Index 82</trigger>
                    <tasks>
                        <task type="Special" feature="All" function ="Control"/>
                    </tasks>
                </action>


What I need is the code to enter to make it press the buttons on screenshot.


August 17, 2022, 02:54:42 PM
Reply #5

Julien Levaufre

  • Administrator
  • Member
  • *****
  • Posts: 3234
    • www.visualproductions.nl
Here I some code I have just tested and it is working.
Quote
                <action>
                    <trigger type=“Midi” specifier=“Down”>Channel 0 - Message 9 - Index 56</trigger>
                    <tasks>
                          <task type=“Selection” feature=“Clear” function =“Set”/>
                    </tasks>
                </action>
                <action>
                    <trigger type=“Midi” specifier=“Down”>Channel 0 - Message 9 - Index 57</trigger>
                    <tasks>
                        <task type=“Selection” feature=“Previous” function =“Set”/>
                    </tasks>
                </action>
                <action>
                    <trigger type=“Midi” specifier=“Down”>Channel 0 - Message 9 - Index 58</trigger>
                    <tasks>
                        <task type=“Selection” feature=“Next” function =“Set”/>
                    </tasks>
                </action>
                <action>
                    <trigger type=“Midi” specifier=“Down”>Channel 0 - Message 9 - Index 59</trigger>
                    <tasks>
                        <task type=“Selection” feature=“All” function =“Set”/>
                    </tasks>
                </action>
                <action>
                    <trigger type=“Midi” specifier=“Change”>Channel 0 - Message 9 - Index 60</trigger>
                    <tasks>
                        <task type=“Special” function=“Set” feature=“Clear Programmer” />
                    </tasks>
                </action>
First action, clear the selection, second action select previous fixture, 3rd action select next fixture, 4th action select all fixtures, 5th action clear the programmer.
You just need to change the index value to fit the buttons you want to use.

I don't know if you are using it, but there is a midi api document for cuelux that may help you.
You can find it here: https://forum.visualproductions.nl/forum/index.php?action=dlattach;topic=7096.0;attach=3719
Julien Levaufre
Visual Productions BV

August 17, 2022, 03:53:09 PM
Reply #6

Rayco

  • Member
  • *
  • Posts: 276
Hi Julien,

Tried that but for some reason when I put the code in it won't see the midimap file.

Have attached my file.

Probably something obvious.

Is there a list of commands for Cuelux I can download? It would make it easier if I knew what commands do which buttons.
 
Thanks

August 17, 2022, 04:48:58 PM
Reply #7

Julien Levaufre

  • Administrator
  • Member
  • *****
  • Posts: 3234
    • www.visualproductions.nl
I had a look at your file and found some problems with "" that were not the right kind..
I fixed it and now I can se the minimal in the list.
In my previous post you can click on the link to download a document wit the list of all the midi commander.
This time everything should be working fine. ;)
Julien Levaufre
Visual Productions BV

August 17, 2022, 07:54:36 PM
Reply #8

Rayco

  • Member
  • *
  • Posts: 276
Thanks Julien,

Will give it a try.

Would be good to figure out what was wrong though and get the codes so I can start learning some of this stuff.



 

SMF spam blocked by CleanTalk