Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Button that cycles through the 5 colorwaveforms?

This topic is old and might contain outdated or incorrect information.

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'?

 

Posted 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
 

Posted 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.
 

Posted 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
 

Posted 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).
 

Posted 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 ?
 

Posted 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....
 

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

Posted 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.
 

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

Posted Mon 01 Dec 14 @ 6:25 am
 

Posted Mon 01 Dec 14 @ 7:03 am


(Old topics and forums are automatically closed)