how to map conditions ?

   Discuss technical issues with the community. Mixvibes staff provides no support on this board.
Forum rules
Click here to join MIxvibes on DISCORD https://discord.gg/gMdQJ2cJqa

Re: how to map conditions ?

Postby FigDJ on 25 Jun 2014, 15:29

HACKID wrote:.....I would like to map crossfader as a videocrossfader and when his position is 0% or 100% it must change videotransition automatically....in random mode.


In the DDJ-SX the Crossfader does not have shifted capabilities so is not possible using the crossfader. You might be able to use the fader start commands using the channel faders but the video transition switch ching will be one up or down from the current trasition selection so random selection not possible.

I don't remember if there is a random mode for video transition and if there is not this will make a grat suggestion to the Mivibes team.

Add a random mode to video transitions list.

In the case of not having the video transition selected randomly a form of randomizer can be inplemented using the DDJ-SX by adding the following modified command to each one of the pads.

Code: Select all
<mapping name="SELECTOR">
  <events>
    <MIDI type="CC" parameter="0x10" channel="0x8"/>
   </events>
   <controls>
      <control alias="fam(Video)[0x1].TransitionType"/>
   </controls>
   <preset name="Inc.-Dec. Button">
     <parameters>
       <parameter object="action-0" key="integer" value="1"/>
       <parameter object="dispatch" key="interpretCCasNote" value="off"/>
       <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
       <parameter object="metronom" key="Repeat Time" value="100"/>
       <parameter object="metronom" key="Start Time" value="500"/>
       </parameters>
    </preset>
</mapping>


The scenario in which this would work.
1st ad the command to each one of the pads.

As you perform you use different pads in different modes for different tracks and samples.

Every time you press a pad the selection of the video transition will change 1 up from the current selection.

Now you are aready to mix into the other deck.
Wherever the selection landed last time (unpredictable) will be the transition to be used by the Crossfader.
Image
FigDJ
 
Posts: 1355
Joined: 22 Apr 2012, 17:03
Location: Odenton, MD


Re: how to map conditions ?

Postby FigDJ on 25 Jun 2014, 16:24

Thinking a little more about it.

Another way to randomize the video transition selection (and perhaps easier to inplement) would be to combine the browser knob with the video selection knob.

Currently the browsing knob is mapped as follows:
Code: Select all
        <mapping name="SELECTOR">
          <events>
            <MIDI type="CC" parameter="0x40" channel="0x7"/>
          </events>
          <controls>
            <control alias="fam(Tracker).BrowseActiveBrowsable"/>
          </controls>
          <preset name="Inc.-Dec. Integer Fader/Knob">
            <parameters>
              <parameter object="map" key="backwardIntegerRange" value="-1 -63"/>
              <parameter object="map" key="backwardNormalRange" value="1 0.511811024"/>
              <parameter object="map" key="forwardIntegerRange" value="1 63"/>
              <parameter object="map" key="forwardNormalRange" value="0.00787401575 0.496062992"/>
              <parameter object="step" key="factor" value="1"/>
            </parameters>
          </preset>
        </mapping>


And the video transition selector is mapped as follows:

Code: Select all
        <mapping name="S+SELECTOR">
          <events>
            <MIDI type="CC" parameter="0x64" channel="0x7"/>
          </events>
          <controls>
            <control alias="fam(Video)[0x1].TransitionType"/>
          </controls>
          <preset name="Inc.-Dec. Integer Fader/Knob">
            <parameters>
              <parameter object="map" key="backwardIntegerRange" value="-1 -63"/>
              <parameter object="map" key="backwardNormalRange" value="1 0.511811024"/>
              <parameter object="map" key="forwardIntegerRange" value="1 64"/>
              <parameter object="map" key="forwardNormalRange" value="0 0.496062992"/>
              <parameter object="step" key="factor" value="1"/>
            </parameters>
          </preset>
        </mapping>


add this
Code: Select all
        <mapping name="SELECTOR">
          <events>
            <MIDI type="CC" parameter="0x40" channel="0x7"/>
          </events>
          <controls>
            <control alias="fam(Video)[0x1].TransitionType"/>
          </controls>
          <preset name="Inc.-Dec. Integer Fader/Knob">
            <parameters>
              <parameter object="map" key="backwardIntegerRange" value="-1 -63"/>
              <parameter object="map" key="backwardNormalRange" value="1 0.511811024"/>
              <parameter object="map" key="forwardIntegerRange" value="1 64"/>
              <parameter object="map" key="forwardNormalRange" value="0 0.496062992"/>
              <parameter object="step" key="factor" value="1"/>
            </parameters>
          </preset>
        </mapping>


