I have a button/menu on my skin that show "short" names of the current realtime stems setting
My Menu: attention you must give a class
For your long name use for example:
other example:
setting stemsRealtimeSeparation 'Fully disabled' ? get_text 'OFF' : get_text `setting 'stemsRealtimeSeparation' & param_cast text 7 & param_uppercase`
My Menu: attention you must give a class
<menu class="[YOUREBUTTONCLASS]" fontsize="11" x="+6" y="+5" width="66" height="25" textaction="setting stemsRealtimeSeparation 'Fully disabled' ? get_text 'OFF' : get_text `setting 'stemsRealtimeSeparation' & param_cast text 7 & param_uppercase`" query="setting stemsRealtimeSeparation 'Always' ? on : setting stemsRealtimeSeparation 'On-Demand' ? on : off" visibility="var_equal '@$eventstem_23' 1">
<item text="Always" action="setting stemsRealtimeSeparation 'Always'" check="setting stemsRealtimeSeparation 'Always'"/>
<item text="On-Demand" action="setting stemsRealtimeSeparation 'On-Demand'" check="setting stemsRealtimeSeparation 'On-Demand'"/>
<item text="Prepared" action="setting stemsRealtimeSeparation 'Prepared'" check="setting stemsRealtimeSeparation 'Prepared'"/>
<item text="Reduced Quality" action="setting stemsRealtimeSeparation 'Reduced quality'" check="setting stemsRealtimeSeparation 'Reduced quality'"/>
<separator/>
<item text="Fully Disabled" action="setting stemsRealtimeSeparation 'Fully disabled'" check="setting stemsRealtimeSeparation 'Fully disabled'"/>
</menu>
For your long name use for example:
setting stemsRealtimeSeparation 'Always' ? get_text 'STEMS Always' : setting stemsRealtimeSeparation 'On-Demand' ? get_text 'STEMS On-Demand' : setting stemsRealtimeSeparation 'Prepared' ? get_text 'STEMS Prepared' : setting stemsRealtimeSeparation 'Reduced quality' ? get_text 'STEMS Reduced Quality' : setting stemsRealtimeSeparation 'Fully disabled' ? get_text 'STEMS Disabled' : nothing
other example:
param_add "`setting stemsRealtimeSeparation`" "get_text 'STEMS '"
发表时间 Mon 27 Mar 23 @ 5:03 pm
DennYo Beats wrote :
param_add "`setting stemsRealtimeSeparation`" "get_text 'STEMS '"
param_add "`setting stemsRealtimeSeparation`" "get_text 'STEMS '"
That little script was perfect for my needs, thanks.
发表时间 Mon 27 Mar 23 @ 5:43 pm
DennYo Beats wrote :
I have a button/menu on my skin that show "short" names of the current realtime stems setting
I forgot to say thank you for the details response, the other code snippets you included have given me more insight into vdj script & have already used your 'short name' code for a custom 'sort' button i have.
发表时间 Mon 27 Mar 23 @ 10:54 pm
hi at all.. i would map 2 deck buttons in my controller that set fx “pre” or “post” fader:
- button 1: setting “fxprocessing” “prefader”
- button 2: settinga “fxprocessing” “postfader”
but this change fx about all 4 decks…is there a script that change this only in deck focused? thanks!!
- button 1: setting “fxprocessing” “prefader”
- button 2: settinga “fxprocessing” “postfader”
but this change fx about all 4 decks…is there a script that change this only in deck focused? thanks!!
发表时间 Tue 04 Apr 23 @ 2:54 pm
no, pre/post is a global setting.
I made a volume plugin, if you use that as the last thing in the fx chain you can use post and still have volume control when you want pre
I made a volume plugin, if you use that as the last thing in the fx chain you can use post and still have volume control when you want pre
发表时间 Tue 04 Apr 23 @ 3:03 pm
hi…there is new script “stems_split”…is there a script for make same thing without stems separation? Like “Pioneer DuaDeck”…to control in deck 1-3 play, cue, hotcues, scratch at same time…thanks!!
发表时间 Sat 08 Apr 23 @ 10:25 am
After using stems_split you could enable the muted stems again to just have a cloned deck
发表时间 Sat 08 Apr 23 @ 11:58 am
Apologies if this has been asked before but I have a Video Skin and wanted to have text at the bottom of the screen that encourages people to use ask.the.dj.
I am using a textzone with different font sizes & wanted the text to align to the bottom or center of the text line itself however all the text is aligning to the top of the text line.
This is my code, I have looked at the skin wiki but I must be misunderstanding something because it doesn't work as all text is aligned to the top despite the wiki saying it would align center if nothing is specified.
<textzone group="horizontal" align="center">
<size width="1920" height="80" />
<pos x="+0" y="+0"/>
<text font="Helvetica" size="70" weight="bold" color="yellow" valign="bottom" format="ask me or visit "/>
<text font="Helvetica" size="80" weight="bold" color="white" valign="bottom" format="ask.the.dj"/>
<text font="Helvetica" size="70" weight="bold" color="yellow" valign="bottom" format=" for music requests"/>
<text font="Helvetica" size="60" weight="bold" color="yellow" valign="bottom" format=" (pls don't flood)."/>
</textzone>
I have discovered that If I put a 'valign' statement in the <textzone> line, the whole line of text will be aligned accordingly to either the top, center or bottom of the textzone item, altho it still aligns all text to the top of the text line, however this is not documented if I am reading the wiki correctly.
Anway if anyone can shed any light on what I am doing wrong I would greatly appreciate it.
I am using a textzone with different font sizes & wanted the text to align to the bottom or center of the text line itself however all the text is aligning to the top of the text line.
This is my code, I have looked at the skin wiki but I must be misunderstanding something because it doesn't work as all text is aligned to the top despite the wiki saying it would align center if nothing is specified.
<textzone group="horizontal" align="center">
<size width="1920" height="80" />
<pos x="+0" y="+0"/>
<text font="Helvetica" size="70" weight="bold" color="yellow" valign="bottom" format="ask me or visit "/>
<text font="Helvetica" size="80" weight="bold" color="white" valign="bottom" format="ask.the.dj"/>
<text font="Helvetica" size="70" weight="bold" color="yellow" valign="bottom" format=" for music requests"/>
<text font="Helvetica" size="60" weight="bold" color="yellow" valign="bottom" format=" (pls don't flood)."/>
</textzone>
I have discovered that If I put a 'valign' statement in the <textzone> line, the whole line of text will be aligned accordingly to either the top, center or bottom of the textzone item, altho it still aligns all text to the top of the text line, however this is not documented if I am reading the wiki correctly.
Anway if anyone can shed any light on what I am doing wrong I would greatly appreciate it.
发表时间 Sat 22 Apr 23 @ 4:05 pm
That align is left|right|center
valign is for cases of vertical text, like above but rotated 90degs
valign is for cases of vertical text, like above but rotated 90degs
发表时间 Sat 22 Apr 23 @ 4:16 pm
I see, thank you for pointing that out.
发表时间 Sat 22 Apr 23 @ 4:22 pm
There is also a command 'dy=' for padding text in a textzone, does that also only work for vertical text?
In essence, is there anyway to have a group of text items within a textzone align with themselves along the bottom of the line rather than the top?
In essence, is there anyway to have a group of text items within a textzone align with themselves along the bottom of the line rather than the top?
发表时间 Sat 22 Apr 23 @ 4:26 pm
in a Browser with many Songs, how to scroll exact in the middle with just one touch of a button?
Hi everybody, to reach the first song of a browser I use browser_scroll "top"
and to get to the end browser_scroll "bottom".
But how to come in the middle?
First we would need the number of all songs in that browser window. ($NmbOfSongs)
Then we had to divide this by 2 ($HalfNmbOfSongs)
Now we would move to the top ("browser_scroll "top")
And go down the needed number of lines with browser_scroll + "$HalfNmbOfSongs"
It's actually quite easy, but what's the syntax for it?
Any help is appreciated...
Hi everybody, to reach the first song of a browser I use browser_scroll "top"
and to get to the end browser_scroll "bottom".
But how to come in the middle?
First we would need the number of all songs in that browser window. ($NmbOfSongs)
Then we had to divide this by 2 ($HalfNmbOfSongs)
Now we would move to the top ("browser_scroll "top")
And go down the needed number of lines with browser_scroll + "$HalfNmbOfSongs"
It's actually quite easy, but what's the syntax for it?
Any help is appreciated...
发表时间 Wed 26 Apr 23 @ 4:24 pm
file_count is your number,
param_multiply 0.5 for half
param_cast 'integer' because file count could be an odd number and I don't know if browser scroll would work with a float
param_cast 'relative' as we need a signed value +/-
param_multiply 0.5 for half
param_cast 'integer' because file count could be an odd number and I don't know if browser scroll would work with a float
param_cast 'relative' as we need a signed value +/-
file_count & param_multiply 0.5 & param_cast 'integer' & param_cast 'relative' & browser_scroll
发表时间 Wed 26 Apr 23 @ 4:51 pm
By the way: Is there a variable that shows if a browser_sort is upwards or downwards?
I want to have a button lighting, if my browser is sorted by BPM.
I tried
But the pink color comes only, when the bpm is sorted upwards.
With reverse sorting the color is black.
Best option would be:
If I choose Browser sorted by BPM upwards, then the corresponding column in the browser gets green.
(Or the bpm-numbers inside of the column)
When it is sorted by BPM downwards, then the color of the column gets pink...
Would something like that be possible?
I want to have a button lighting, if my browser is sorted by BPM.
I tried
browser_sort "bpm" ? color pink : color black
But the pink color comes only, when the bpm is sorted upwards.
With reverse sorting the color is black.
Best option would be:
If I choose Browser sorted by BPM upwards, then the corresponding column in the browser gets green.
(Or the bpm-numbers inside of the column)
When it is sorted by BPM downwards, then the color of the column gets pink...
Would something like that be possible?
发表时间 Wed 26 Apr 23 @ 4:52 pm
locodog wrote :
file_count is your number,
param_multiply 0.5 for half
param_cast 'integer' because file count could be an odd number and I don't know if browser scroll would work with a float
param_cast 'relative' as we need a signed value +/-
param_multiply 0.5 for half
param_cast 'integer' because file count could be an odd number and I don't know if browser scroll would work with a float
param_cast 'relative' as we need a signed value +/-
file_count & param_multiply 0.5 & param_cast 'integer' & param_cast 'relative' & browser_scroll
Thanks Locodoc, this works fine. Just added browser_scroll top at the start.
By the way, its great to get the solution with explanations. Its a good way to learn...
发表时间 Wed 26 Apr 23 @ 5:03 pm
Svenino wrote :
By the way: Is there a variable that shows if a browser_sort is upwards or downwards?
see the browser_sort script definition, + or - as the first char of the field will give you specific sort order
browser_sort "+bpm"
发表时间 Wed 26 Apr 23 @ 5:13 pm
uups... got it now. Thanks
发表时间 Wed 26 Apr 23 @ 9:15 pm
Hello friends how are you? I hope I don't bother you, I want to check if you can help me with a script, what I want is to reproduce the event scheduler automatically, I already managed to do it with the keyboard omnit, automatically when opening the program the event scheduler opens but what I want the program to know what day of the week it is and the event of the day opens in the event scheduler, that is, if today is Monday, the program knows that it is Monday and the Monday event opens in the scheduler, I don't know if I know can
发表时间 Sat 20 May 23 @ 11:55 pm
This will give you a number between 0 & 6, zero = sunday
so imagining you have events named as the day of the week, then oninint could look something like this
I'll leave you to fill the rest of the days.
There are other ways this could work but it depends on how eventscheduler is configured.
set $day `countdown '2023/01/01 00:00' '%DD' & param_cast 'int_trunc' & param_mod 7`
so imagining you have events named as the day of the week, then oninint could look something like this
set $day `countdown '2023/01/01 00:00' '%DD' & param_cast 'int_trunc' & param_mod 7` & var $day 0 ? eventscheduler_start 'sunday' : var $day 1 ? eventscheduler_start 'monday' : var $day 2 ? eventscheduler_start 'tuesday' : ...
I'll leave you to fill the rest of the days.
There are other ways this could work but it depends on how eventscheduler is configured.
发表时间 Sun 21 May 23 @ 12:47 am
is it possible to fully disable split pages (without ´select split page none´)
my pads keep enabling the split mode over and over again
https://youtu.be/F8UAE8op7cg
something like
press button1 page1
hold button1 page1
sorry im a total newb to this
my pads keep enabling the split mode over and over again
https://youtu.be/F8UAE8op7cg
something like
press button1 page1
hold button1 page1
sorry im a total newb to this
发表时间 Fri 26 May 23 @ 2:21 pm