Forum: Addons

Addons comments
Sujet VideoFX
MrJackyHome userMember since 2015

Posté Sun 13 Jan 19 @ 3:35 pm
MrJackyHome userMember since 2015
La version 1.0 del pad esta específicamente diseñada para activar/desactivar los efectos de vídeo: "boom auto", "shake", "spectral", "strobe", "outline", "vibrate", "colorice", "negative" y "text" (el efecto "text" es lanzado con shift+pad8, aprovechando que el efecto "negative" no dispone de GUI).

El parámetro 1 activa/desactiva el modo automático, mayormente activa los efectos por la intensidad de "get_beat" y con una duración de tiempo establecida en el script.
Podemos activar varios efectos automáticos y cambiar el parámetro 1 para activar el resto manualmente.

La versión 1.1 del pad, ademas de mejorar notablemente el modo automático, tiene una nueva pagina de configuración, que permite configura los slider del efecto con 3 configuraciones preestablecidas (para cambiar la pagina usaremos el parámetro 2).

LOW para un efecto mas suave
MID para un efecto medio
HARD para un efecto mas agresivo

Estoy trabajando en una versión 1.2 con la ayuda de Builder y su creador "locodog" para crear una nueva pagina que permita configurar los tiempos que el efecto debe estar activo cuando el sonido activa los efectos.

Posté Sun 27 Jan 19 @ 12:33 pm
MrJackyHome userMember since 2015
locodog i need you
I'm modifying the pad and let's say the button stays that way.

ButtonName:
VIBRATE\n`var 'videofx_padpage' 3 ? var '$fxvibrate_toggle' ? get_text 'ON/OFF' : get_text 'ON' : var 'videofx_padpage' 2 ? get_var '$vibrate_beats' : var 'videofx_padpage' 1 ? var '$fxvibrate_force' 1 ? get_text 'MID' : var '$fxvibrate_force' 2 ? get_text 'HARD' : get_text 'LOW'`

ButtonPAD:
var 'videofx_padpage' 1 ? deck master video_fx_select 'vibrate' & cycle '$fxvibrate_force' 3 &
var '$fxvibrate_force' 1 ? deck master video_fx_slider 1 0.4 & deck master video_fx_slider 2 0.3 :
var '$fxvibrate_force' 2 ? deck master video_fx_slider 1 0.75 & deck master video_fx_slider 2 0.50 :
deck master video_fx_slider 1 0.1 & deck master video_fx_slider 2 0.2 :

var 'videofx_padpage' 2 ? deck master var '$vibrate_beats' 1 ? deck master set '$vibrate_time' '2beat' & deck master set '$vibrate_beats' 2 : deck master var '$vibrate_beats' 2 ? deck master set '$vibrate_time' '4beat' & deck master set '$vibrate_beats' 4 : deck master var '$vibrate_beats' 4 ? deck master set '$vibrate_time' '1/8th' & deck master set '$vibrate_beats' 0.125 : deck master var '$vibrate_beats' 0.125 ? deck master set '$vibrate_time' '1/4th' & deck master set '$vibrate_beats' 0.25 : deck master var '$vibrate_beats' 0.25 ? deck master set '$vibrate_time' '1/2th' & deck master set '$vibrate_beats' 0.5 : deck master set '$vibrate_time' '1beat' & deck master set '$vibrate_beats' 1 :

var 'videofx_padpage' 3 ? toggle '$fxvibrate_toggle' :
var '$FXAuto' ? var '$fxvibrate' ? deck master var '$vibrate_time' 0 ? deck master set '$vibrate_time' 250 : deck master get_beat_bar & set '$fxvibrate' 0 & deck master repeat_stop '$vfx6' & deck master video_fx 'vibrate' off : set '$fxvibrate' 1 & deck master effect_button 'Builder' 9 & get_text "deck master repeat_start_instant '$vfx6' `get_var '$vibrate_time'`ms & deck master param_bigger get_beat_bar get_beatdiff ? var '$fxvibrate_toggle' 0 ? deck master video_fx 'vibrate' on : deck master video_fx 'vibrate' : deck master video_fx 'vibrate' off" & param_cast "text" & effect_string "Builder" 6 & deck master effect_active "Builder" on & set "string6" 1 : deck master repeat_start_instant '$vfx6' ? on & deck master repeat_stop '$vfx6' & set '$fxvibrate' 0 & deck master video_fx 'vibrate' off : deck master video_fx 'vibrate'


