Recently i have posted some help regarding the rotary encoder button and it was "Synthet1c and PhantomeDeejay" who had help me to solve the issue. Now i have done combined their suggested scripts to this one below and it is working fine. A week after i want to map the led of the pitch slider to work as it must be "ON" when the pitch is adjusted above or below ZERO and the pitch slider led must be "OFF" when it is the original pitch which ZERO (means no adjustment have been done in the pitch slider). But up to now i can't get it right i have tried doing the "get pitch 0.1%" as it is in the wiki and it doesn't work i'm sure someone have better idea on this. Right now the led will lights on when i press/push down the rotary encoder buttons and off when i remove my hands from pushing it. Normal rotation of the pitch slider was assigned to fine adjustment and coarse adjustment when push down and rotate. Below is the example of the scripts in order for you to have and idea.
<map value="PITCH_RESET" action="var '$SHIFT' ? pitch_reset 100% : set '$PSL' while_pressed" />
<map value="PITCH_SLIDER" action="var '$PSL' ? param_greater 0 ? pitch +1% : pitch -1% : param_greater 0 ? pitch +0.01% : pitch -0.01%" deck="1" />
Thank you so much and your help is very much appreciated.
<map value="PITCH_RESET" action="var '$SHIFT' ? pitch_reset 100% : set '$PSL' while_pressed" />
<map value="PITCH_SLIDER" action="var '$PSL' ? param_greater 0 ? pitch +1% : pitch -1% : param_greater 0 ? pitch +0.01% : pitch -0.01%" deck="1" />
Thank you so much and your help is very much appreciated.
Posted Mon 28 Nov 11 @ 6:02 am
I believe you should try:
pitch 100% ? off : get pitch
PS: Now that I'm thinking of it (I can't try it right now) "get pitch" should also do the trick...
Edit:
Change this line to:
<map value="PITCH_RESET" action="var '$SHIFT' ? pitch_reset : set '$PSL' while_pressed" />
You don't need the 100% in there (pitch_reset 100%) you only need pitch_reset
pitch 100% ? off : get pitch
PS: Now that I'm thinking of it (I can't try it right now) "get pitch" should also do the trick...
Edit:
Change this line to:
<map value="PITCH_RESET" action="var '$SHIFT' ? pitch_reset : set '$PSL' while_pressed" />
You don't need the 100% in there (pitch_reset 100%) you only need pitch_reset
Posted Mon 28 Nov 11 @ 6:16 am
"get pitch" thats where i was focus too but i don't get it right. I'll do yours, just trying to test it and i will update you how it works. Thank you so much.
Posted Mon 28 Nov 11 @ 7:16 am
I know with my controller, the pitch led is controlled by the hardware not the software, so it will always be on at 0 or off if not
you could try
pitch 100% ? off : on
you could try
pitch 100% ? off : on
Posted Mon 28 Nov 11 @ 7:26 am
Hi, i have both used your suggested scripts and still not getting it right maybe some other way around. Still when i push the rotary encoder buttons it lights on both the deck a & b it is like global and off when remove my hand from pushing it.
Posted Tue 29 Nov 11 @ 11:52 am