Re: Cross MIDI output mapping
Posted: 10 Feb 2015, 09:49
Here is the list of the IN and OUT aliases (updated for 3.0)
Closed forum. You can only use it as a source of information about MixVibes software
http://forum.mixvibes.com/
<mapping name="Cue 1">
<events>
<MIDI type="CC" parameter="0x7" channel="0x4"/>
</events>
<controls>
<control alias="fam(Player)[0x1].Locator1Control"/>
</controls>
<preset name="Logic Fader/Knob">
<parameters>
<parameter object="invert" key="on" value="off"/>
<parameter object="range" key="range begin" value="0"/>
<parameter object="range" key="range end" value="1"/>
</parameters>
</preset>
</mapping>
</input-mappings>
<mapping name="Cue 1">
<events>
<MIDI type="CC" parameter="0x7" channel="0x4"/>
</events>
<controls>
<control alias="fam(Player)[0x1].Locator1Control"/>
</controls>
<preset name="Logic Fader/Knob">
<parameters>
<parameter object="invert" key="on" value="off"/>
<parameter object="range" key="range begin" value="0"/>
<parameter object="range" key="range end" value="1"/>
</parameters>
</preset>
</mapping>
</input-mappings>
<mapping name="Cue 1">
<events>
<MIDI type="cc" parameter="0x7" channel="0x4"/>
</events>
<controls>
<control alias="fam(Player)[0x1].Locator1Control"/>
</controls>
<preset name="Logic Fader/KnobHolder Button">
<parameters>
<parameter object="range" key="range begin" value="0"/>
<parameter object="range" key="range end" value="1"/>
</parameters>
</preset>
</mapping>
<mapping name="Cue 1">
<events>
<MIDI type="Note" parameter="0x7" channel="0x4"/>
</events>
<controls>
<control alias="fam(Player)[0x1].Locator1Control"/>
</controls>
<preset name="Holder Button">
<parameters>
<parameter object="invert" key="on" value="off"/>
</parameters>
</preset>
</mapping>
<mapping name="Cue 1">
<events>
<MIDI type="cc" parameter="0x7" channel="0x4"/>
</events>
<controls>
<control alias="fam(Player)[0x1].Locator1Control"/>
</controls>
<preset name="Logic Fader/KnobHolder Button">
<parameters>
<parameter object="range" key="range begin" value="0"/>
<parameter object="range" key="range end" value="1"/>
</parameters>
</preset>
</mapping>
<mappings>
<input-mappings>
************************** All your input commands go here
</input-mappings>
************************** You must create the output section
<output-mappings>
************************** All your output(led) commands go here
************************** You must close the output section
</output-mappings>
************************** You must close the mappings
</mappings>
************************** You must close the controller
</controller>
************************** You must close the file
</main>
<mapping>
<control alias="fam(Player)[0x1].Locator1Control" value="true"/>
<MIDI type="cc" parameter="0x7" channel="0x4" value="127"/>
</mapping>
<mapping>
<control alias="fam(Player)[0x1].Locator1Control" value="false"/>
<MIDI type="cc" parameter="0x7" channel="0x4" value="0"/>
</mapping>
<mapping>
<control alias="fam(Player)[0x1].Locator1KindControl" value="0"/>
<MIDI type="cc" parameter="0x7" channel="0x4" value="0"/>
</mapping>
<mapping>
<control alias="fam(Player)[0x1].Locator1KindControl" value="1"/>
<MIDI type="cc" parameter="0x7" channel="0x4" value="127"/>
</mapping>
<mapping>
<control alias="fam(Player)[0x1].Locator1KindControl" value="2"/>
<MIDI loop="true"/>
<MIDI type="cc" parameter="0x7" channel="0x4" value="127" duration="500"/>
<MIDI type="cc" parameter="0x7" channel="0x4" value="0" duration="500"/>
</mapping>
ddjj wrote:Here is the list of the IN and OUT aliases (updated for 3.0)
FigDJ wrote:OK this is your command below
- Code: Select all
<mapping name="Cue 1">
<events>
<MIDI type="cc" parameter="0x7" channel="0x4"/>
</events>
<controls>
<control alias="fam(Player)[0x1].Locator1Control"/>
</controls>
<preset name="Logic Fader/KnobHolder Button">
<parameters>
<parameter object="range" key="range begin" value="0"/>
<parameter object="range" key="range end" value="1"/>
</parameters>
</preset>
</mapping>
Normally cue button are map as Holder button so it would look
like this using note or cc depending on your controller. Normally Cross would detect if it is note or cc using the MIDI learn feature.
Note Example
- Code: Select all
<mapping name="Cue 1">
<events>
<MIDI type="Note" parameter="0x7" channel="0x4"/>
</events>
<controls>
<control alias="fam(Player)[0x1].Locator1Control"/>
</controls>
<preset name="Holder Button">
<parameters>
<parameter object="invert" key="on" value="off"/>
</parameters>
</preset>
</mapping>
CC Example
- Code: Select all
<mapping name="Cue 1">
<events>
<MIDI type="cc" parameter="0x7" channel="0x4"/>
</events>
<controls>
<control alias="fam(Player)[0x1].Locator1Control"/>
</controls>
<preset name="Logic Fader/KnobHolder Button">
<parameters>
<parameter object="range" key="range begin" value="0"/>
<parameter object="range" key="range end" value="1"/>
</parameters>
</preset>
</mapping>
you go this
Now a little info on input and output commands.
- Code: Select all
<mappings>
<input-mappings>
************************** All your input commands go here
</input-mappings>
************************** You must create the output section
<output-mappings>
************************** All your output(led) commands go here
************************** You must close the output section
</output-mappings>
************************** You must close the mappings
</mappings>
************************** You must close the controller
</controller>
************************** You must close the file
</main>
Now an example of the led mapping in the output section
- Code: Select all
<mapping>
<control alias="fam(Player)[0x1].Locator1Control" value="true"/>
<MIDI type="cc" parameter="0x7" channel="0x4" value="127"/>
</mapping>
<mapping>
<control alias="fam(Player)[0x1].Locator1Control" value="false"/>
<MIDI type="cc" parameter="0x7" channel="0x4" value="0"/>
</mapping>
You must map 2 conditions for each led contition on and condition off
The above example uses value 127 for on and 0 for off.
The value of the on condition determines the intensity.
However, on controllers that have have rgb leds the value of the
on condition determines the color.
The off condition value is always 0.
In addition if you want the led to be reactive to when you set, turn off or set a loop you must also map the condition for each in the output section.
As follows
- Code: Select all
<mapping>
<control alias="fam(Player)[0x1].Locator1KindControl" value="0"/>
<MIDI type="cc" parameter="0x7" channel="0x4" value="0"/>
</mapping>
<mapping>
<control alias="fam(Player)[0x1].Locator1KindControl" value="1"/>
<MIDI type="cc" parameter="0x7" channel="0x4" value="127"/>
</mapping>
<mapping>
<control alias="fam(Player)[0x1].Locator1KindControl" value="2"/>
<MIDI loop="true"/>
<MIDI type="cc" parameter="0x7" channel="0x4" value="127" duration="500"/>
<MIDI type="cc" parameter="0x7" channel="0x4" value="0" duration="500"/>
</mapping>
This set condition for on, off and blink when it is a loop.
the duration value determines the length of time of the state in millisecond.
500 milliseconds =.5 seconds so on the example the led turns of for .5 seconds and on for .5 seconds (blink)
Hope this helps