Accesso rapido:  

Forum: General Discussion

Topic: Script School - Page: 26.2
Warnings about the previous script:
It's my thought that anyone using virtual for longer than a few weeks will understand that mixing songs too far apart in bpm are not recommended for this type of button unless it's modified.

Adding pitch_reset to the end of each if condition will reset each songs pitch back to 0%
 

Inviato Tue 07 Jun 22 @ 12:57 am
SveninoPRO InfinityMember since 2009
 

Inviato Mon 27 Jun 22 @ 6:29 pm
locoDogPRO InfinityModeratorMember since 2013
@Svenino it's just

browser_scroll +/- 1
 

Inviato Mon 27 Jun 22 @ 7:36 pm
SveninoPRO InfinityMember since 2009
Hello Locodoc, but it isn´t.
This would be TOO EASY.
Its not about to move the cursor position, but the visible position.

I made a script to jump to a specific folder (have many of them).
(browser_gotofolder 'karaoke' ...)
Now it may be that this folder is very downstairs and the subfolders are not visible.
So I have to move the slider up above to see the (sub)folder(s).
But I want this to automate like:

browser_gotofolder 'karaoke' AND move it to the top of the screen...
Maybe the screenshots (link upstairs) do make clear, what I need...
 

Inviato Mon 27 Jun 22 @ 8:44 pm
locoDogPRO InfinityModeratorMember since 2013
visual pos is based on scroll pos, try scroll down 20 & scroll up 10
 

Inviato Mon 27 Jun 22 @ 10:02 pm

Sooo Loco Im trying to use the info/sideview area to have a list of compatible songs to the songs on deck.
Ive created a filter titled Immediate compatible with this script.
"Bpm Difference < 5 and Key Difference < 1 and Grouping contains Hot"
this is ok but I wanna have more criteria. Like I use the grouping field as a way to create my DJ library. it is something like.... "year/genre/Hot" So I want a criteria that says the grouping area entries must match. Now grouping area can have multiple entries, each entry is separated with a comma.
Is this doable?


 

Inviato Tue 28 Jun 22 @ 12:51 am
SveninoPRO InfinityMember since 2009
locodog wrote :
visual pos is based on scroll pos, try scroll down 20 & scroll up 10


Thanks Locodoc, You brought me to this little trick, wich does the job:

browser_gotofolder "SCHLAGER" & browser_scroll +16 & browser_scroll -16


This brings nearly every selected folder in a toppy position.
Just Folders in "last row" means with less than 16 folders underneath fail this procedure.
So needed folders have to be placed in the beginning of the list.
 

Inviato Tue 28 Jun 22 @ 9:53 am
Djratedxxx919 wrote :

Sooo Loco Im trying to use the info/sideview area to have a list of compatible songs to the songs on deck.
Ive created a filter titled Immediate compatible with this script.
"Bpm Difference < 5 and Key Difference < 1 and Grouping contains Hot"
this is ok but I wanna have more criteria. Like I use the grouping field as a way to create my DJ library. it is something like.... "year/genre/Hot" So I want a criteria that says the grouping area entries must match. Now grouping area can have multiple entries, each entry is separated with a comma.
Is this doable?






Hopefully, this picture helps you to understand.
The track on Deck 1 is Grouped as "ClassicRock" but in the immediate compatible list, nothing matches that grouping entry. But if you look at the list of classic rock songs there are matches. So now that I know I can set this filter folder I want to add a criteria that looks for matches in the Grouping field.
 

Inviato Tue 28 Jun 22 @ 9:29 pm
locoDogPRO InfinityModeratorMember since 2013
user made sidelists filters don't update live, they're only true when created.
 

Inviato Wed 29 Jun 22 @ 1:25 am
locodog wrote :
user made sidelists filters don't update live, they're only true when created.

I can understand that. But what I noticed is at bottom of sideview is a place to add shortcut to folders. So I decided to have my "Immediate Compatible" Filter Folder as a shortcut. So this script will actually be for a filter folder.

 

Inviato Wed 29 Jun 22 @ 1:41 am
Djratedxxx919 wrote :
locodog wrote :
user made sidelists filters don't update live, they're only true when created.

I can understand that. But what I noticed is at bottom of sideview is a place to add shortcut to folders. So I decided to have my "Immediate Compatible" Filter Folder as a shortcut. So this script will actually be for a filter folder.


