快速登录:  

Forum: General Discussion

话题: Who can explain the command line to me?

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

I have seen the following command, who can explain this?

deck Master effect_show_gui 'text' & deck master effect "text" active & deck master get_loaded_song 'comment' & param_cast text & effect_string 'text' 2

the following is important: param_cast text & effect_string 'text' 2
1. what does: param_cast
2. what does: effect_string
and why is the "2" behind effect_string text?
 

发表时间 Sun 30 May 21 @ 2:09 pm
NicotuxHome userMember since 2014
deck Master effect_show_gui 'text' & ; toggles the GUI for effect text in master deck
deck master effect "text" active & ; toggles the effect "text" in master deck
deck master get_loaded_song 'comment' & ; read the "comment" field from the file loaded in Master deck
param_cast text & ; converts the return parameter to text usable as a parameter for next function
effect_string 'text' 2 ; send the parameter (text from previous function) to string 2 (text to display) of "text" effect in current action deck (master deck specified in previous commands)

 

发表时间 Sun 30 May 21 @ 2:18 pm
@NICOTUX thanks
 

发表时间 Sun 30 May 21 @ 2:29 pm
NicotuxHome userMember since 2014
Sorry I'm wrong

effect_string 'text' 2 ; send the parameter (text from previous function) to string 2 (text to display) of "text" effect in current action deck (master deck specified in previous commands)

does not seem to work
 

发表时间 Sun 30 May 21 @ 2:46 pm
NicotuxHome userMember since 2014
I don't know where you found this command but it look as a bug report to me
It exposes issues ^^ with mp3 and conflict in naming decks


deck Master effect_show_gui 'text' & ; toggles the GUI for effect text in master TAKING CARE ABOUT audio only visualisation
WHICH IS WRONG because it does not appear in the list of available sources
So that the GUI shows parameters corresponding to something unavailable
It's only a limitation, like for shaders

effect_select audioonlyvisualisation 'text'
shows it in the selection combo

effect_string 'text' 2
DOES NOT TAKE CARE ABOUT audio only visualisation

BOTH EFFECTS will activate at the same time doing this

The other point :
deck master get_loaded_song 'comment' & ; read the "comment" field from the file loaded in Master TEMPO deck NOT master deck which does not have a track
 

发表时间 Sun 30 May 21 @ 3:47 pm


(陈旧帖子或论坛版块会自动关闭)