快速登录:  

Forum: VirtualDJ Skins

话题: Button that cycles through the 5 colorwaveforms?

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

I'd like to make a button which will cycle through the songpos waveform choices.

Is the only way to name each selection or can I use 'cycle'?

 

发表时间 Sun 30 Nov 14 @ 8:20 am
Dodge57PRO InfinityMember since 2009
you can use a variable with a cycle : cycle '$WAVECOLOR' 4

and 5 panels :
<panel id="color1" visible="var '$WAVECOLOR' 0">

<panel id="color2" visible="var '$WAVECOLOR' 1">

etc
 

发表时间 Sun 30 Nov 14 @ 12:14 pm
I'm talking about the 5 choices available in the config options.

coloredWaveforms = monochrome, neutral, ultra-blue, infra-red or per-deck. I'd like a button to cycle through those.

I know I can use action="setting 'coloredWaveforms' monochrome" for example to set a specific one, but I want to switch between all 5 with one button.
 

发表时间 Sun 30 Nov 14 @ 12:24 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
there is no cyclicng action for the setting, so all you can do is something like..
setting 'coloredWaveforms' 'monochrome' ? setting 'coloredWaveforms' 'infrared' : setting 'coloredWaveforms' 'infrared' ? setting 'coloredWaveforms' 'perdeck' ...etc
 

发表时间 Sun 30 Nov 14 @ 12:42 pm
OK thanks Babis - I think it would useful to have cycling, as it would easier to write the code (and for users to understand).
 

发表时间 Sun 30 Nov 14 @ 1:07 pm
FruitPRO InfinityMember since 2003
groovindj wrote :
it would useful [...], as it would easier


I assume that's a correct english sentence... What's the rule behind ?
 

发表时间 Sun 30 Nov 14 @ 2:20 pm
Oops, I missed out 'be' - twice! :-)

It would be useful to have cycling, as (or because) it would be easier to write the code....
 

发表时间 Sun 30 Nov 14 @ 2:53 pm
FruitPRO InfinityMember since 2003
Oh I thought it was a formula lol :)
 

发表时间 Sun 30 Nov 14 @ 2:56 pm
My brain is tired after staying up very late last night playing with XML. :-)

This is the result:


The original skin is Live Remix by DennYo, which had the decks on the left, one above the other.

I moved deck 2 to the right hand side, removed the rhythm waves, made the songpos waves narrower, moved three buttons from the popup 'settings' panel to the top bar and moved the other options to the area between the decks - so now there's no separate panel for settings.

It's now just a two deck skin and everything works nicely in VDJ 8. The 'wavecolor' button switches between the five songpos wave colours. :-)

I did this to use on my laptop which is 1280x800.
 

发表时间 Sun 30 Nov 14 @ 3:12 pm
FruitPRO InfinityMember since 2003
Release this bad boy right now ! >< (© LSL50)
 

发表时间 Mon 01 Dec 14 @ 6:25 am
 

发表时间 Mon 01 Dec 14 @ 7:03 am


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