Trying to get an action to repeat when holding the button down. Was trying to use the FLOW command of DOWN. This is what I was messing with:
var '$down' ? sampler_group_volume 1 +3% : sampler_group_volume 1 +3%
Second portion works. The DOWN component does not. Probably missing something small, but I this is my first time trying to write anything than the most basic script.
var '$down' ? sampler_group_volume 1 +3% : sampler_group_volume 1 +3%
Second portion works. The DOWN component does not. Probably missing something small, but I this is my first time trying to write anything than the most basic script.
Inviato Fri 14 Aug 15 @ 8:17 am
You have used the same action for both values of the variable so you wont get anything different.
If you need to gradually increase the volume of sample 1 while the button is held, try this..
repeat 500ms & sampler_group_volume 1 +3%
you can also change the time from 500ms to a lower one to increase the "waiting time" of the repeat action.
If you need to gradually increase the volume of sample 1 while the button is held, try this..
repeat 500ms & sampler_group_volume 1 +3%
you can also change the time from 500ms to a lower one to increase the "waiting time" of the repeat action.
Inviato Fri 14 Aug 15 @ 3:00 pm
Works like a charm as usual!
Inviato Fri 14 Aug 15 @ 3:47 pm
Question to any staff that will answer (not hijacking the thread just continuing the discussion)
What is the shortest repeat time possible? (for repeat _start I've found 33ms is the lowest but have never been give an absolute answer if it's my machine or vdj that is the limit)
What is the shortest repeat time possible? (for repeat _start I've found 33ms is the lowest but have never been give an absolute answer if it's my machine or vdj that is the limit)
Inviato Fri 14 Aug 15 @ 11:58 pm
I believe it is hardware related, and VDJ only receives the message sent by the OS.
Have a look at here:
https://msdn.microsoft.com/en-us/library/system.windows.forms.systeminformation.keyboardspeed.aspx
Have a look at here:
https://msdn.microsoft.com/en-us/library/system.windows.forms.systeminformation.keyboardspeed.aspx
Inviato Mon 17 Aug 15 @ 9:55 am
The limit will be around 33ms as well. (repeat and repeat_start use the same mechanism, so timing of both will be the same)
It is not linked to the keyboard repeat rate (which is a system setting)
It is not linked to the keyboard repeat rate (which is a system setting)
Inviato Tue 18 Aug 15 @ 5:14 pm
Thanks for that Adion, it's good to know for sure. Maybe this info could be added to the appropriate entries in the script wiki.
Inviato Wed 19 Aug 15 @ 5:42 am