The last code assigns the same video selection fuction to the browser. Everytime you browse the video selection changes until the next time you browse. if you want a specific transition then use the regular video transition selection knob.
Image
FigDJ
 
Posts: 1355
Joined: 22 Apr 2012, 17:03
Location: Odenton, MD


Re: how to map conditions ?

Postby HACKID on 25 Jun 2014, 18:39

Very interesting replies....but...we should start from the beginning :D

Where can I find the xml file mapper?
I use win seven.
Thank you for your usefull support!
User avatar
HACKID
 
Posts: 19
Joined: 10 Mar 2012, 13:50


Re: how to map conditions ?

Postby FigDJ on 25 Jun 2014, 19:53

HACKID wrote:Very interesting replies....but...we should start from the beginning :D

Where can I find the xml file mapper?
I use win seven.
Thank you for your usefull support!


I am on Win 8 but I imagine that is not that different.
Look in your user profile
....\roaming\mixvibes\MIDI\controllers

you can open the files with a notepad text editor just make sure that when you save, do it with the mappings extension and in UTF-8 format.

As far as your original question about mapping conditions.. IMHO it is something that you want to avoid if you are having a very capable controller like the DDJ-SX. However, search on the forum for a 4 deck map of the UMCP-2. take a look at this file just to examine the example on how to write map with conditional inputs and outputs. Once you look at them, you will probably have more questions and we can pick the conversation about map conditions from there.
Image
FigDJ
 
Posts: 1355
Joined: 22 Apr 2012, 17:03
Location: Odenton, MD


Re: how to map conditions ?

Postby UncleVibes on 25 Jun 2014, 20:52

Excellent replies figdj: respect.
UncleVibes
 
Posts: 10254
Joined: 22 Sep 2003, 14:36


Re: how to map conditions ?

Postby daniel clark on 25 Jun 2014, 23:27

:cool: MIDI MONSTER CHOMPPING AT THAT CONTROLLER :cool:
Image
Image
January 2012 Mixvibes DJ of the month
MEMBER OF:
:cool: C00l People MV Society :cool:

PLEASE REGISTER YOUR SOFTWARE...FORUM RULES
2014 dell XPS8700
intel core i5 4400@3.10ghz
12 gigs DDR3 ram
NVDIA GeForce GT635
Win 10 /64 bits OS
Realteck 7.1
Home USB sound dogle
Asus VE247H monitor
Logitec G-15 ser 1 gaming keyboard
U-Mix Control Pro 2
User avatar
daniel clark
 
Posts: 6861
Joined: 31 Oct 2008, 01:01
Location: Charleston,S C


Re: how to map conditions ?

Postby HACKID on 26 Jun 2014, 13:17

I tried but it dosen't work :(

FigDj, can you see my file please ?

https://www.dropbox.com/s/f0m6a77oxqss8 ... 7.mappings

I only pasted the code that you have shared....
Let me say...
thank you in advance...
User avatar
HACKID
 
Posts: 19
Joined: 10 Mar 2012, 13:50


Re: how to map conditions ?

Postby FigDJ on 26 Jun 2014, 14:42

HACKID wrote:I tried but it dosen't work :(

FigDj, can you see my file please ?

https://www.dropbox.com/s/f0m6a77oxqss8 ... 7.mappings

I only pasted the code that you have shared....
Let me say...
thank you in advance...


Somehow when you pasted the command got only partially pasted so it was jumbled with the previous command.
I modified the file, see if it works for you.

Just to be clear, this code is an example it will only only work for

Player #1, ROLL Mode, Pad #1
Additional code for the rest of the pads will need to be added.
3385674007.zip
[/attachment]
You do not have the required permissions to view the files attached to this post.
Image
FigDJ
 
Posts: 1355
Joined: 22 Apr 2012, 17:03
Location: Odenton, MD


Re: how to map conditions ?

Postby HACKID on 26 Jun 2014, 16:13

it works fine!!! thank you!

I hope this feature become native in next realease of SX mapping
User avatar
HACKID
 
Posts: 19
Joined: 10 Mar 2012, 13:50


Re: how to map conditions ?

Postby FigDJ on 26 Jun 2014, 20:18

HACKID wrote:it works fine!!! thank you!

I hope this feature become native in next realease of SX mapping

You should post it in the suggestions section. I may inplementet it myself on my custom DDJ-SX map.
Image
FigDJ
 
Posts: 1355
Joined: 22 Apr 2012, 17:03
Location: Odenton, MD


PreviousNext

Return to Community Support




Who is online

Users browsing this forum: Google [Bot] and 23 guests

Board index

 
 
   
 
© 2014 Mixvibes