Ingreso rápido:  

Forum: Old versions

Tema: MAPPING THE LED OF THE SHIFT BUTTONS

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

Hi, i'm trying to map the "LED" of the "SHIFT" button to lit in an specific deck. I have set my shift as global by having like this "$shift" now it is annoying to me that everytime i press the shift key on the deck 1 it will lit other shift button on deck 2. I set my shift global because there are some buttons on the center of the controller that both decks 1 & 2 shared the function of it. I don't like the way shift led works. Does anyone have any thoughts on these? Thank you so much.
 

Mensajes Tue 06 Dec 11 @ 7:55 am
just put another variable on the shift button, so it should say

set '$shift' while_pressed & set 'shiftled' while_pressed.

then query 'shiftled' for the leds...
 

Mensajes Tue 06 Dec 11 @ 8:39 am
Thanks bro, LOL... mind not so absorbing...i was not able to think of that it works that way, too stress maybe need some rest. Thanks again.
 

Mensajes Wed 07 Dec 11 @ 2:23 pm
Hi Andrew, I have created this two scripts below and have 3-function and works like this: When encoder rotate left & right it works as decrease & increase in loop length % (loop_double) this purpose is for making the loop wider & tighter for rolling effects and when push-down the (loop_exit) and by having press the "shift + encoder push down" and remove your finger without holding it the encoder will work as (loop_move 100%) when rotated left & right. Now in this stage i can't go back to the loop_length to edit my loops i have no choice just to push the encoder down to exit in loop_move 100% it is better if i could go back to the loop_length again to edit before i exit.

This is the script i have used it works fine as mention above.
"ENCODER_PUSH" action="var '$shift' ? set '$Xone_loop' 1 & on : set '$Xone_loop' 0 & loop_exit" />
"ENCODER_ROTATE" action="var '$Xone_loop' ? param_greater 0% ? loop_move +100% : loop_move -100% : loop_length" />

Can it be possible like this way? this is the way i wanted i have already tried some but not the way i like.
1. Encoder will work as loop length % (increase when rotate right & decrease when rotate left) and "loop_exit" when encoder push down.
2. When you press the "shift + encoder down" without holding it (aka just a click) rotate the encoder as normal the encoder should work as loop_move 100% left & right to position the loops in the tracks and press the "shift + encoder" again to go back to the normal default function as loop_length to edit the loops size again (something like toggling between the loop_length & loop_move 100% using the shift button) and then by just pushing down the encoder alone without the combination of shift to exit loops mode. Any thoughts on this? very much appreciated.

Thank you so much.

 

Mensajes Sat 10 Dec 11 @ 5:16 pm
it will be a tough one to do 'loop_move while_pressed' you could maybe try something like

down ? var '$shift' ? set 'Xone_loop' 1 : set 'Xone_loop' 0 & loop_exit : set 'Xone_loop' 0

(this is just a precaution, you probably don't need it though)

then the encoder queries "var 'Xone_loop' 1" to do it's thing. Hopefully what it should do is only set the loop move shift when the shift button is pressed, but cancel when ever the encoder button is lifted and go back to loop size, then if you hit the button not holding shift it should exit the loop, it's untested but it should be okay for what you want..

And quit '$globalizing' all your 'local' shifts... LOL I don't know how you use them that way
 

Mensajes Sat 10 Dec 11 @ 5:31 pm
Yes you are right and i don't need to do 'loop_move while_pressed. Now i have tried and tested the your option above but it does the same to what i have. If it doesn't work that way maybe another approach of switching them, between loop_length & loop_moves by using the shift button. Thank you so much.
 

Mensajes Sun 11 Dec 11 @ 12:26 am
if you wanted a toggle that should be something like this maybe...

query ? true : false

var '$shift' ? var 'xone_loop' 1 ? set 'xone_loop' 0 : set 'xone_loop' 1 : var 'xone_loop' 1 ? set 'xone_loop' 0 : loop_exit

this should only toggle the loop move shift on if the shift button is pressed, but if not pressed it will toggle it off if on then exit the loop on the next press after the xone_loop shift is deactivated
 

Mensajes Sun 11 Dec 11 @ 1:08 am
This is great Andrew, good to have this forum otherwise i can't really imagine how could i fixed this without your help guys. I have also did to have this options of having the encoder rotate while_pressed ( set 'xone_loop' while_pressed" ) it is nice how it works and it does two functions ( loop_move & loop_length ) conveniently at a time but the problem is how to off and exit the loop mode buy pressing down the encoder button by itself again and not by using another button or the shift button.

 

Mensajes Sun 11 Dec 11 @ 5:59 am
I think I made it more complicated than you wanted LOL

The reason I didn't give you this from the start is the only way to toggle it is to be holding the shift button, which to me seems annoying, but each to their own... :-P

var '$shift' ? toggle 'xone_loop' : loop_exit

or this if you want to cancel xone_loop and exit

var '$shift' ? var 'xone_loop' 1 ? set 'xone_loop' 0 : set 'xone_loop' 1 : set 'xone_loop' 0 & loop_exit
 

Mensajes Sun 11 Dec 11 @ 6:19 am
Thanks bro, i feel it is not worth if we need to toggle it by shift then it is useless as i don't like to do that way actually (set 'xone_loop' while_pressed) was the default i have done for the loops and then when my mapper have tested by some friends, there are some request that have to be considered in order to make it more smooth and functional as it can, so some of their request i have taken into accounts and tested my mapper by myself in order to evaluate their suggestion then if it is really worth then i made the changes then if not i just leave as it is. Is that right? otherwise it will a countless of modification. Thank you bro.
 

Mensajes Sun 11 Dec 11 @ 8:16 am
yeah of coarse cesar, your the one using it so make it work for you LOL... It just shown our brains work in different ways ;)
 

Mensajes Sun 11 Dec 11 @ 11:46 am


(Los tópicos y foros antiguos son automáticamente cerrados)