Reply to Behringer CMD Studio 4a mapping help

Behringer CMD Studio 4a mapping help
Hey guys most of this is a continuation from the Behringer CMD line Review thread, so I'll try and catch everyone up.

KingCast
Hey guys, lookin for a little VDJ script help. I tweaked a few maps for the Studio 4a and Im pretty much settled on my latest one however i'm having a couple issues with mapping the leds correctly so I can get the proper feedback as to which functions I have activated and which ones I don't.

Thanks in advance for any assistance and here is my script that I would need the corresponding led script for.

<map value="LED_FX1" action="? effect &quot;backspin&quot; active : effect &quot;dsp_Distorter&quot; active" />
<map value="LED_FX2" action="? effect &quot;brake&quot; active : effect &quot;flanger&quot; active" />
<map value="LED_FX3" action="? effect &quot;FlangedLoopOut&quot; active : effect &quot;dsp_Reverb&quot; active" />
<map value="LED_FX4" action="effect active ? on : off" />

Now currently this suits me very well the only problem is that when I engage any one of the 4 FX it turns all 4 FX buttons blue where I would very much like it to only turn the effect's button i'm using to change color.


Also as a side project I'm trying to get the "keylock" button to blink to the music the same way the sync button does.

Thanks again!
synthet1c
where you have the condition, you are not querying anything, The way VDJScript works is like this

query ? action if true : action if false

for the query you need to ask something, that could be whether the effect is active, or if you are shifted or really anything.

Also the simplest way to make any modifications to your mapping is through the config menu, not in the XML file, as the mapping editor will convert special characters of xml for you.

The simplest thing you could do without having to know how it was mapped is query if the effects are active eg.

effect 'backspin' active on ? on : effect 'dsp_distorter' active on ? on : off
effect 'brake' active on ? on : effect 'flanger' active on ? on : off
effect 'flangedLoopOut' active on ? on : effect 'dsp_reverb' active on ? on : off
effect active on ? blink 333ms : off

I also made LED four blink three times a second if any effect is active just to show you LED's can easily be made to blink at set intervals.

And to make the keylock LED blink to be beatgrid, you would use 'get beatgrid'. If you want the LED to blink on the bass drum you would use 'sync' for the LED.
KingCast
Thanks synthet1c, This part of the map was contributed by some one else, I didn't care that it looked weird because it worked, it's set up so that fx assign is like a shift button for fx 1,2,3.

Here's the whole map and again thanks in advance for the assistance


