
AKAI APC 40 MK ii - Key Mapping Customisation
Team.
Many of us have asked for key mapping for the Midi Controller. I have one particular set of key mapping that I wanted to do, and I've worked out how to do it by editing XML. I thought I'd document it here in case it helps others.
But before giving the XML, let me tell you my goal. In Wirecast, there are three buttons above the preview/live area.
- Start/Stop Broadcasting
- Start/Stop Recording
- Start/Stop ISO
It frustrated me that my controller was incapable of doing these functions. So that is what I've added into my XML.
On a mac, the file you need to edit is
/Applications/Wirecast.app/Contents/Resources/midi_controllers.xml
You will find a file midi_controllers.xml somewhere in the wirecast program files directory on a Windows system.
In that file, the first main section relates to the APC 40 MK ii controller. If you add the three lines below in bold to your XML file, this will allow you to add the three functions listed above which will map to the Play / Record / Session buttons on the AKAI controller.
NOTE: This is not officially supported by Telestream. If you break your copy of wirecast, don't expect support from Telestream. Do this only if you know what you are doing with XML editing.
<?xml version="1.0" encoding="utf-8"?> <MidiControllerConfigs name="MidiControllerConfigs"> <Config name="APC40mk2" controllerName="APC40 mkII"> <DeviceInquiry data="f0 7e 00 06 01 f7" /> <DeviceInit data="f0 47 00 29 60 00 04 41 08 05 01 f7" /> <ControllerToWirecast> <Event first="0x90" second="91" command="cmd_broadcast_toggle" /> <Event first="0x90" second="93" command="cmd_save_to_disk_toggle" /> <Event first="0x90" second="102" command="cmd_replay_and_iso_toggle" /> <Event first="0x90" second="32" command="cmd_shot_and_layer_select_0_0" />
-
As I said at the start of this post...
Many of us have asked for key mapping for the Midi Controller
This is already tracked in the community tracker - and has been assigned a development team jira ticket number WIRE-13919. Its also elsewhere in the forum here 10 months ago.
I'm posting the alternative method as an alternative until it reaches the work queue of the developers.
If people want to map more keys, it should be possible. I used a tool called "Midi Monitor" on OSX to get the midi values... and translated that into the data in the XML file. It needs a bit of work, but it is possible.
GK
-
Bryce Stejskal
I saw you commenting on Midi changes for another controller that was dependent on other upstream keyboard mapping changes. While that may be true, there are some simple wins that could be looked at earlier, with zero code changes - only configuration.
I posted this thread over a year ago, and there was a corresponding ticket and so on. This is an XML change, that will enable start/stop broadcast, start/stop recording, and start/stop ISO on an Akai APC40 MKii. It is TRIVAL to get this working. Is there any reason why this request (and the corresponding ticket) was ignored for over a year? It's not a request to send a spacecraft to the moon, we're talking about a simple XML change, where the details were already provided to you.
And before you ask, don't ask me for the ticket number, unless you can provide me a client portal where I can look at my historical tickets.
-
Hi. I have just bought the Akai APC40 Mkii and would like to map more of the buttons for use within Wirecast 14. I specifically bought it to be able to control the volume faders in the Audio mixer and was hoping that I could map one of the buttons on each audio channel to turn on and off the monitoring of live sources in the audio mixer as well as map the master fader to control the Wirecast master output. I have added the extra lines that @Greg_Kuhnert suggested to the Wirecast Midi XML file and these buttons now work perfectly, so in theory, adding other mappings should be possible.
I am happy to make my own custom mappings, but the challenge here is knowing what to map them to in terms of Wirecast calls. Is there a Midi mapping table available to list which calls Wirecast expects in order to control various functions/buttons?
-
Nigel Mercer said:
Is there a Midi mapping table available to list which calls Wirecast expects in order to control various functions/buttons?No, not at this time. It's still under consideration.