Ingreso rápido:  

Forum: Wishes and new features

Tema: Assign Shader to song
Could we have the option under a songs Tag to assign a Shader to load.
Then once over if no Shader is assigned on the next track default to the last shader as normal.

Thanks!
 

Mensajes Tue 31 Jan 23 @ 5:48 pm
locoDogPRO InfinityModeratorMember since 2013
you can do that now.
 

Mensajes Tue 31 Jan 23 @ 5:49 pm
thats interesting ...

how do we do it ?

i looked in the tag editor and did not find something
 

Mensajes Tue 31 Jan 23 @ 5:51 pm
locoDogPRO InfinityModeratorMember since 2013
read an effect_string, write a tag, load a song, read its tag, write an effect_string,
how else would you expect to do it?
 

Mensajes Tue 31 Jan 23 @ 5:55 pm
I don't have an option in the Tag Editor yet either.
Maybe it's on a Beta build.
 

Mensajes Tue 31 Jan 23 @ 6:15 pm
locoDogPRO InfinityModeratorMember since 2013
No just use a tag, any tag, I won't tell the tag police.
 

Mensajes Tue 31 Jan 23 @ 6:32 pm
I would love too!

Just don't see a Shader tag in the Tag Editor.

 

Mensajes Tue 31 Jan 23 @ 6:47 pm
What he's saying is that you can type a shader into any tag of your choice in the tag editor (right click a song in your catalog and choose tag editor). Then you can write a script onload that checks if there's a value in that tag field and if so, load that shader.
 

Mensajes Sat 04 Feb 23 @ 7:24 am
Can we get an example of the script please??

Thanks
 

Mensajes Sat 04 Feb 23 @ 4:10 pm
Open a Track on TAG EDITOR
Type "Geometry" on "Grouping" field
Close TAG EDITOR

Open the Keyboard mapper.
Find the key "ONSONGLOAD"
Paste this code:
get_loaded_song 'Grouping' & param_cast & effect_string "audioonlyvisualisation" 1


That's for when Shader is used as a audio only visualization plugin.

If you want to access the "Shader" Effect (when it's running as a master effect) use this instead:
get_loaded_song 'Grouping' & param_cast & effect_string "shader" 1


PS: The change happens when you load the song, not when the deck goes live.
However depending on your workflow you can use the code on another mapper key, or even create a repeat script that would handle the switch better.

PS2: Of course, instead of "Geometry" (standard shader distributed with VirtualDJ) you can type ANY shader name you like, as it's shown on the shader control window.
E.g. Audio spectrum ( Enhanced )
 

Mensajes Sat 04 Feb 23 @ 7:46 pm
locodog wrote :
read an effect_string, write a tag, load a song, read its tag, write an effect_string,
how else would you expect to do it?



I gave it some in-depth thought. I sat down with the village elders and we have decided what we expect it to do is as follows:

Option 1: If in the TAG editor, Shader would have its own TAG option with a drop-down list of all shaders to select one per song.

However, a much wiser elder has come up with a better
Option 2: Somehow have shaders allowed in the video editor so different shaders can be triggered at multiple parts of a song.

While we were debating we think the best option and moving forward what we will expect is;
Option 3 : Both Option 1 & 2.

Thanks and we look forward to its integration in the new build!
(However if possible get it done by 04-01-2023)


 

Mensajes Tue 07 Feb 23 @ 1:06 am