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.
Posté 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")
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 ;-)
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 ;-)
Posté Wed 08 Apr 20 @ 4:34 pm