<?xml version="1.0" encoding="UTF-8"?>
<mapper device="BeCMDSTUDIO" description="Behringer CMD Studio 4A 2 beta 2.0" version="740" date="03/09/2013">
<map value="ONINIT" action="set &quot;FXSel&quot; 0" />
<map value="BROWSE" action="param_multiply 10% &amp; browser_scroll" />
<map value="LEFT" action="browser_folder" />
<map value="RIGHT" action="browser_window &quot;folders&quot; ? browser_window &quot;songs&quot; : browser_window &quot;playlist&quot;" />
<map value="ENTER" action="playlist_add" />
<map value="LEFTDECK" action="action_deck 1 ? deck 1 leftdeck : deck 3 leftdeck" />
<map value="RIGHTDECK" action="action_deck 2 ? deck 2 rightdeck : deck 4 rightdeck" />
<map value="KNB_FX1" action="filter" />
<map value="KNB_FX2" action="effect slider 1" />
<map value="KNB_FX3" action="effect slider 2" />
<map value="KNB_FX4" action="effect select" />
<map value="FX1" action="var &quot;effect&quot; ? effect &quot;backspin&quot; active : effect &quot;dsp_Distorter&quot; active" />
<map value="FX2" action="var &quot;effect&quot; ? effect &quot;brake&quot; active : effect &quot;flanger&quot; active" />
<map value="FX3" action="var &quot;effect&quot; ? effect &quot;FlangedLoopOut&quot; active : effect &quot;dsp_Reverb&quot; active" />
<map value="FX4" action="effect active" />
<map value="LOOP_HALF" action="loop_half" />
<map value="LOOP_DBLE" action="loop_double" />
<map value="LOOP" action="loop" />
<map value="SCRATCH" action="vinyl_mode" />
<map value="JOG_TOUCH" action="touchwheel_touch" />
<map value="JOG" action="touchwheel" />
<map value="PITCH" action="pitch_slider" />
<map value="PITCHBEND-" action="seek -3" />
<map value="PITCHBEND+" action="seek +3" />
<map value="CUE" action="cue_stop" />
<map value="PLAY_PAUSE" action="play_pause" />
<map value="SYNC" action="sync" />
<map value="HOT_CUE_1" action="var &quot;delCue&quot; ? delete_cue 1 : hot_cue 1" />
<map value="HOT_CUE_2" action="var &quot;delCue&quot; ? delete_cue 2 : hot_cue 2" />
<map value="HOT_CUE_3" action="var &quot;delCue&quot; ? delete_cue 3 : hot_cue 3" />
<map value="HOT_CUE_4" action="sampler 1 play_stop" />
<map value="HOT_CUE_5" action="sampler 2 play_stop" />
<map value="HOT_CUE_6" action="sampler 3 play_stop" />
<map value="HOT_CUE_7" action="sampler 4 play_stutter" />
<map value="HOT_CUE_8" action="sampler 5 play_stutter" />
<map value="HOT_CUE_DEL" action="toggle &quot;delCue&quot;" />
<map value="LED_HOT_CUE_1" action="var &quot;delCue&quot; ? hot_cue 1 ? blink : off : hot_cue 1" />
<map value="LED_HOT_CUE_2" action="var &quot;delCue&quot; ? hot_cue 2 ? blink : off : hot_cue 2" />
<map value="LED_HOT_CUE_3" action="var &quot;delCue&quot; ? hot_cue 3 ? blink : off : hot_cue 3" />
<map value="LED_HOT_CUE_4" action="sampler 1 play_stop" />
<map value="LED_HOT_CUE_5" action="sampler 2 play_stop" />
<map value="LED_HOT_CUE_6" action="sampler 3 play_stop" />
<map value="LED_HOT_CUE_7" action="sampler 4 play_stutter" />
<map value="LED_HOT_CUE_8" action="sampler 5 play_stutter" />
<map value="LED_HOT_CUE_DEL" action="var &quot;delCue&quot;" />
<map value="LED_PITCHBEND-" action="seek -3 ? on : off" />
<map value="LED_PITCHBEND+" action="seek +3 ? on : off" />
<map value="LED_CUE" action="loaded ? pause ? blink : cue : off" />
<map value="LED_PLAY_PAUSE" action="loaded ? pause ? blink : play : off" />
<map value="LED_SYNC" action="loaded ? sync : off" />
<map value="LED_LOOP_HALF" action="loop ? on : off" />
<map value="LED_LOOP_DBLE" action="loop ? on : off" />
<map value="LED_LOOP" action="loop ? blink : off" />
<map value="LED_FX1" action="? effect &quot;backspin&quot; active : effect &quot;dsp_Distorter&quot; active ? on : off" />
<map value="LED_FX2" action="? effect &quot;brake&quot; active : effect &quot;flanger&quot; active ? on : off" />
<map value="LED_FX3" action="? effect &quot;FlangedLoopOut&quot; active : effect &quot;dsp_Reverb&quot; active ? on : off" />
<map value="LED_FX4" action="effect active ? on : off" />
<map value="LED_LEFT" action="browser_window &quot;folders&quot;" />
<map value="LED_RIGHT" action="browser_window &quot;songs&quot;" />
<map value="LED_ENTER" action="on" />
<map value="MASTER" action="master_volume" />
<map value="HEADPHONE_MIX" action="headphone_mix" />
<map value="HEADPHONE_VOL" action="headphone_volume" />
<map value="LOAD" action="load" />
<map value="LOAD_FX1" action="browser_zoom" />
<map value="LOAD_FX2" action="toggle &quot;effect&quot;" />
<map value="EQ_HIGH" action="gain" />
<map value="EQ_MID" action="key" />
<map value="EQ_LOW" action="eq_low" />
<map value="KILL_EQ_HIGH" action="eq_kill_high" />
<map value="KILL_EQ_MID" action="eq_kill_mid" />
<map value="KILL_EQ_LOW" action="eq_kill_low" />
<map value="PFL" action="pfl" />
<map value="VOLUME" action="volume" />
<map value="CROSSFADER" action="crossfader" />
<map value="VU_METER_R" action="get vu_meter_right" />
<map value="VU_METER_L" action="get vu_meter_left" />
<map value="LED_LOAD_FX2" action="var &quot;effect&quot;" />
<map value="LED_LOAD" action="on" />
<map value="LED_LOAD_FX1" action="browser_zoom" />
<map value="KEYLOCK" action="pitch_reset" />
<map value="LED_KEYLOCK" action="play ? get beatgrid" />
</mapper>
[/B][/SIZE]
synthet1c
there is a shift in that mapping that has been called 'delCue' You could use that or make another button another shift, what do you want to do? A negative about using the current 'delCue' shift is that you could accidentally delete your cues which isn't a great option. It may be okay to use the fx assign buttons for the purpose of changing the effect. Up to you...
KingCast
I got to be honest I've been utilizing the fx part of the map this last week and i'm really starting to like it other than the funky script and the problem with the leds, I'd like to stick with using fx assign as a shift for fx 1,2,3. Either way I appreciate your input. Oh also how exactly would I script the keylock led, I was messing around with the beatgrid script before I made this post but without any luck. Thanks again!!!
You need to login in order to write on our forum

<< Cancel

Copyright 2012-2023
DJRANKINGS.ORG n.g.o.
Chuo-ku, Osaka, Japan

Created by Ajaxel CMS

Terms & Privacy