pele2010 wrote:So the only question is now , how I can access this Value to a slider?
. short answer - you can, but it requires writing a module.
. a while back i uploaded a module '120 avFX' to the public library and it uses audio to change a parameter from a free frame effect. the key parts of the module are the effect definition and the parameter you want to change. basically, in PeriodicalEvent() you have:
modul8.setFilters([{},{}],0,False)
modul8.setFilters(useFXlist,0,False)
. in this case, useFXlist is a dictionary of effect definitions that contain all the currently active effects and their parameters - if you look at the code, it might make a bit more sense. so, you add a slider and assign it to a variable that changes 'Level X' in the array of dictionaries in useFXlist (in my example).
. hint - to find out what the parameters of a filter are - open the Filter(layer) module and go to the bottom of the Init() and find def setFilters() - the last line is commented out, uncomment the line that says
print filters
. for Blur (Box) - you'll see something like this :
[{'FILTER': '(M8) Blur (Box)', 'PARAMETERS': {'Level Y': 1.0, 'Level X': 1.0}}, {}, {}, {}]
. remember, Filter(layer) lets you do four effects - the other three are empty {}. {}, {}
. so you can cut/past the definitions and send them to modul8.setFilters() to enable them.
. good luck!
-james
(a nomad. )