I need you
I'm modifying the pad and let's say the button stays that way.

I am using Builder to change the instant replay time to configure it.

The configurations act on the activated automatism, while the one used by the complement is necessary to restart the button, turning the effect off and on.

Can I have Builder compile the code of the script to be able to recover the time of the beats?
How should I write the script?

Posté Wed 20 Mar 19 @ 1:13 pm
locodogPRO InfinityModeratorMember since 2013
You seem to have a handle on scripting so I won't give you a full solution but here's the basics for builder.
Try something simple and keep adding to it.

effect_button "Builder" 9
this creates variables for beat lengths, see var_list
& get_text "repeat_start_instant 'rsiStartStop' `get_var '8beat'`ms 5 & play_pause"
this is the string sent to builder, var '8beat' (in backticks) will be a number value
& param_cast "text" & effect_string "Builder" 3 & effect_active "Builder" on & set "string3" 1
this casts it to effect_string 3, turns builder on, and switches var "string3" on so builder knows which string to act on (effect_string 3 therefore var 'string3')

If it doesn't work open builders gui and check the string, looking for typos on your part.

Posté Wed 20 Mar 19 @ 5:42 pm
MrJackyHome userMember since 2015
That would be with the basic operation of the plugin.

but if you want Builder to create your own code, you must send a get_text "" (with double quotes) inside another get_text "" (also with double quotes)

Besides that problem, I do not know if Builder is prepared to do that task.

I guess it's easier to edit the configuration page that the plugin uses, so restart the repeat_instant

Posté Wed 20 Mar 19 @ 8:04 pm
locodogPRO InfinityModeratorMember since 2013
I don't understand what you want.

pose your question as a simple script

Posté Wed 20 Mar 19 @ 8:21 pm
MrJackyHome userMember since 2015
n the end, I have edited the configuration page, but I do not like to repeat the same script so many times. At least now it works as I wish.

example:
get_text "effect_button 'Builder' 9 & get_text "repeat_instant 'test' `get_test 'get_var '$timevar''`ms"" & param_cast "text" & effect_string "Builder" 1 & effect_active "Builder" on & set "string1" 1" & param_cast "text" & effect_string "Builder" 2 & effect_active "Builder" on & set "string2" 1

When I want to recompile I have several problems
I must put double quote inside another double quote

how can I put the double quotes so that it does not close the first get_text? for example: a line break I can use \n

Posté Wed 20 Mar 19 @ 10:34 pm
locodogPRO InfinityModeratorMember since 2013
ok show me, what you want to happen as a script

Posté Wed 20 Mar 19 @ 10:38 pm
MrJackyHome userMember since 2015
I have already sent the new version 1.3.

In addition to correcting the problem of the negative effect, I added 2 new configuration pages.

The "Times (ms)" page changes the timer time in which the effect should remain active when the sound activates it.
The "Toggle" page changes the shooting mode of the effect:
ON = maintains the effect when it is triggered
ON / OFF = activates and deactivates the effect when being fired

I recommend changing the default time variables when you find the one you like the most.
pad1: set '$boom_time' 250
pad2: set '$shake_time' 250
pad3: set '$spectral_time' 250
pad4: set '$strobe_time' 250
pad5: set '$outline_time' 250
pad6: set '$vibrate_time' 250
pad7: set '$colorize_time' 250
pad8: set '$text_time' 250
pad8+shift: set '$negative_time' 250

Posté Thu 21 Mar 19 @ 10:29 am
MrJackyHome userMember since 2015
New version 1.5
I have improved the automatic mode with the help of Builder.

The configuration of the automatic mode is saved for future sessions.

The LOW and MID settings of the effects have been modified for a smoother visualization, ideal for activating all the automatic effects at the same time.

Posté Sun 12 May 19 @ 9:08 am