A few of the currently non working processes from the CDP tool, ’ Distort - Distort Shuffle’, ’ Blur - Blur Shuffle’ & ’ Grain - Grain Reorder’, need a text string as input for its main parameters to work.
Currently in the tool you can only, set through a slider or manually input through the keyboard, numeric values for its parameters…
I’d like to add functionality of inputting characters, so these non-working processes will work.
Looking through the code in the definition file (row 497 to 516), I think I need to change stuff here;
-- Establish type of argument, value, switch or switch with value local function arg_type(arg) local type = "value" if arg.switch ~= nil then if (arg.min ~= nil) and (arg.max ~= nil) then if arg.input == "brk" then type = "switchvaluevariable" else type = "switchvalue" end else type = "switch" end elseif arg.input ~= nil then if arg.input == "brk" then type = "valuevariable" end end return type end
I think I need to create an extra type available next to "valuevariable’ for arg.input specifically for characters.
I’m no coder and don’t plan to start learning lua from ‘hello world’-scratch, like to pragmatically hack this , but am not sure where to go from browsing in the terminal.
Does ‘vb container’ stand for variable box container? Should I create a new local entry for characters?
Someone please direct me to a place where I can read up on how this stuff works, kthnxbye