+1

 

Inviato Wed 29 Jun 22 @ 8:04 pm
locoDogPRO InfinityModeratorMember since 2013
the only fields that update from track on deck are; bpm difference & key difference.
any other field would need a filter writing via plugin, or an unreasonable amount of bruteforce to cover every possibility.
Since you didn't get on with 'sticky', I'd say it's not viable currently.
 

Inviato Wed 29 Jun 22 @ 9:13 pm
locodog wrote :
the only fields that update from track on deck are; bpm difference & key difference.
any other field would need a filter writing via plugin, or an unreasonable amount of bruteforce to cover every possibility.
Since you didn't get on with 'sticky', I'd say it's not viable currently.


As it is I have to click on it to update it...and I'm ok with that. I just need the proper script to search the grouping field and collect matches. I have come to understand it doesn't auto update but I'm ok with that.

 

Inviato Wed 29 Jun 22 @ 10:12 pm
Djratedxxx919 wrote :
locodog wrote :
the only fields that update from track on deck are; bpm difference & key difference.
any other field would need a filter writing via plugin, or an unreasonable amount of bruteforce to cover every possibility.
Since you didn't get on with 'sticky', I'd say it's not viable currently.


As it is I have to click on it to update it...and I'm ok with that. I just need the proper script to search the grouping field and collect matches. I have come to understand it doesn't auto update but I'm ok with that.



+1
 

Inviato Sun 03 Jul 22 @ 2:25 am
SveninoPRO InfinityMember since 2009
Hey, I want to change the fontsize of the cuenames in the wave-window of the skin.
They are so small that I can´t read them when I´m performing on stage.
So I have to go to the skinfile and change maybe just a number, but WHERE?



I´m using the haunting pro touch-skin by Alex RDZ96.
Thanks in advance for any help

(I posted the question in the skin-area, but didn´t get any answer. Next Gig on Saturday...)
 

Inviato Wed 17 Aug 22 @ 2:21 pm
SveninoPRO InfinityMember since 2009
Solved!
In Skinfile there is the panel [panel name="defaultwave4deck"]
there under "Cue" the font can be changed or resized.
 

Inviato Thu 18 Aug 22 @ 11:37 am
mg_1978PRO InfinityMember since 2008
Hi! Why not yet add by VirtualDj team scripts about see in a monitor sample time remaining or sample time elapsed, when a sample is playing? i can see only with script sampler_position a sort of “time passage” when a sample is playing :( is there another solution??
thanks
 

Inviato Tue 20 Sep 22 @ 8:29 am
szemekPRO InfinityMember since 2019
Is it possible to select a deck by using value of variable?

What I want to do is to select "previous" deck. Here's a naive version
get_deck 1 ? deck 4 select : get_deck 2 ? deck 1 select : get_deck 3 ? deck 2 select : deck 3 select
 

Inviato Tue 20 Sep 22 @ 4:28 pm
Hi, I'll try here.
In the variable I have the text (name of the effect)
set_var 'DeckColorSelect' "Echo"

How do I change the colorfx effect with this variable?
filter_selectcolorfx '`get_text "ColorFXSelect"`'

doesn't work.

It is very impractical to do that
var_equal 'ColorFXSelect' '`get_text "Cut"`' ?
filter_selectcolorfx "Cut" :
var_equal 'ColorFXSelect' `get_text "Echo"` ?
.......
 

Inviato Thu 22 Sep 22 @ 8:24 am
Mirda Draxal wrote :
Hi, I'll try here.
In the variable I have the text (name of the effect)
set_var 'DeckColorSelect' "Echo"

How do I change the colorfx effect with this variable?
filter_selectcolorfx '`get_text "ColorFXSelect"`'

doesn't work.

It is very impractical to do that
var_equal 'ColorFXSelect' '`get_text "Cut"`' ?
filter_selectcolorfx "Cut" :
var_equal 'ColorFXSelect' `get_text "Echo"` ?
.......


Someone in the FB group answered it

In one combined script for testing:
set_var 'DeckColorFX' "Echo" & param_cast 'DeckColorFX' & filter_selectcolorfx
 

Inviato Thu 22 Sep 22 @ 9:24 am
56%