repeat_start_fade – czasownik VDJScript
Fade from one value to another in a specified time and optionally in a specified number of steps: 'repeat_start_fade 'myfadename' 0.0 1.0 1000ms 4 1.0 & level' First parameter is name, so it can be stopped early using repeat_stop. Second parameter is start value, third parameter is end value, fourth parameter is time (milliseconds or beats), fifth parameter is number of steps (optional, default is smooth). Sixth parameter is curve (optional) The action will be executed with the current value as a implicit parameter. All parameters except name can be script as well by using backticks. For example: 'repeat_start_fade 'myfadename' `level` `get_var targetLevel` 1000ms 4 & level'. In this example, by using level as starting value, it will start to fade from the current value.
Składnia
repeat_start_fade
Parametry
- time in ms
Przykład
repeat_start_fade 'myfadename' 0.0 1.0 1000ms 4 1.0 & level
Podręcznik czasowników VirtualDJ