I am new to mapping in virtual dj and am wondering if there is a script that would allow me to use my MIDI keyboard's pitch wheel to scroll through the browser. When I map it to browser_browser scroll it only moves the selection in one direction. Since the pitch wheel's resting MIDI value is 64 this script would ideally scroll up when the MIDI value is above 64 and scroll down when it's below 64. Can someone offer any advice on this?
Inviato Fri 08 Aug 14 @ 9:25 pm
you can try ...
param_smaller 0% ? browser_scroll -1 : browser_scroll +1
or
param_smaller 0 ? browser_scroll -1 : browser_scroll +1
or try 50% instead of 0
If none works then you will need to create a proper definition for your MIDI keyboard.
http://www.virtualdj.com/wiki/Controller_Definition.html
param_smaller 0% ? browser_scroll -1 : browser_scroll +1
or
param_smaller 0 ? browser_scroll -1 : browser_scroll +1
or try 50% instead of 0
If none works then you will need to create a proper definition for your MIDI keyboard.
http://www.virtualdj.com/wiki/Controller_Definition.html
Inviato Fri 08 Aug 14 @ 9:35 pm
what's your midi keyboard?
Inviato Fri 08 Aug 14 @ 9:36 pm
They keyboard is a Nektar Impact LX49
Inviato Fri 08 Aug 14 @ 9:40 pm
Okay so I'm using "param_smaller 50% ? browser_scroll +1 & param_greater 50% ? browser_scroll -1" and the param_smaller 50% command is working to move the browser scroll +1 but it won't move -1 if I move it the other way.
Inviato Fri 08 Aug 14 @ 9:49 pm
if you have the same midi code (CC...) for this key, djdad said the answer
param_smaller 50% ? browser_scroll -1 : browser_scroll +1
if it's not the case and you have 2 midi codes (up & down) writ only
browser_scroll -1 for down
browser_scroll +1 for up
juan
param_smaller 50% ? browser_scroll -1 : browser_scroll +1
if it's not the case and you have 2 midi codes (up & down) writ only
browser_scroll -1 for down
browser_scroll +1 for up
juan
Inviato Fri 08 Aug 14 @ 9:51 pm
okay so I got it working but is there a way I can reduce the sensitivity? ideally this would change the pitch wheel's range to not more than 10 midi values above 50%
Inviato Fri 08 Aug 14 @ 9:53 pm
map the both keys on top also
browser_scroll -1 for down
browser_scroll +1 for up
browser_scroll -1 for down
browser_scroll +1 for up

Inviato Fri 08 Aug 14 @ 10:09 pm