快速登录:  

Forum: Wishes and new features

话题: Start Events from Playlists

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

The event scheduler is very powerful and opens up many new possibilities. It would be great if events could be started from the automix. For instance a track could be played and automated video switching and titling could occur as part of that track.
 

发表时间 Wed 08 Apr 20 @ 3:17 pm
For now, you could "program" the Event Scheduler to check when a new song is played in the automix, and then change something accordingly..

As a very basic example with script entries and made as "step by step" in a "loop" to make it easier to understand whats going on :
1. get_automix_position & param_equal 1 ? set "$automixpositon" `get_automix_position`
2 . get_automix_position & param_bigger `get_var "$automixpositon"` ? effect_string "audioonlyvisualisation" 1 +1 & set "$automixpositon" `get_automix_position`
3. eventscheduler_start

(might be some errors, just on top of my head as "example")



<?xml version="1.0" encoding="UTF-8"?>
<schedule>
<event startafter="0" endafter="1" action="script" param="get_automix_position & param_equal 1 ? set "$automixpositon" `get_automix_position`" />
<event startafter="1" endafter="1" action="script" param=" get_automix_position & param_bigger `get_var "$automixpositon"` ? effect_string "audioonlyvisualisation" 1 +1 & set "$automixpositon" `get_automix_position`" />
<event startafter="2" action="script" param="eventscheduler_start" />
</schedule>



Could be made simpler with some load_pulse checking new song load script, or even tons easier by just using the ONSONGLOAD in the keyboard mapper, and just add what you want to happen there, for example effect_string "audioonlyvisualisation" 1 +1 to change shader at each new song ;-)

As for titling you could add the Text video effect as part of the script, but perhaps much nicer would be to use Titler plugin or Title video skins, that show titles automatically for a short time during transitions, with some nice graphics ;-)
 

发表时间 Wed 08 Apr 20 @ 4:34 pm


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