set 'oneBeatMS' `param_multiply "get_bpm & param_1_x" 60000` & param_cast 'ms' & repeat_start 'stupidPlayPause' & play_pause & cycle 'SPP' 33 & var_equal 'SSP' 32 ? repeat_stop 'stupidPlayPause' & set 'SPP' 0 : nothing
we cycle 33 so we actually make it to 32 and when we stop the repeat_start we also reset the var [SPP] to 0, or we could do this to be a bit neater
is this not a simple cycle 32 or is there any difference ?
set 'oneBeatMS' `param_multiply "get_bpm & param_1_x" 60000` & param_cast 'ms' & repeat_start 'stupidPlayPause' & play_pause & cycle 'SPP' 32 & var_equal 'SSP' 0 ? repeat_stop 'stupidPlayPause' : nothing
Anywho that's it for now, next time WILL be changing settings via script.
hope you'll specify the list of settings allowed to be read/written because somme seems to be restricted i.e. "effects"
we cycle 33 so we actually make it to 32 and when we stop the repeat_start we also reset the var [SPP] to 0, or we could do this to be a bit neater
is this not a simple cycle 32 or is there any difference ?
set 'oneBeatMS' `param_multiply "get_bpm & param_1_x" 60000` & param_cast 'ms' & repeat_start 'stupidPlayPause' & play_pause & cycle 'SPP' 32 & var_equal 'SSP' 0 ? repeat_stop 'stupidPlayPause' : nothing
Anywho that's it for now, next time WILL be changing settings via script.
hope you'll specify the list of settings allowed to be read/written because somme seems to be restricted i.e. "effects"
Mensajes Thu 30 May 19 @ 6:18 pm
No difference, [except neater] In the very next script after that one I did cycle 32 (and said it was neater) but I had just introduced the "cycle" action, and it was just to it break it into easily understood steps [first explain how we think, then highlight the small difference of how the program works]
Yeah Settings honestly I don't know the full list of ones allowed to be scripted to, I'd love to be able to do setting "browserColumns" it's a right pain when I've had guests on my rig..
I think I'm just going to give examples of the more common ones and leave users to try stuff
Yeah Settings honestly I don't know the full list of ones allowed to be scripted to, I'd love to be able to do setting "browserColumns" it's a right pain when I've had guests on my rig..
I think I'm just going to give examples of the more common ones and leave users to try stuff
Mensajes Thu 30 May 19 @ 6:40 pm
yes, some as "browserColumns" may finally be understood, have to find the list of possible parameters but some other as "browserSort" badly wont be scriptable for everybody as its parameters are translated depending on the active language.xml :/
Mensajes Thu 30 May 19 @ 6:53 pm
A small unsexy addition that came with v8.4 [2020] that actual could be a big thing
variables can now hold strings
Set [capture] like this
set 'test1' `get_text 'hello'`
set 'test2' `get_browsed_song "artist"`
And you can compare just like any other variable
prove it with custom_button led logic
param_equal `get_var test1` 'hello' ? on : off
check what the var actually is with this as a custom_button name
`get_var test1`
or inspect with the var list viewer
var_list
I'll post more as I figure any nuances
variables can now hold strings
Set [capture] like this
set 'test1' `get_text 'hello'`
set 'test2' `get_browsed_song "artist"`
And you can compare just like any other variable
prove it with custom_button led logic
param_equal `get_var test1` 'hello' ? on : off
check what the var actually is with this as a custom_button name
`get_var test1`
or inspect with the var list viewer
var_list
I'll post more as I figure any nuances
Mensajes Tue 24 Sep 19 @ 10:37 am
Hi, a quick, question -
I want to be able to turn on a specific shader (eg: "geometry") and then control transparency in the poi editor.
I tried effect_string "shader" 1 "geometry" & effect_slider "shader" 1 +0% but they do not work for me.
can anyone advise?
Tks
I want to be able to turn on a specific shader (eg: "geometry") and then control transparency in the poi editor.
I tried effect_string "shader" 1 "geometry" & effect_slider "shader" 1 +0% but they do not work for me.
can anyone advise?
Tks
Mensajes Wed 30 Oct 19 @ 4:11 am
As locodog said previous page:
Button 1 : show position & size selection tool
Button 2 : AutoChange
Button 3 : BeatMove
Slider 1 : Shader selection
Slider 2 : Transparency
String 1 : Indexed name ... the one on Shadertoy
String 2 : Prety name ... the one we understand
Only shader selection (slider 1) reflect in the GUI, all other actions are not reported
however transparency, BeatMove and AutoChange are effective even not updated in the gui
NOT working anymore ?
When a shader or folder is specified by any of its name , the string is affected, querying them gives the changed value, but nothing apply
maybe some extra action is needed or syntax change ?
for transparency use :
deck master effect_slider 'shader' 2 50%
for a shader...
deck master effect_slider 'shader' 1 12%
it is working but have to know the relative position in the list "All"
Don't play too much with it actually.. it crashed some of my PC just using it ... VDJ still up but WindowManager totally broken.. and another one got BSOD
was working fine before last summer
Button 1 : show position & size selection tool
Button 2 : AutoChange
Button 3 : BeatMove
Slider 1 : Shader selection
Slider 2 : Transparency
String 1 : Indexed name ... the one on Shadertoy
String 2 : Prety name ... the one we understand
Only shader selection (slider 1) reflect in the GUI, all other actions are not reported
however transparency, BeatMove and AutoChange are effective even not updated in the gui
NOT working anymore ?
When a shader or folder is specified by any of its name , the string is affected, querying them gives the changed value, but nothing apply
maybe some extra action is needed or syntax change ?
for transparency use :
deck master effect_slider 'shader' 2 50%
for a shader...
deck master effect_slider 'shader' 1 12%
it is working but have to know the relative position in the list "All"
Don't play too much with it actually.. it crashed some of my PC just using it ... VDJ still up but WindowManager totally broken.. and another one got BSOD
was working fine before last summer
Mensajes Wed 30 Oct 19 @ 8:25 am
I've reported effect string not working but the "nudge" of slider 1 [shader select]workaround works here
Mensajes Wed 30 Oct 19 @ 9:50 am