快速登录:  

Forum: VirtualDJ Technical Support

话题: How to change pads bank on the scratch pad by the vdj script.

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

Hi, I can already change some pad page by vdj sciript as the below.

1) PAD_3_1(pad1 or padshift1 or selects "hotcues" padpage)
var '$p' 0 ? var '$l' ? var '$c' ? deck 1 pad_page "hotcues" : shift ? deck 1 padshift 1 : deck 1 pad 1 : var '$c' ? deck 3 pad_page "hotcues" : shift ? deck 3 padshift 1 : deck 3 pad 1 : var '$p' 1 ? var '$l' ? var '$c' ? deck 1 pad_page "hotcues" : shift ? deck 1 padshift 1 : deck 1 pad 1 : var '$c' ? deck 3 pad_page "hotcues" : shift ? deck 3 padshift 1 : deck 3 pad 1 : nothing

2)PAD_3_2(pad2 or padshift2 or selects "sampler" padpage)
var '$p' 0 ? var '$l' ? var '$c' ? deck 1 pad_page "sampler" : shift ? deck 1 padshift 2 : deck 1 pad 2 : var '$c' ? deck 3 pad_page "sampler" : shift ? deck 3 padshift 2 : deck 3 pad 2 : var '$p' 1 ? var '$l' ? var '$c' ? deck 1 pad_page "sampler" : shift ? deck 1 padshift 2 : deck 1 pad 2 : var '$c' ? deck 3 pad_page "sampler" : shift ? deck 3 padshift 2 : deck 3 pad 2 : nothing

3)PAD_3_3(pad3 or padshift3 or selects "scratch" padpage)
var '$p' 0 ? var '$l' ? var '$c' ? deck 1 pad_page "scratch" : shift ? deck 1 padshift 3 : deck 1 pad 3 : var '$c' ? deck 3 pad_page "scratch" : shift ? deck 3 padshift 3 : deck 3 pad 3 : var '$p' 1 ? var '$l' ? var '$c' ? deck 1 pad_page "scratch" : shift ? deck 1 padshift 3 : deck 1 pad 3 : var '$c' ? deck 3 pad_page "scratch" : shift ? deck 3 padshift 3 : deck 3 pad 3 : nothing

I want to know how to change pad bank on the scratch page by vdj script.
I know "pad_bank2".
But I dont know how to use, I read many documents in your site, forums.
However I could not found.
And I have asked about this, But previous support person misunderstood my question.

I have tried as the below.
deck 1 "pad_bank2"
deck 1 pad_bank2
deck 1 pad_page "pad_bank2"
deck 1 pad_page pad_bank2
deck 1 "pad_bank2" "true"
deck 1 pad_bank2 "true"
deck 1 "pad_bank2" 1
deck 1 pad_bank2 1

The above scripts did not work.
How can I chage pad bank????
 

发表时间 Tue 01 Oct 19 @ 5:27 pm
NicotuxHome userMember since 2014
pad_bank2 is a verb - it is an action by itself used to toggle visibility of pads 8 up to 16 or to query its status
pad_bank2
pad_bank2 on
pad_bank2 off
...
- it may need to enable the setting option "sixteenPadsMode"
- it may be used in conjonction with pad_has_16pads
- it is working the same way shift does - difference : shift can be overriden using padshift, pad_bank2 can be overriden adding 8 to pad number

yes some of your previous scripts would have worked but not the way you think about

select the scratch pad page:
deck 1 pad_page "scratch"

pads : scratch showing:
BABY SCR 1 - BABY SCR 2 - 1x Flares....

select bank 2:
deck 1 pad_bank2

pads : scratch showing:
BABY SCR 3 - BABY SCR 4 - 2x Flares ...

to reference the extra pads in scripts : they simply are pad 9, pad 10 .. pad 16 and padshift 9, padshift 10 ... padshift 16

something like this would work :

shift ? pad_bank2 ? shiftpad 9 : shiftpad 1 : pad_bank2 ? pad 9 : pad 1

 

发表时间 Tue 01 Oct 19 @ 7:31 pm
Hi Nicotux

Thank you for suggesting some...

However you all suggestion is not collect.

I explained as the below in my first post.

I have tried as the below.
>deck 1 "pad_bank2"
>deck 1 pad_bank2 <-------------------------I have tried this!!
>deck 1 pad_page "pad_bank2"

also I have tried your suggestion as the below.
I have tried as the below.
pad_bank2
pad_bank2 on
pad_bank2 off

However did not work.

And this explanation is so BAD infomation.
- it is working the same way shift does - difference : shift can be overriden using padshift, pad_bank2 can be overriden adding 8 to pad number

This is not collectry.
padshift N function on the "scratch" page is Edit pad N by the DNA editor.
Not add 8 to pad number.

So, does not work you script as the below.
shift ? pad_bank2 ? shiftpad 9 : shiftpad 1 : pad_bank2 ? pad 9 : pad 1

You all infomation is not correct !!!! Thank you~~~~~~~~~~~~~~~~~~~~~~www

I dont' need smart ass.
 

发表时间 Tue 01 Oct 19 @ 8:57 pm
I got answer by my self.

I have used new skin of VDJ2020(starter, essential, pro, performance).
These skins does not support 16 pads.
Just support 8 pads, so We can not change to pad bank on the scratch pad.
Old version skins supports 16pads and pad bank change function exsts.

So, I can change the pad bank by "pad_bank2 1" and "pad_bank2 0" command on the old skins.
 

发表时间 Tue 01 Oct 19 @ 9:51 pm
NicotuxHome userMember since 2014
Pads are pads, second bank are pad+8

What is wrong is "These skins does not support 16 pads." NO, it is only difficult to find how to show them because it's new skin
But at least performance skin does support 16 pads.


have to be activated in Pads16 in FX rack available and selected by FX
then second bank will show in PADS rack
 

发表时间 Tue 01 Oct 19 @ 10:39 pm
Hi Nicotux,

I found the 16 pads appear just "performance" layout mode and "Vertical" waveform display.
If we use other condition on the 2020 new layout, we can't change scratch pad bank.

Also, we can not change padbank by "pad_bank2" command even your suggested.
Because, it is just displays 16 pads in your suggested picture.

"pad_bank2" shold has the below function.
1) changes pad bank the bellow command.
pad_bank2 on
pad_bank2 off

After "pad_bank2 off" command is exetuced, Pad name is displayed to PAD 1-8.
After "pad_bank2 on" command is exetuced, Pad name is displayed to PAD 9-16.

2)changes PAD funcion.
PAD n

After "pad_bank2 off" command is exetuced, keeps n number.
After "pad_bank2 on" command is exetuced, n = n+ 8.

However, The above 2) did not work in your suggested pictures.
So, we can not control 16 scratch pads by actual 8 pads.

However If we prepare one valiable $scp, we can controll it.
1) PAD 1
var '$scp' 0 ? shift ? padshift 1 : pad 1 : shift padshift0 : pad 9

2) BUT_VERT_3
set '$scp' 0 & pad_bank2 0

3) BUT_VERT_4
set '$scp' 1 & pad_bank2 1

each PAD displayed text did not change and keeps pad bank 1 text even the above script.
Becausse, new VDJ 2020 skin does not support pad_bank2 command even your suggested pictures.

So, currently I gave up to use the new skin.
 

发表时间 Wed 02 Oct 19 @ 3:13 am


(陈旧帖子或论坛版块会自动关闭)