Entra:     


Forum: Old versions

Topic: Mapping script help

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

I am trying to map my DP2, like this ...

Button 1 : browser_window "folders"
Shift+Button 1 : browser_window "sidelist"
Button 2 : browser_window "songs"
Shift+Button 2 : browser_window "playlist"

LED Button 1 : browser_window "folders" ? on : browser_window "sidelist" ? blink
LED Button 2 : browser_window "songs" ? on : browser_window "playlist" ? blink

And a use a selector .
TrackSelector : browser_scroll

Now,
If i select folders pushing the Button1 the led lights on for a second and then turns off.
If i select songs pushing the Button2 the led lights on for a second and then turns off
If i select either sidelist or playlist, the leds blnk properly.

The strange is that if i select to focus folders or songs with mouseclick the leds light on and stay on.

Any ideas?
 

Inviato Sun 21 Nov 10 @ 6:16 pm
Hey DJDad,

I had the same problem with the APC40 because when any of the lighted key is pressed it would "on while_pressed" be default and turn off when I released. I would invert the LEDs, pressing your button 1 would light up browser_window "songs" and vice versa. I did something similar on my mapping.

ReThink
 

I'm not sure..

I mean there are different midi signals for releasing a key, so if i do not map them (which i havent) then nothing is going to change with release. And further on that, when i release the button the light is still on, but it goes off after a couple of seconds.

I also niticed that when you select browser_window "songs" with keyboard or controller button it doesnt highlight the first song (if excists)
 

The strange is that i tried to make 2 other buttons to do the same job, and leds worked just fine. I double checked my mapper, nothing strange there.
 

The fact that it works on other buttons and not these is strange. But I would try this:

Button 1 : browser_window "folders" & set "browser" 1
Shift+Button 1 : browser_window "sidelist" & set "browser" 2
Button 2 : browser_window "songs" & set "browser" 3
Shift+Button 2 : browser_window "playlist" & set 'browser" 4

LED Button 1 : var_equal "browser" 1 ? on : var_equal "browser" 2 ? blink
LED Button 2 : var_equal "browser" 3 ? on : var_equal "browser" 4 ? blink
 

Nothing ... Nada ...Tzifos (in Greek ..lol)

All the above codes are working on different buttons but not in the particular ones.

So this might be a DP2 issue.
Question for Dev Team.
In the default mapper there was a default value for LEDS..example

<led note="0x3D" name="LED_LOAD_TO_L" default="??????????" channel="0" deck="1" />
<led note="0x3D" name="LED_LOAD_TO_R" default="??????????" channel="1" deck="2" />

I erased the default value, i think it had the same name like the button or led, i dont recall. Do you think that matters to my issue ?
 



(Vecchi argomenti e forum sono automaticamente chiusi)