Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: Is there a way to get comments for each deck individually in VDJScript?
abukamePRO SubscriberMember since 2022
Hello, fellow VirtualDJ users,
I'm currently developing a plugin using VDJScript that links with visuals.
The get_comment() function seems to return the comment only for the currently active deck, but I'm looking for a way to retrieve comments for both decks (or all decks) simultaneously.

The reason I need this functionality is that I want to know the information of the fade-in deck at the beginning of a crossfade.
For example, to smoothly transition visuals, I'd like to retrieve and prepare the comment information of the next track in advance.
Ideally, I'd like to have functions like deck_get_comment(1) or deck_get_comment(2).
These functions don't seem to exist, but is there any alternative method to achieve similar functionality?

Being able to retrieve comments for both decks simultaneously would allow for more flexible and effective visual synchronization.
If you have any advice or solutions, please share them.
Thank you very much for your help!
 

geposted Sat 28 Sep 24 @ 5:02 am
locoDogPRO InfinityModeratorMember since 2013
deck 1 get_comment
deck 2 get_comment
deck left get_comment
deck right get_comment
deck 1 get_loaded_song comment
deck master get_loaded_song comment [loudest deck by cross & upfader positions]

I also believe this should work too
deck 2 get_text %comment

Any of those scripts called with
// pass array by ref
GetStringInfo("SCRIPT", &charArray[0], sizeof(charArray));
 

geposted Sat 28 Sep 24 @ 5:26 am
abukamePRO SubscriberMember since 2022
thank you!
 

geposted Mon 07 Oct 24 @ 3:57 pm